Jump to content

One about pictures for you!


masgas

Recommended Posts

Hi! I'm trying to resize picture in a new window!
I get the image from the DB and I am able to display it in another window simply by doing this:



echo "<img src='".$row["image"]."' width='60' height='42'><br><a href='enlarge.php?image=".$row["image"]."'>large</a></td> \n";

and in the new window:

echo "<table width='50%'><tr><td><img src='$image' border='0'></td></tr></table>";

I would like to resize the picture in the new window because some of the originals are very big! Do you know what to do?
Link to comment
https://forums.phpfreaks.com/topic/8750-one-about-pictures-for-you/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.