Dynamically resize an image

A

Anonymous

Guest
Trying to get a picture to appear on screen, resized to a width 128.
Code:
Trying to get a picture to appear on screen, resized to a width 128.

echo '<img src="image.php?img_url=<?=base_64_encode("'.$path.$match["photoname"].'"?>&width=128'>

I get no errors, but no picture appears either
This one works albeit not resized.

echo '<img src="'.$path.$match["photoname"].'" />';
I don't really want to have a directory of already resized thumbnails

VMT
 
Back
Top