Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    45
    Plugin Contributions
    0

    Default (quickie) which file to change to alter image pull location

    just a quickie

    i currently have 100+ products on my site all pointing to site/images/products1 i am wanting to change it so that all the product images are pulled from a diferent location e.g site/pictures i am looking for a fast fix. basically i need to edit the file or mysql database manually and set the url / file location to where i have uploaded them too. Im just wondering where the information is stored? where does it store the image loaction etc ?


    basically i want to change every image from

    mysite/images/image1
    mysite/images/image2
    mysite/images/image3
    mysite/images/image4

    to

    mysite/image1
    mysite/image2
    mysite/image3
    mysite/image4

    so if all the images are stored in 1 file i could just copy/paste my way through relatively easily.

    thanks in advance.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: (quickie) which file to change to alter image pull location

    your /includes/configure.php file and /admin/includes/configure.php file contain a line like this:
    Code:
    define('DIR_WS_IMAGES', 'images/');
    edit as necessary.
    .

    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.

  3. #3
    Join Date
    Mar 2005
    Posts
    45
    Plugin Contributions
    0

    Default Re: (quickie) which file to change to alter image pull location

    thanks dr. ive manually changed them to conform to the original zen specs i really appreciate the input though as im eager to learn the ins and outs of this fine cms. My sites currently a bit rough as ive hacked away at it a bit. your views/input would be greatly appreciated though if u get time. and dont worry about completely critisising everything. im eager to learn.

    www.unitmodels.co.uk

    ill post a new thread for criticism in the links appropriate area.

 

 

Similar Threads

  1. Quickie: what file template controls the category display?
    By gaekwad in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Apr 2009, 07:49 PM
  2. How to change location of configure.php file ?
    By zax80 in forum General Questions
    Replies: 3
    Last Post: 21 Dec 2007, 04:42 PM
  3. How do I change file path location
    By fvb in forum General Questions
    Replies: 0
    Last Post: 4 Jul 2007, 04:07 PM
  4. Alter location of prod info page
    By spottedhaggis in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 5 Sep 2006, 02:55 AM

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