Forums / Setting Up Categories, Products, Attributes / How do I move images to a new folder?

How do I move images to a new folder?

Locked

Views: 1,287

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
15 Jul 2007, 12:08 AM
#1
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

How do I move images to a new folder?

This is an easy one Im sure...( i hope too!)

So far all my normal sized images, are directly in my "images" folder.
I'd like to move them into their own "images/brand1" and "images/brand2" type folders. Then of course doing that with Large and Medium folders also.

Question: Is there a way to redirect all my products, to point to the new location. Rather than going into each product listed and resellecting the image location?

15 Jul 2007, 12:49 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do I move images to a new folder?

There is no built-in automated way to rename the path to all your images.

However, updating the image path in each product will automatically have it look for the corresponding subfolder for the medium & large images.

So, you need to:

  1. Use your FTP program to move all your images into the new folders
  2. Update all products so that their image path points to the new subfolder

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Jul 2007, 4:12 AM
#3
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Re: How do I move images to a new folder?

Ah thanks. I was hoping there would be a way around changing each product listing, as I have a few thousand to do. Might just leave them where they are me thinks! Appreciate the reply. Saved me time wondering!
Cheers