Image Alt/Title and Description
-
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.
The topic ‘Image Alt/Title and Description’ is closed to new replies.