Home Forums Add-ons Gallery Field Return Media file not Attachment Page Reply To: Return Media file not Attachment Page

  • Hmm, I’m not sure that helps me. I tried swapping out $image_ids for $images etc but got the same results. I shouldn’t need to alter any HTML. I’ve integrated fancybox into the WP Gallery via my functions.php file, so on normal pages the WP Gallery acts like fancybox right out of the box.

    It’s only when WP Gallery is called using this add-on that clicking a thumbnail opens the attachment page rather than the media file in a lightbox.

    Thanks for your help anyway 🙂 I’ll keep looking…