|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a site which allows users to upload jpeg images to a server.
Is there any way of checking the size of the image in coldfusion and not allow images beyond a certain size to be uploaded? Thanks peter |
|
#2
|
|||
|
|||
|
The server would not be able to determine anything about the file until it is uploaded, and then you could use the Java Advanced Image API or something like the Alagad Image Component. You might be able to check on the client using Javascript but I don't know for sure.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
Quote:
I found a free CFX extension on Macromedia's site that allows you to pull the image information on an image file. It also allows you to resize an image. That way you can upload and image of any size and have it automatically resized for you. |
|
#4
|
|||
|
|||
|
nice one
Quote:
Do you know what the cfx extension was on the macromedia site. Cheers Peter |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > image size |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|