CodeIgniter Forums
Image libary - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Image libary (/showthread.php?tid=29546)



Image libary - El Forum - 04-13-2010

[eluser]Unknown[/eluser]
Hello,

Just currently doing a image resize method. I am wanting to read in a image already on server and resize it. However I would like to load image and get the image length and width.

Is there a way of loading a image using a code ignighter libary and getting the images diamensions please?


Image libary - El Forum - 04-13-2010

[eluser]danmontgomery[/eluser]
You can use getimagesize() to get image dimensions.