Thanks for the tip, thats what i was lookin for, but i have installed this mod:
http://www.4homepages.de/forum/index.php?topic=3236.0
So the image displayed in details.html is a thumbnail, the real image is in the folder /big/ (with the same filename) , i need to get the resolution of that image.