mondos Posted May 23, 2003 Posted May 23, 2003 Hi, I can't find a good answer to this in the forums so ther must be something difficult in it. Is there a way to upload the product image to a specific directory using the admin product entry page? The sub-directory could be user specific (always inside /images) or base on the category name or base in the manufactures name, or whatever. I have to upload more than 5.000 products and it's impossible to manage all 10.000 images (big and small) in just one directory. Does anyone manage to do it? Thanx
Emmtee Posted May 23, 2003 Posted May 23, 2003 patch upload["name"] before tep_copy_file is called to prefix the filename with a subdir... ... and install auto image resizing so the small images are automatically created in another subdir... works fine for me...took a weekend to code :) http://www.oscommerce.com/community/contributions,1762
Dragonmom Posted May 26, 2003 Posted May 26, 2003 could you repeat that in english... GAWD, I hate being a newbie! :oops: psst... wanna buy a wand?
mugitty Posted May 27, 2003 Posted May 27, 2003 Is there a way to upload the product image to a specific directory using the admin product entry page? On an individual basis from the admin where you would create (add) single items, when you upload your pictures (from a windows machine in this example), change the slash after the catalog 'images' directory and your chosen sub-directory to a forward slash: C:public_htmlcatalogimagesyour_subdirectory/small.gif C:public_htmlcatalogimagesyour_subdirectory/large.gif For mass uploads into a chosen sub-directory, you might want to check out Easy Populate (in the contributions area) ... if you want to REALLY see something that doesn't set up right out of the box without some tweaking, try being a Foster Parent!
mondos Posted May 27, 2003 Author Posted May 27, 2003 Thanx Mugitty, That is exactly what I was looking for!! I would try to make it a little bit easier based on what Emmtee had said. I do use EasyPopulate but that is great for mass uploads, the problem is that using this for the first mass upload I create subdirectorys and then when I try to upload a single product I wasn't able to place the picture in its subdirectory. Now I can!! Thanx again Mugitty!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.