Re: [PHP] Finding the height of a JPG in pixels using PHP

2003-04-05 Thread De deco
You can use getimagesize on a jpg file to read its size, so either save the jpg in MySQL to a file and then do a getImageSize, or before you place the jpg in to the database read its size and store its dimensions with it in the db. I disagree with Andrew. In my humble opinion, I don't think you

Re: [PHP] Finding the height of a JPG in pixels using PHP

2003-04-05 Thread Andrew Brampton
You can use getimagesize on a jpg file to read its size, so either save the jpg in MySQL to a file and then do a getImageSize, or before you place the jpg in to the database read its size and store its dimensions with it in the db. Andrew - Original Message - From: "Phil Schwarzmann" <[EMA