Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2020
    Location
    china
    Posts
    21
    Plugin Contributions
    0

    Idea or Suggestion How do I change images folder?

    https://www.zen-cart.com/showthread....-images-folder

    I encountered the same problem as in this post and tried to add code to configure.php:
    HTML Code:
    Define ('DIR_WS_IMAGES','')
    .

    After adding this code, the picture path in the back end of our website has been modified, but the front end has not changed. Do I still need to modify any files?

    Thank you in advance
    Last edited by zswll2; 24 Apr 2021 at 09:26 AM.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: How do I change images folder?

    Quote Originally Posted by zswll2 View Post
    https://www.zen-cart.com/showthread....-images-folder

    I encountered the same problem as in this post and tried to add code to configure.php:
    HTML Code:
    Define ('DIR_WS_IMAGES','')
    .

    After adding this code, the picture path in the back end of our website has been modified, but the front end has not changed. Do I still need to modify any files?

    Thank you in advance
    includes/configure.php is generally write protected and needs to be made writable. (444 to 644) before saving your change. More than likely this is the issue experienced in trying to change the path on the front end.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: How do I change images folder?

    Defining it to a blank value is probably a very bad idea. Why did you choose blank?
    .

    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.

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: How do I change images folder?

    FWIW, I also found this (https://electrictoolbox.com/aliasing...erver-htaccss/) link indicating how image-accesses could be redirected to keep a single image directory for production vs. test sites.

  5. #5
    Join Date
    Dec 2020
    Location
    china
    Posts
    21
    Plugin Contributions
    0

    Default Re: How do I change images folder?

    Quote Originally Posted by DrByte View Post
    Defining it to a blank value is probably a very bad idea. Why did you choose blank?
    Thank you for your reply, I want to transfer all the images to other servers (object storage), so I must uniformly modify the image path, if you have any other way, thank you for telling me.

  6. #6
    Join Date
    Dec 2020
    Location
    china
    Posts
    21
    Plugin Contributions
    0

    Default Re: How do I change images folder?

    Quote Originally Posted by mc12345678 View Post
    includes/configure.php is generally write protected and needs to be made writable. (444 to 644) before saving your change. More than likely this is the issue experienced in trying to change the path on the front end.
    Permission is 755

 

 

Similar Threads

  1. How do I change images folder?
    By mk12 in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 23 Jan 2017, 04:04 PM
  2. v150 updating my images doesn't make any change after moving ZC to another folder
    By dagadesign in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 30 Jan 2012, 02:57 AM
  3. Change Default images folder?
    By dranet in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Dec 2008, 03:41 PM
  4. How do I move images to a new folder?
    By mcpisik in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 15 Jul 2007, 05:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR