Автоматическое конвертирование фото по бОльшей стороне

What is this about?

 Have photos from your camera and want to share them online, but in a way that leaves you some webspace and those people who want to see them some bandwith? This linux script batch converts all images in the current directory to 640 times 480 (or 480x640, as appropriate), but you can of course easily modify this target size. Everything very basic, though I could not find a ready script online.
 If you don't have an automatic slideshow script yet you might want to use this one.

The batch conversion script