CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 image width,height restrict

Print topic Send  topic

Author Message
Rene S
Posted: 05/24/2005, 11:01 AM

Hi,

Is there a way to restrict the widht and/or height of an image when I use ASP/VBScript upload control. I would like to check that an image does not exceed 320 by 560 pixels before it gets uploaded. Any help is very much appreciated.

TIA,

Rene
A very happy CCS user
ryan

Posts: 41
Posted: 05/24/2005, 6:34 PM

just accept the image as it is then on your display then input the image width and height

<img src="{linkimage}" width="320" border=0 height="560">
_________________
(\__/)
(='.'=)
(")_(")
View profile  Send private message
Rene S
Posted: 05/25/2005, 12:21 AM

Hi Ryan,

Thanks for your response. The problem with the solution is that it then always makes the image that size, even if its smaller. Can you provide a solution for a "maximum size"? statement: if smaller ok, if bigger use your solution.

Thanks alot,

Rene
Tuong Do
Posted: 05/25/2005, 10:43 PM

Hi Rene,

You might have to use the component from
http://www.aspjpeg.com/
to resize the image on the flight



<ReneS@forum.codecharge (Rene S)> wrote in message
news:642936bfef41f6@news.codecharge.com...
> Hi,
>
> Is there a way to restrict the widht and/or height of an image when I use
> ASP/VBScript upload control. I would like to check that an image does not
> exceed 320 by 560 pixels before it gets uploaded. Any help is very much
> appreciated.
>
> TIA,
>
> Rene
> A very happy CCS user
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.