About this topic

  • Posted by whinton 1 month ago. There are 6 posts. The latest reply is from byron.
  • This topic is not resolved
  1. Byron,

    Love this plugin. I'm getting close to getting this working on a test site (http://wp.sitebrew.net/?page_id=1422) . However, I am running into the following problem.

    1. I click on "Add Photo" and get the form to upload a photo.
    2. I select the photo and click "Submit".
    3. The loading image appears.
    4. Then the form closes without adding the photo.

    Any ideas what is going on here? I have integrated Galleriffic into my project courtesy of elizabethanne but I can't tell that any of that code is causing the problem. Any help would be greatly appreciated.

    Thanks!

    Will Hinton

  2. Hi Will,

    Yes, it's loading jquery twice. You'll probably need to tweak the gallerific plugin to stop loading jQuery or at least load it correctly.

    Here's a post that points to helpful articles:
    http://smashly.net/community/topic/cant-upload-images-add-photo-link-doesnt-work

    Cheers,
    Byron

  3. Bryon,

    I'm stumped. I do see that jQuery is loading twice.

    I am using a custom template from elizabethanne to load Galleriffic and it is loading jquery 1.3.2. I can stop jquery 1.4 from loading but then my page doesn't work. And if I don't load jquery.1.3.2, the Galleriffic plugin doesn't work. Any thoughts?

    Will

  4. Hmmmm...not sure why that would be unless it's got something to do with one using the $.() syntax and the other not.

    Might check with EA to see how she got it to work. I'd think that she would have had the same problem. I haven't used Galleriffic myself, although I really like it's functionality.

    BB

  5. @byron @whinton - i actually didn't have this problem, because i use the "add photos" link and it's working as designed, but i use it on a separate form page not on the galleries themselves. also, all of the wordpress jquery was 1.3.2 when i got mine working and i am not yet on 3.0 which i believe is the first to use 1.4.2.

    my suspect is the $ function too. i'm not hugely experienced in jquery but my experience has been that any time two jquery things work together on the same page they both can't use $, so one of the functions has to be renamed. i have had to do that before when loading two jquery sliding scripts on one page.

  6. That would explain it...if the form is on another page and you don't load the gallerific scripts on that page, then you're ok.

    You might be faced with going through Gallerific and changing the $ to jQuery, but unfortunately, you can't just do a mass find/replace. I've done it a few times before to get stuff to work.

    I'd recommend moving your Upload Form to another page as EA has done. It's probably a lot easier in the long run.

    BB

RSS feed for this topic

Reply

You must log in to post.