How hard can it be? |
[eluser]frietkot[/eluser]
Hi, I'm searching and trying this for a long time now but everything I try or read about just doesn't seem to work. Here's the thing I want: A form with 5 file browse buttons for searching some images (png, gif, jpg, etc..) After submitting the form, each image would be uploaded (through the file uploading class) and then cropped and watermarked by the image manipulation class. It seems simple, but there's no way I can get it working. I would highly appreciate if someone could help me. Thanks in advance, Frietkot
[eluser]umefarooq[/eluser]
Here i found some thing may be it will help you have look on it, it will explain you more. http://codeigniter.com/wiki/Category:Ima...and_Cache/
[eluser]frietkot[/eluser]
That could work, but the problem is that I want the files uploaded, resized and watermarked in one go. I can get it easily done with one file per time, but that's not the thing I want. I want to use it with 5 files per upload.
[eluser]umefarooq[/eluser]
check this link this will also help you to put watermark on fly http://www.sitepoint.com/article/watermark-images-php/ this link will also help you much to watermark you all uploaded images http://wpglamour.com/how-to-watermark-al...ed-images/
[eluser]majidmx[/eluser]
hi, If you can do it for one file, what would be the problem which prevents you from doing it for 5 files ? Just explain a little bit more, please.
[eluser]ray73864[/eluser]
with php and html you can pass things as arrays, for instance: Code: Name 1: <input type="text" name="firstname[]" /> you should be able to do a similar thing with the 'file' type, and then in your code you would do something like: Code: $firstname_array = $this->input->post('firstname');
[eluser]frietkot[/eluser]
Yeah I know, but the thing is, I want to use the upload and image libraries It should be simple I thought
[eluser]xwero[/eluser]
I guess this is what you need. Code: $files = array(1,2,3,4,5) // you have to add actual input names of course |
Welcome Guest, Not a member yet? Register Sign In |