Hi Michael,
Thanks for the suggestion.
However when I tried it, it caused my browser to go into a loop and the lightbox was not displayed at all. (well only a small black square with no photo). When I did "inspect element on Chrome" there were hundreds of javascript errors.
I think this is down to different WP Pretty Settings. What settings are you you using?
My settings were as follows :
- DISABLE Automatic replacement of all supported media types
- DISABLE Automatic replacement of image links (BMP, GIF, JPG, JPEG, PNG)
- ENABLE Show title (value of the links' ALT attribute) inside prettyPhoto box.
- ENABLE Allow the prettyPhoto box to be resizeable
With my settings the lightbox works fine - however as you correctly point out the galleries do not operate and neither are next and previous arrows displayed. This is not a good solution so I need to revert to your solution but also need instructions of what configuration is required to make it work.
One other thing
Wp Pretty photo uses the image alt and title tags the opposite way around to other lightboxes - it puts the Photo Title in the alt and the description in the title. The next version of Slickr Flickr will swap these around to WPpPretty photo will now support photos descriptions.