OSCOMMERCE SUPPORT CALL 702-453-3332

 

Help - Search - Members - Calendar
Full Version: How can I upload product images to a different folder?
osCommerce Community Support Forums > osCommerce Online Merchant v2.x > General Support
bluecoral
I am trying to upload my products images in different folders. But all the images that I upload are going to the "catalog/images" folder. Is it possible to upload a folder with images using FTP (inside the /catalog/images/ folder) and link the products images from that folder?

Example:

catalog/images/dvd/image1.JPG
catalog/image/cd/anotherimage.JPG

How should I enter the images in the PRODUCT IMAGE field?

Thanks!
running wolf
I'm not much of a php girl but the way I solved the problem is I put additional pics in the 'description'.
http://alaskakreations.com/product_info.php/products_id/1272
bluecoral
I need the main image to be uploaded in a sub-folder. The osCommerce comes preloaded with products images inside sub-folders (such as images/dvd).
Any ideas on how to manage that path in the field?

Thanks for your reply!
jhande
QUOTE (bluecoral @ Jan 21 2008, 02:21 PM) *
I need the main image to be uploaded in a sub-folder. The osCommerce comes preloaded with products images inside sub-folders (such as images/dvd).
Any ideas on how to manage that path in the field?

Thanks for your reply!


Unfortunately you either have to type in the correct path or use a contribution.

I used Image Subdirectories 2.0 but it does not allow you to browse the server location. You can upload through the admin panel to a sub-directory structure of your choice but there is a lot of typing involved.

I don't know if this one would be any better - oscFileBrowser

Have you tried in Admin Panel typing the path in the image location box?
I have a directory/folder structure as follows (within the original image directory)

images\
--Images\
----Manufacturer\
-------Large>
-------Thumb>
----Manufacturer\
-------Large>
-------Thumb>
----etc...

In the image box I type -
Images/Manufacturer/Thumb/001.jpg
I have a contribution for showing a large image so I would do the same thing. It's not as easy as clicking browse and finding it on the server, wish it was.
bluecoral
I have tried using the correct paths in the field provided in PRODUCT IMAGE. There has to be an easy way to do it since osCommerce comes preloaded with these sub-directories... Most of the product images are already loaded in sub-directories.

I've installed SSL, and a STS. Does this have anything to do with the paths?

Thanks again!
chipshot
there's something on the original docs about changing the backslash to a forward slash but it never seemed to work for me.

I think the solution is to pre-upload the images to the folders you want in your images dir and type it in manually..
bluecoral
I uploaded the images, and folder to the server (FTP), but using the path

dvd/001.gif

Shows: Warning: No file uploaded. (no image shows at all)

I guess there is no easy way to do it. Even worst when you have to manually rename hundreds of files to separate them in the "image" folder...
Thanks for all your help!
chipshot
QUOTE (bluecoral @ Jan 22 2008, 12:56 AM) *
I uploaded the images, and folder to the server (FTP), but using the path

dvd/001.gif

Shows: Warning: No file uploaded. (no image shows at all)

I guess there is no easy way to do it. Even worst when you have to manually rename hundreds of files to separate them in the "image" folder...
Thanks for all your help!


well if you got a couple of hundred images I would suggest trying one of the contributions..might work?
BryceJr
QUOTE (bluecoral @ Jan 21 2008, 06:42 PM) *
I am trying to upload my products images in different folders. But all the images that I upload are going to the "catalog/images" folder. Is it possible to upload a folder with images using FTP (inside the /catalog/images/ folder) and link the products images from that folder?

Example:

catalog/images/dvd/image1.JPG
catalog/image/cd/anotherimage.JPG

How should I enter the images in the PRODUCT IMAGE field?

Thanks!

I think you may be looking for this >> http://addons.oscommerce.com/info/5125
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.