Using the img tag does not resize the image, it just forces it to display at the specified width and height.

You may want to look into imagemagick or the GD library for something like this.

Randal Rust wrote:
On 1/29/07, Dan Cech <[EMAIL PROTECTED]> wrote:

I'm not entirely sure what you're asking...can you give us a general
idea of what you're trying to achieve?

Sure. Take a look here:

http://r2test3.com/project_detail.php?rec=3

What I have done is used getimagesize(0 to get the original width and
height of the image. Then I modify those values proportionally with a
script I wrote and do this:

<img src="'.$url.'" width="'.$newW.'" height="'.$newH.'" />

The issue is that the images don't look as clear as I'd like them to
after resizing. I think they just need to be resampled.

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to