Hello all,
I have an image library on our intranet site that any employee can upload .JPG and .GIF files to. It auto-generates thumbnails on the fly when files are uploaded.
There are a few .JPG files that won't display when they are resized. The thumbnails display ok but when the user clicks on the thumbnail to view a larger (yet still scaled) image it doesn't display.
When I try to open the image in firefox it gives an error that says the image cannot be displayed because it contains errors. In IE it just shows a broken image ...
What'd I'd like to know is if there is a way to programmatically check an image for errors so that I can prevent corrupted image files from being uploaded?
Can this be done and if so ... how?
Many Thanks,
- VB Rookie