getting image dimensions |
[eluser]sophistry[/eluser]
Here you go... it's your birthday today so I went to the PHP site and I searched on get image size and, what do you know? I found a function called getimagesize(). pretty cool, huh? http://us2.php.net/manual/en/function.getimagesize.php good luck in your future PHP manual searches. please be sure to share your learnings with us! As you so kindly requested, I also looked in the CI codebase for you and found that the Image Library does indeed have a function (undocumented) that can get you the data too. But, you probably don't want to rely on undocumented features... they might change. Code: // -------------------------------------------------------------------- Cheers. |
Messages In This Thread |
getting image dimensions - by El Forum - 07-02-2007, 03:45 PM
getting image dimensions - by El Forum - 07-02-2007, 08:14 PM
getting image dimensions - by El Forum - 07-03-2007, 04:58 AM
|