<s>I guess once an image is dropped into the list I could filter the subsequent searches by only showing if they have same ratio. Might be very limiting given this is a pretty crude tool and only grabs 200 photos for a word, might slow things down a bit?
Or have the images in the final show ‘crop’ to the smallest size, letter boxing the biggest. Food for thought. The jumping about is certainly off putting at the moment. </s> <strong>I’ve updated the code to either align the images or to ‘letterbox’ them. I’ll update the post in a while.</strong>
As to adding audio to gifs the same sort of process would work. Scrip to show a static image would swap out for a gif when clicked and then play a sound (gif and audio preloaded).
The wonderful thing about freesound.org is that they provide both mp3 and of versions of uploaded files making playing the audio on most modern browsers easy.
Just yesterday I was lamenting the fact that the GIF file format doesn’t support sound, and today you’ve shown me a fantastic proof of concept of exactly what I was imagining! Is there a way to select only images that have the same size to improve the appearance of the animation?