Site URL: http://www.maddieparkerphotography.com/
I have been using the following code for a number of years. I'm a photographer that uploads a number of images into a gallery. By using this code, it usually saves me a lot of time by displaying the image name/titles underneath (rather than me having to go through and individual type in each title for each image). Up until today, it's decided not to work anymore. I usually place the code at the bottom of an individual page underneath the uploaded gallery.
This is the code:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script>
$('.slide img').each(function(i) {
$('.image-slide-title').eq(i).html('' + $(this).attr('alt').replace('.jpg', '') + '');
});
</script>
However it no longer works. Please does anyone have a new code that still works please? Or anyone that is good at coding that could help me alter mine to work? I'm really not very good at coding so don't know what to do.
Thanks