I have hunted all over for something like this.. but have not been able to locate it anywhere.. and I have failed horribly at trying to do it myself..
I'm looking for a simple script.. that via a form feald, allow someone to paste in a URL to an image (or two).. and on submit, it'll display the image(s) total(if more then one) file size, and pixel size, and say rather or not it's to big in either, or just right..
This is needed for my sites forum.. I'm allowing people to have a signature but it has to fall under a sellect file size, and over all width and height (had way to many issues with people posting HUGE images in their sigs.. or images with outrageous file sizes).. after asking a few members.. they agreed that a script that can tell them if the images they wish to use is to big or not.. it could help save people from having it disabled.. and for people who don't know how to tell the size of an image..
Roughly to give a better explanation..
Someone puts in addy http://something/file.gif (or jpg, or png)
site would return file size XXXkb, 000x000 pixels
Limit is such size, what you have is fine
or
what you have is over the allowed limit of such size.
more then one file display the same, only total file size of all the images.. and if possible add together the total height of each and display what it is..
width wouldn't matter.. but maybe something that warned one image is over the limit or something?
Please? This would help a lot of my users..
|