Welcome Guest, Not a member yet? Register   Sign In
Image resizing
#1

[eluser]oldrock[/eluser]
Hi ..,

I want to resize the image in my webpage while displaying to a fixed size for all images and more i am going to fetch the images from a particular folder , so i have a option to use image library in code igniter, so how to print an image using that library.
#2

[eluser]mi6crazyheart[/eluser]
Sorry, i couldn't able to understand what u exactly wanted to ask but i think... u want to upload image & resize those images. If it is that then, follow these links...

File Uploading Class: http://ellislab.com/codeigniter/user-gui...ading.html
Image Manipulation Class: http://ellislab.com/codeigniter/user-gui...e_lib.html
#3

[eluser]oldrock[/eluser]
Hi..,

i actually got images stored in a folder on my sever all of are different shapes and sizes. i want all images to be displayed in a same fixed width and height in my web page so i need to resize the image for that.

thanks regards
#4

[eluser]Nick_MyShuitings[/eluser]
Two options:

run a script that will loop through them all and resize them using PHP, you'll need to play with the directory helper and the upload resizer functions.

or - use a script like timthumb.php to do all that work for you... and just worry about hard resizing the future images.




Theme © iAndrew 2016 - Forum software by © MyBB