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 resizing (dinamically?)

Print topic Send  topic

Author Message
iacpontormo

Posts: 3
Posted: 02/10/2006, 3:53 AM

Hi ! I' m new to ASP and I'm trying to create a site in this language thanks to Codecharge that is really great .

I have pictures on my site. The image appear fine on my site (they get the addres from my access database.

My problem is that my images don't have all the same size, and in codecharge you have to specify the width and height of an image. If I do so, all my images won't be proportional to the original size, they are going to be some kind of "distorted " (the resolution isn't fine). I don't know if it is possible to keep them to the original size but that wouldn't be a solution neither since my images are very large in their original size.

So, my question is : is there a way to resize each image in percentage ? To be clear is it possible to say , "reduce the picture by 50 % for example. Is it posible to dinamically resize the picture so that they would be proportinal to the original size.
Is there any ASP script that does this ?

I believe it is possible but I have no idea of how doing this !

Could anyone please help ?

Thanks very much in advance !

Iac
View profile  Send private message
Rene S
Posted: 02/10/2006, 4:31 AM

Try this search in forum. Not easy to answer.

http://forums.codecharge.com/forum.php?s_topic_name=image&forum_id=6

Rene
dragoon


Posts: 173
Posted: 02/10/2006, 6:44 AM

you can specify width and height of an image in percent also (this si basic HTML knowledge)

View profile  Send private message
Walter Kempees
Posted: 02/10/2006, 8:32 AM

and if you only specify the one OR the other then aspect ratio will not
change.
for instance original 1024x768
display widht=50%
should keep thing in order.
Otherwise check this out:
http://www.hotscripts.com/ASP/Scripts_and_Components/Im...tion/index.html



"dragoon" <dragoon@forum.codecharge> schreef in bericht
news:643eca6ea77369@news.codecharge.com...
> you can specify width and height of an image in percent also (this si
> basic HTML
> knowledge)
>
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

iacpontormo

Posts: 3
Posted: 02/11/2006, 12:03 AM

Hi! Thank you very much for all your replies.
Yes dragoon, in fact I should use simple html to do this (I never really learned html since I always used wysiwig editors and added small parts of html when I really needed it) but I can do that I believe !

I'll try all the things you said and check the link you gave me Walter.

Thanks again very much !

Iac
View profile  Send private message

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.

Web Database

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.