Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Image Directory Problem

    I am using a current version of ZenC and using EZPopulate Advanced. I upload all my products and image names into my directory ->images/HR The only problem is that my program does not read the images unless I have manually pointed to them through Categories/Products screen and then only if the image is in images/ folder only.

    I would sure like to hear some ideas so that I can use different folders for my image galleries.

    Thx...Keith

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Image Directory Problem

    easy Populate does NOT upload images.

    It just creates the REFERENCE to the image NAME (label) in the database. In other words, it loads the LABEL for the image, so that it is referenced in the database.

    You should mass-upload your actual images by using FTP (in binary mode) - to the directory specified in your EP file.
    19 years a Zencart User

  3. #3
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Re: Image Directory Problem

    Sorry if I left that unclear. I did a mass image upload via ftp and put them into an image/subdir structure since i wanted to keep the images seperated by source.

    Thx

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Image Directory Problem

    By default, Easy populate assumes the PATH to all images to automatically be the "images" folder.

    If you store ALL images in the main images folder, then the column in EP under v_products_image will look something like this:

    v_products_image
    pencil_one.jpg
    pencil_two.jpg
    pen_one.jpg
    pen_two.jpg
    paper_one.jpg
    paper_two.jpg
    ... etc

    If you want to split up your images into (for example) "category image" folders, then:

    1. In your images DIRECTORY, you will need to create sub-folders:

    images
    |_ pencils
    |_ pens
    |_ paper

    2. and your EP file will have:

    v_products_image
    pencils/pencil_one.jpg
    pencils/pencil_two.jpg
    pens/pen_one.jpg
    pens/pen_two.jpg
    paper/paper_one.jpg
    paper/paper_two.jpg
    19 years a Zencart User

  5. #5
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Re: Image Directory Problem

    Yes Schoolboy, I did that. When I go back and look at the website, I get the red X error...

    If I go to admin->catalog->categories/products and then to the particular item, I must do the manual upload... to the /images folder with a copy of the image before it will work. The image does show up in the product info page where I am working but it will not show up on the website until I do a manual upload to the /images folder and not a sub folder

    ???

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Image Directory Problem

    could be a bug within EP Advanced...

    Can you get into phpMyAdmin for your database?

    If you do a "test" EP upload, (just do a couple of test products, with the image paths as discussed above)

    What is being written by EP into the products table for products_image, for that couple of test product uploads ?
    19 years a Zencart User

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Image Directory Problem

    are you using any Image Management mods? (Image handler 2 ???)
    19 years a Zencart User

  8. #8
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Re: Image Directory Problem

    I do have ih2 installed. I have not done anything with it yet. The image "references" are being uploaded correctly, as I CAN see the images in the product editing screen as the little preview image. However, when you go to the actual listing on the website, you have the little red "X". The only way to see the image is to do the manual upload through the product edit screen by using the upload button.

    Go figure that...

  9. #9
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Image Directory Problem

    Quote Originally Posted by CabinetGuy View Post
    I CAN see the images in the product editing screen as the little preview image..
    View page source when you are at that point in the admin.

    See if the image is somewhere in /admin/images

    If the image is viewable in the admin console, then the key to the mystery lies in finding out WHERE it's being loaded from...
    19 years a Zencart User

  10. #10
    Join Date
    Feb 2008
    Location
    Tx gulf coast
    Posts
    126
    Plugin Contributions
    0

    Default Re: Image Directory Problem

    Ok...here's a clue. When I upload an image, it previews ok on the product information page (in admin). When I go to the website, I get the red "x" on the image. When I look at the source for the page, here is what it says:

    <script language="javascript" type="text/javascript">
    <!--
    document.write('<img src="images/HR/Web-JA Decorative HW/Corsica/378-96ABSB_t2.jpg" alt="Corsica" title=" Corsica " width="100" height="80" />');
    //--></script>
    <noscript>
    <img src="images/HR/Web-JA Decorative HW/Corsica/378-96ABSB_t2.jpg" alt="Corsica" title=" Corsica " width="100" height="80" /></noscript>


    </td>

    This is fine...however I ONLY have the t2 and t3 files in the image/ directory, not in any other where there are images already uploaded. If I go and use the same image, uploaded from my local computer, everything is fine. The image gets stored in the default /image directory and there are t2 and t3 images created.

    If I manually move the t2 and t3 to the expanded directory they show up. However, it still requires that I manually upload to the /image directory first via the admin product info page.

    What creates the t2 and t3's?

    Thanks

    Keith

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Image directory
    By RiverCity in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 16 Dec 2013, 05:27 PM
  2. Adding another sub-directory level to Image Directory?
    By erko in forum General Questions
    Replies: 0
    Last Post: 31 May 2010, 12:33 PM
  3. problem with upload product image directory
    By dedj in forum General Questions
    Replies: 5
    Last Post: 22 Feb 2007, 08:05 PM

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