novice_coder Posted February 5 Share Posted February 5 I have tried to find the option and scanned the jgallery-1.6.0.js code and only found where to add the alt, but can not see where I get the data to include. Line 2060 of the Jgallery script is where I added the alt tag, but can not see how I add the alt data from the $a array/object. I think I am right in that the $a.attr is created somewhere but so far not found where so I can add to it the alt object. Please can someone take a look and suggest where it could be. Or is there an 'option' that I need to turn on or off to allow the alt to be inserted in the main image, it shows in the thumbnails. TIA jgallery-1.6.0.js.txt Quote Link to comment https://forums.phpfreaks.com/topic/317690-jgallery-160-can-not-find-option-to-have-the-alt-included-in-the-source-code/ Share on other sites More sharing options...
requinix Posted February 5 Share Posted February 5 Where is this "jgallery" coming from? Quote Link to comment https://forums.phpfreaks.com/topic/317690-jgallery-160-can-not-find-option-to-have-the-alt-included-in-the-source-code/#findComment-1614756 Share on other sites More sharing options...
novice_coder Posted February 6 Author Share Posted February 6 https://github.com/jakubkowalczyk-pl/jgallery/releases/tag/v1.6.2 I tried to google the original version with no luck, but the above link is the next updated version with minor fixes. Quote Link to comment https://forums.phpfreaks.com/topic/317690-jgallery-160-can-not-find-option-to-have-the-alt-included-in-the-source-code/#findComment-1614791 Share on other sites More sharing options...
requinix Posted February 6 Share Posted February 6 What's your code to make use of this? It seems like you simply set an alt on your IMGs... Quote Link to comment https://forums.phpfreaks.com/topic/317690-jgallery-160-can-not-find-option-to-have-the-alt-included-in-the-source-code/#findComment-1614808 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.