Deeplink not updating URL
  • On my portfolio website (www.kyleromano.com) I want users to be able to bookmark specific picture URLs through deeplinks, however deeplinking does not appear to be working.

    I have explicitly enabled it in the init script (deeplinking: true) but at best the URL becomes http://kyleromano.com/#!prettyPhoto

    I suspect it is because of how I'm building my galleries through a script and then calling them via an API call link from a single thumbnail.

    Does anybody have any further information or suggestions for a workaround?
  • your suspicion is correct. Try to initiate your default value like this :
    $.prettyPhoto({deeplinking:true})
    instead of
    $("a[rel^='prettyPhoto']").prettyPhoto({deeplinking:true})

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!