[PHP-DB] - Resizeing Images stored in mysql db

2004-02-16 Thread Nikos Gatsis
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

Re: [PHP-DB] - Resizeing Images stored in mysql db

2004-02-16 Thread Nikos Gatsis
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

Re: [PHP-DB] - Resizeing Images stored in mysql db

2004-02-16 Thread Ricardo Lopes
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

Re: [PHP-DB] - Resizeing Images stored in mysql db

2004-02-16 Thread Nikos Gatsis
] 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

Re: [PHP-DB] - Resizeing Images stored in mysql db

2004-02-16 Thread Ricardo Lopes
] 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