CodeIgniter Forums
resize images in view?, no thumbs - 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: resize images in view?, no thumbs (/showthread.php?tid=10074)



resize images in view?, no thumbs - El Forum - 07-17-2008

[eluser]Asinox[/eluser]
Hi, i want to know if is possible to resize images in the view?

how i will do that?

Thanks


resize images in view?, no thumbs - El Forum - 07-18-2008

[eluser]hvalente13[/eluser]
Hi Asinox,

Try this link

http://www.vivaolinux.com.br/scripts/verScript.php?codigo=954

It's in portuguese, but i think you can handle it.

Download the zip file and then you can include that file and use it like this:

Code:
<img src="/path/to/thumbnail.php?gd=2&src;=/path/to/image.EXT&maxw=200">

Or if you want search the CI wiki for thumbnail. There's a thumbnail class made by joeles.

Give it a try.


resize images in view?, no thumbs - El Forum - 07-18-2008

[eluser]Asinox[/eluser]
Thanks man Smile