I am creating a photo gallery using jquery. I am taking and resizing the images on load to create thumbnails. I want to get the original value of the image's size so that later on I can take it back to its original size. Anyone know how to do this? I have the following code:
obj.find("img").each(function(){
});
This loops through all the images within the container div. I then tried to do:
$(this).width(); //didnt work
this.width; //didnt work
any ideas?