dynamically scale images in php jpg/png/gif
Posted
by Patrick
on Stack Overflow
See other posts from Stack Overflow
or by Patrick
Published on 2009-08-08T06:33:59Z
Indexed on
2010/05/08
10:18 UTC
Read the original article
Hit count: 167
Is there a simple way of dynamically scaling an image in php?
Id like to specifically use some kind of function where i can insert it into my heml such as
<img src=image.php?img=boss.jpg&width=500>
and of course it would then scale the image to whatever height constrains it to 500px wide
i appreciate all input, thanks.
EDIT does need to include jpg png and gif file types
© Stack Overflow or respective owner