If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I would like to alter the code so that when you click on the Preview Image I would like also to be able to scroll through the other images that are on the pages. I am sure there must be a way to do this, though I don’t know how.
The code for the preview located on the single.php is:
to your image links within the post.
I.e. the code would look like:
<a rel="lightbox[grouped]" href="http://www.kriesi.at/themes/newscast/files/2010/03/content_pic1.jpg" title="Apple rebrands" >
<img src='http://www.kriesi.at/themes/newscast/files/2010/03/content_pic1-180x180.jpg' alt='' title='Apple rebrands to Banana!' height='180 ' width='180' />
hmmmm… that seemed a little too easy…. That worked liked a charm… Thanks a bunch… ;-)
so this has worked out great,…. is there not anyway to get it to do it automatically when i add an image. it seems cumbersome to have to add this code manually every time i add an image to the page.?!?!?!
You can try plugins like: http://wordpress.org/extend/plugins/add-lightbox-title/ to add the rel attribute automatically.
The topic ‘Lightbox to Show Preview Image AND other images on Post’ is closed to new replies.