• Resolved psamathe

    (@psamathe)


    Installed, checked options (ALL OK) and works for a single image but with a [gallery] I just get the standard WordPress gallery displayed.

    I’ve had a scan through the source but don’t really know php or WordPress enough to spot anything.

    Checking the “Imspect element” and the jquery.fancybox.min.js and jquery.fancybox.min.css have been downloaded.

    • This topic was modified 7 years ago by psamathe. Reason: Additional information
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author w3dev

    (@w3dev)

    Hi, can you post your website URL so we can take a look?

    Thread Starter psamathe

    (@psamathe)

    Ignore the posted comment below as I’ve switched the site to fancyBox 3 as detailed in the next post.
    I’ve switched back to the previous gallery plug-in as I intensely dislike the built-n WordPress one.

    Does my capturing the html help (e.g. from Firefox or a Safari .webarchive (either of which I can post somewhere i.e. I’ll switch to fancyBox 3, collect the data then switch to prev gallery lug-in. (prev gallery plug-in also works on wordpress standard [gallery] shortcode).

    • This reply was modified 7 years ago by psamathe. Reason: Updated info in following post
    Thread Starter psamathe

    (@psamathe)

    Switched back to fancyBox 3 as keen to get fancybox working (and if you use free software, least you can do is help if there should be issues).

    Site is psamathe.eu though not all posts have galleries. Example post with gallery is
    The WordPress “source” for that page is

    Breeding time at Horsey, Norfolk
    [gallery]

    Another gallery page is target=”_blank”>
    And for that page WordPress “source” is
    [gallery]
    (that is all).

    Site does have a cashing plug-in but I’ve always deleted the cache after changing gallery (the previous gallery that would previously been in the cache was a SwipeBox one). So you might find some other pages a bit slower to load as they will not be cashed yet.

    • This reply was modified 7 years ago by psamathe.
    • This reply was modified 7 years ago by psamathe.
    Plugin Author w3dev

    (@w3dev)

    Hi, I see the problem with your galleries. You just need to modify the gallery shortcode so that the thumbnails are linking to the media files rather than the attachment URL. So inside your shortcode, please set it like so:

    [gallery link="file" ids="14,12,10"]

    Thread Starter psamathe

    (@psamathe)

    Normally my posts just use gallary shortcode that adds all media that are attached to the post. Does this not work with fancyBox 3 for WordPress?

    Some of my gallaries have loads of images in so massive effort to explicitly add the IDs

    • This reply was modified 7 years ago by psamathe.
    Plugin Author w3dev

    (@w3dev)

    You can omit the ids="" portion, but you definitely need to add the link="file" part or else it will not link to the images directly.

    Thread Starter psamathe

    (@psamathe)

    Many thanks.

    Previous SwipeBox gallery plug-in was working with just [gallery] but seems unaffected by [gallery link="file"]. Not that the previous gallery is terribly important now I’ve changed to fancyBox 3, but the reason I’ll only use gallery plug-ins that support the standard WordPress gallery shortcode is so I can change plug-in/gallery if needed. Many of the popular gallery plug-ins have their own shortcode which means if you every want to change (for any reason) you have a massive amount of work to do! Hence I stick to those using standard WordPress [gallery] shortcode.

    Might be worth mentioning the link=”file” in the installation notes and, if possible in some future version enhance to support just [gallery] (i.e. without the “link=”file”) – certainly some other plug-ins work file without the link=”file” – but thats a future enhancement request NOT a support question.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Gallery Not Working (Images are working)’ is closed to new replies.