Re: How to resize an image with php
From: Shawn Wilson (shawn_at_glassgiant.com)
Date: 12/19/03
- Next message: Jeffrey Silverman: "Re: How to differentiate multiple sessions?"
- Previous message: Juha Suni: "inserting code inside string, preg_replace help."
- In reply to: Giovanni: "How to resize an image with php"
- Next in thread: CountScubula: "Re: How to resize an image with php"
- Reply: CountScubula: "Re: How to resize an image with php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 19 Dec 2003 10:56:14 -0400
Giovanni wrote:
>
> I need to insert a resized image in a html page.
>
> I know that using the html IMG tag it is possible to set the height
> and width attributes, with no need of php (or server-side processing).
>
> But my problem is the following:
> I need to use the resized image as a table background - and
> unfortunately html doesn't support the resize function for image used
> as background !
>
> Is it possible to resize an image dinamically (on the fly) by using
> php ?
> Is it possible without having GD libraries installed ?
You can do it dynamically with GD. PHP doesn't have any built-in image
functions.
If you have ImageMagick (ImageMagick.org), you can use that too. And you may be
able to use GIMP, but I'm not sure.
Regards,
Shawn
-- Shawn Wilson shawn@glassgiant.com http://www.glassgiant.com
- Next message: Jeffrey Silverman: "Re: How to differentiate multiple sessions?"
- Previous message: Juha Suni: "inserting code inside string, preg_replace help."
- In reply to: Giovanni: "How to resize an image with php"
- Next in thread: CountScubula: "Re: How to resize an image with php"
- Reply: CountScubula: "Re: How to resize an image with php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|