Missing img alt tag in slideshow
-
First, great plugin! However it seems to miss putting in the alt tags for each image on a slideshow. I have been rooting around in the code and was looking at line 621 of where it appears its stepping through the image tags and assigning a src to the img tag in the galleryview output. I changed the line to
.attr({ src: gvImage.src.frame, alt: gvImage.attrs.title });
in an attempt to also add the alt tag but it does not show up in the output HTML. It appears (using the Chrome developer tools) that my code is valid, but without understanding the entire file (yet) I am at a loss. Someone better at JavaScript may be more of a help! I will keep digging around in the code to see if I can figure out how to get the alt tag into the output, but if anyone has a great idea, please let me (and everyone else) know!I’m using v1.3.1 and have made the following changes from default:
panel_animation: ‘fade’,
panel_scale: ‘crop’,
enable_overlays: false,
show_overlays: false,
show_filmstrip: false,
show_infobar: false,Thanks!
- The topic ‘Missing img alt tag in slideshow’ is closed to new replies.