Hi i have like 1000 images on my site and they are spread into galleries that are like 20 images each. now when you click image it does open image post page with thumbnail, then it opens image, what i want is make it work when you click image in gallery it should just start modal box like lightbox, graybox etc with that image.
Or if possible have "prev", "next" buttons to see other images in gallery.
I cannot afford editing 1000 images it will take ages so i am looking for any solution. Thanks.
So far i am doing this image.php file inside root template folder and it has this code <?php wp_redirect(wp_get_attachment_url(get_post_thumbnail_id($post->ID))); ?>
using this it only opens image without lightbox it does not work with any lightbox plugin i tried.