prettyPicture will not load in Omeka (CMS)
  • Hi, I'm trying to incorporate prettyPicture into an Omeka-based website (omeka.org). In the past I have had no issues adding Lightbox, etc. but I cannot get prettyPicture to load. I've tried just about everything I can think of. Adding the scripts via direct and relative hrefs, via Omeka theme functions, moving around and editing the initializing script, etc but am having no luck.

    My sandbox site is here: http://137.148.49.110/public/sandbox/items/show/3023

    Any help would be greatly appreciated.

    Erin
  • Hi,
    first jquery is called three times with different versions on your site not a good idea,
    then there are lots of possibly conflicting other scripts there.
    You might try to invoke pP with one of several no confilct method e.g:

    $(document).ready(function($){
    $(".gallery a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
    });

    here are other examples for no conflict:
    http://docs.jquery.com/Using_jQuery_with_Other_Libraries

    best regards
    bee

Howdy, Stranger!

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