I made a script for viewing photos on my webpage. There's a list of thumbnails and one main picture. Upon selecting a thumbnail, the src attribute of the main image updates. The problem is that the image data don't get off memory when a new image is requested, so when the pictures are big, it is very easy to go out of memory. Is there perhaps a way to cause the no-longer-displayed images to be freed from memory?
The page is here: http://www.sixtease.net/photos/
This is my first post here, thank you for having me. :-)