Jump to:

3392 Posts in 976 Topics by 852 members

Template Questions

SilverStripe Forums » Template Questions » Problems with PrettyPhoto using inline option for links

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

Page: 1
Go to End
Author Topic: 1979 Views
  • lucksc
    Avatar
    Community Member
    1 Post

    Problems with PrettyPhoto using inline option for links Link to this post

    I've uploaded the PrettyPhoto files and have everything working with the exception of using inline content (http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/) 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!

  • ocean
    Avatar
    Community Member
    37 Posts

    Re: Problems with PrettyPhoto using inline option for links Link to this post

    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

    1979 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.