Gallery Problems

Support Area Forums Foundation Gallery Problems

Viewing 7 posts - 1 through 7 (of 7 total)
URL to the page in question: http://lionscrappiecontest.org/2014_crappie_contest_gallery/
  • Author
    Posts
  • #19033
    Cortney Naab
    Participant

    When you visit either of my gallery pages http://lionscrappiecontest.org/2014_crappie_contest_gallery/ or http://lionscrappiecontest.org/2014-magic-night-gala-gallery/ they work great… until you try to leave or close a picture you opened. Then I get an error that says “you have to specify size. Add ? lightbox……… at end of url”. I have no idea what it means or how to fix it but we have about 150 people a day going to the site and would really like it to work correctly. Please let me know if you think you can help.

    #19035
    Bill Robbins
    Moderator

    Hello Courtney,

    Sorry for the trouble there. When you’re creating a WordPress gallery, there’s an option to choose what the thumbnails link to. Make sure to choose to have them link to the file instead of the attachment page. That should let the images open up in the lightbox like they should instead of giving the error message.

    If you have any trouble, let me know.

    Thanks,
    Bill

    #19036
    Cortney Naab
    Participant

    Bill,

    I did change it to the attachment but still have the problem. It even says it if you try to click on another page in the menu.

    #19037
    Cortney Naab
    Participant

    Bill,

    I did change it to the attachment but still have the problem. It even says it if you try to click on another page in the menu from the gallery page.

    #19038
    Bill Robbins
    Moderator

    Sorry about that. Here’s a change that’s part of the next theme update. You can go on and make it and that should help here.

    1. Go to the Appearance section in your WordPress control panel and select Edit.
    2. From the list of files on your right, choose custom-js.php
    3. Find this spot:
      
          		jQuery('.gallery a').addClass('lightbox');
          		jQuery('.gallery a').attr('rel', 'gallery');
      

      and change it to this:

      
      jQuery('div.gallery a').attr('rel', 'gallery');
      jQuery('div.images a').attr('rel', 'gallery');
      
    4. Save your changes.

    See if that doesn’t make a difference for you. Let me know if you have any trouble.

    #19040
    Cortney Naab
    Participant

    That worked great. Thank you

    #19041
    Bill Robbins
    Moderator

    Fantastic. Have a great day Courtney and let me know if you need anything else.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Gallery Problems’ is closed to new replies.