Welcome Guest, Not a member yet? Register   Sign In
Image Manipulation Class

[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 ???????

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';

Theme © iAndrew 2016 - Forum software by © MyBB