Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Problems with PrettyPhoto using inline option for links

Go to End

2 Posts   3016 Views


Community Member, 1 Post

19 November 2010 at 9:36am

I've uploaded the PrettyPhoto files and have everything working with the exception of using inline content ( on my page. When I click on the link to display the inline content I receive "Image cannot be loaded. Make sure the path is correct and image exist." If I try to use other features like the gallery or iframe options then those appear ok. Has anyone else experienced any problems with this? My guess is that it's a problem with the anchor tag having the page url assigned prior to the #. Any help would be greatly appreciated. Thanks!


Community Member, 37 Posts

19 May 2012 at 4:37am

Same issue here...

All I can see that is different in terms of the elements is a forward slash inserted before the ID reference, so instead of anchor reading href="#inline-1" it is href="/#inline-1" as rendered by silverstripe.

Not sure if this is causing the error with prettyPhoto, or how to turn that forward slash off?

Would appreciate a solution also.

Best wishes
~ Sean