Image Manipulation Class

#1
[eluser]Suhas nazir[/eluser]
Hi All I am using Codeigniter Image manipulation class to resize my image .I just want to store the new resized image with the same name of the actual file name ,Right Now it creates an image with some other name ,How can i use the same image name for the newly resized image ???????

#2
[eluser]eoinmcg[/eluser]
are you passing $config['new_image'] when you're initializing the class?

from the userguide (http://ellislab.com/codeigniter/user-gui...e_lib.html):

Quote:Creating a Copy

The resizing function will create a copy of the image file (and preserve the original) if you set a path and/or a new filename using this preference:
$config['new_image'] = '/path/to/new_image.jpg';


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.