• Resolved Tomperys

    (@tomperys)


    Hi

    I noticed that fancybox don’t show title in all images in gallery.

    Now one weird thing is that when I upload the photos, the Alt/Title is automatically filled in the backend according to filename, for example as P9173479 if the filename is P9173479.JPG but ist not just “P9173479” that appear in the backend in Alt/Title, there are several (like 8) empty space characters so its “P9173479 “.

    Second thing is I use “FancyBox for WordPress” (https://ww.wp.xz.cn/plugins/fancybox-for-wordpress/) because I want to load images from WP and the Gallery to one fancybox only. I added ‘title=”‘.$image_row->description.'”‘ into the BWGViewThumbnails.php in row 444 and it works. It show the text that is filled in “Description” in the backend. But for some reason there are photos that will not show the title and I have no idea why… I tried add most basic text to the Description like “blabla” and its not visible. Desctiption from the next photo from same gallery is showing just OK. In the source code of the image where the title is not showed is “<div id=”fancybox-title” class=”” style=”display: none;”></div>” and the next image with title visible is “<div id=”fancybox-title” class=”fancybox-title-inside” style=”display: block; width: 300px; margin-left: 10px; margin-right: 10px;”><div id=”fancybox-title-inside”>Vřes</div></div>” …. So it looks like the title for the first image is not loaded to the source code but why??? One is working and one not.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Tomperys

    (@tomperys)

    One new discovery… the problem is only in case when the file is .jpg and not .JPG so if the filename has lowercase extension .jpg the title is not visible but if the extension is uppercase .JPG the title is vissible

    Sona

    (@support-web-dorado)

    @tomperys,

    The issue might be related to the Fancybox integration. Note that the plugin is not intended for Fancybox integration and thus it might have conflicts with image title display when you try adding them. Note that we cannot help you out with this, since fancybox normal display might require further modifications. Thanks.

    Thread Starter Tomperys

    (@tomperys)

    Yes I know, I already figured it out so its working just fine.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Image Alt/Title and Description’ is closed to new replies.