I have a webform that a client uses to submit a property listing to our property web page. In the process he uploads his photo of the property - all this I have done correctly including to test whether its a .jpg or .gif file.
I have a problem however in that I can only allow a photo of size 150x150 pixels.
1 How can I test the image file that the client uploads to see whether it is indeed 150x150.
2. Even if he uploads an image file of the wrong size - how can I resize it in my image control, be it a hyperlink or image control. I am using a hyperlink control.
Thanks.
PK Odendaal
I have a problem however in that I can only allow a photo of size 150x150 pixels.
1 How can I test the image file that the client uploads to see whether it is indeed 150x150.
2. Even if he uploads an image file of the wrong size - how can I resize it in my image control, be it a hyperlink or image control. I am using a hyperlink control.
Thanks.
PK Odendaal