Hello list
I store images in a mysql table and use then in a web site.
Is possible to change the size of these images;
Following the code I'm allredy use.
$query=SELECT photoxl FROM books WHERE books_id = '$books_id';
$result=mysql_db_query($database, $query, $conn) or Die
PROTECTED]
Sent: Monday, February 16, 2004 6:56 AM
Subject: [PHP-DB] - Resizeing Images stored in mysql db
Hello list
I store images in a mysql table and use then in a web site.
Is possible to change the size of these images;
Following the code I'm allredy use.
$query=SELECT
Subject: Re: [PHP-DB] - Resizeing Images stored in mysql db
Hi, the only thing you need to do, is to add a varible where you specify
the
width and the height of the pics. then add the var in the query. This to
be
parsed not just as a img src=.. but as img src=... width=...
height=..., so
]
Sent: Monday, February 16, 2004 4:41 PM
Subject: Re: [PHP-DB] - Resizeing Images stored in mysql db
To know the size of the images you could use a library like GD or
something
like that.
You can also store one big image in your database and use the graphics
library to create a temporary
]
Cc: PHP DB [EMAIL PROTECTED]
Sent: Monday, February 16, 2004 4:41 PM
Subject: Re: [PHP-DB] - Resizeing Images stored in mysql db
To know the size of the images you could use a library like GD or
something
like that.
You can also store one big image in your database and use