• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
best solution for image uploading?

#1
[eluser]mandril[/eluser]
Well I have to make a site for products selling... and the customer should have a panel for posting his products.. but he want to upload lots of pictures for a product and my aplication should store them and resize them to create a gallery.

Is there any problem if i create a folder for each product with the productID as the folder name ? I know it will be less than 10.000 products... but is this ok ? it won't hurt my ftp navigation or hosting ? The best place to store them in CI is the application folder ?

Anyone with experience dealing with this ?

Thnks a lot

#2
[eluser]The Wizard[/eluser]
Hello friend,

create the products under the userid's.

pictures/userid/unique_item_name.jpg

then sort them up with the DB, and there you go Smile

for uploading you should use www.aurigma.com
im very veyr statisfied

#3
[eluser]mandril[/eluser]
There are no users, its only one user.. my customer Tongue .. they will be categories for the products, but he will upload a lots of pics for each products, something like this...

products
product_1
image_1.jpg
image_2.jpg
image_3.jpg
image_4.jpg
image_n.jpg
product_2
image_1.jpg
image_2.jpg
image_3.jpg
image_4.jpg
image_n.jpg

the thing is he will have 10000 products Tongue but is better to work with a folder that has the images in.. and the folder name to be the product ID. Because you dont need to store URL's in DB.. you just know you have to grab all from the folder that has the name of the product ID.

Is there a better idea ? I will check aurigma Smile thnxs for reply

#4
[eluser]mandril[/eluser]
you send me to a commercial product with Microsoft partner!!! wtf ???????????

#5
[eluser]The Wizard[/eluser]
i use it, its fine Smile

#6
[eluser]The Wizard[/eluser]
even FACE BOOK uses it, so, why the hype?

#7
[eluser]mandril[/eluser]
You should check FancyUpload , its free and open source and is not in partnership with.. emm coffffff....emmmm i can't say it anymore Smile

http://digitarald.de/project/fancyupload/

#8
[eluser]The Wizard[/eluser]
hello again,
if you are going to seriously upload thousands of pictures,
you should stick to aurigma

#9
[eluser]mandril[/eluser]
Just 3,4, 5 or 6 per product.. i will always stick to open source.. no matter the quality of the product, for me is more important the source, and community driven.

GNU/Linux, Gedit, PHP, Codeigniter, Inkscape, Gimp, Firefox..etc user here Smile

#10
[eluser]The Wizard[/eluser]
i was like you too, till i understood that,
if you wanna deliver quality, you sometimes have to
go a little bit commercial Smile


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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