So i made a blog with posts with image galleries, and i would like to make the featured image lightbox full size instead of the smaller size it is now. I already did this with the images in the gallery, but i haven't found a working function for the featured images on the single post pages..

I did try changing the Settings>Media image sizes, but that didn't work out.

full size function for the image gallery:

function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta){
    $link = wp_get_attachment_image_src($attachment->ID, "full");
    return $link;
add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4);

Anybody know how to fix this? Thanks!

  • This is probably something that is best asked from the theme developer, if you're using a 3rd party theme, as they have the best knowledge on how the theme handles the featured image size. – Antti Koskinen Mar 19 at 18:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.