• Hi,

    I activated Deeplinking and created the links to the data-hash. Great!!
    But the data-hash div of the first image is empty:

    <div class=”foo-item” data-hash=””>

    and then the alt of the first image generates the data-hash of the second.
    The second alt goes to the third data-hash and so on.

    A great plugin!! I will use it forever!!
    But can you take a look to this bug, please?

    https://www.ads-software.com/plugins/foogallery-owl-carousel-template/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    This sometimes happens when an empty <p> tag gets added inside the gallery due to WordPress’ autop function. How exactly are you outputting the gallery? From a text widget? Inside the post editor?

    Let me know and we’ll find a solution. Thanks!

    Thread Starter nandroid

    (@nandroid)

    Hi,

    See: https://n15.nandroid.com/

    See the generated code that doesn’t fit the image alt with the data-hash.

    Thank you!!

    Thread Starter nandroid

    (@nandroid)

    Hi, if you see now:

    https://n15.nandroid.com/

    you will find that the thumbnails work.

    That’s why I linked each thumbnail to the previous image of the one I really want, as the script does.

    A little bit mad…

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    OK, the data-hash is generated from the Title of the image. I might try deleting that image from your Media Library completely, re-upload it and make sure there are no strange characters in the title at all.

    Let me know how that goes.

    Thread Starter nandroid

    (@nandroid)

    I ordered the images in the gallery some times.
    It always happens to the first of the images in the gallery, that has no data-hash.

    Finally now I have removed every image in the gallery and uploaded them. There are only uppercase and spaces in the title.

    The problem is still the same.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The data-hash div of the first image is empty’ is closed to new replies.