Results 1 to 4 of 4
  1. #1
    Join Date
    May 2006
    Posts
    9
    Plugin Contributions
    0

    Default Overriding Product Image Selector thru Database

    I uploaded all the product pictures into the images directory through Dreamweaver.

    Instead of typing the image name for each product I went into the database and typed them directly into the image field in the products table but they dont show up on the site, still the no_picture.gif.

    I went and typed in the picture name through the product admin and it appeared broken in the preview and then nothing shows up at all in the store view, not even the no_picture.gif.

    I re-uploaded the picture through Dreamweaver and then it finally showed up properly in the store.

    Can someone explain why this is happening? What else goes on behind the scenes besides adding the picture name to the products table when you use the product admin to add a picture?

    Thanks

  2. #2
    Join Date
    May 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Overriding Product Image Selector thru Database

    If I browse to the photo through the admin and reupload the picture that way, everything works as normal. This probably explains why the thumbnail is broken in the preview when you type it in directly, since it has no referrence to the image.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Overriding Product Image Selector thru Database

    The normal method is not to edit the DB directly.

    you can upload the pics to the image directory via ftp or anotherway in bulk.

    You then only need to enter the pic name in the product entry field.

    One may work out a way to populate this but have you looked at the easy-populate contribution in the downloads section?
    Zen-Venom Get Bitten

  4. #4
    Join Date
    May 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Overriding Product Image Selector thru Database

    Thanks for the reply. I understand that its not the normal way to add photos, but it peaked my curiousity as to why it doesnt work.

    I will check out the download section, thanks for the tip!

 

 

Similar Threads

  1. v139h Product Selector/Filter - Dynamically Narrowing Product Listing
    By BarbieH2 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 5 Mar 2012, 01:33 AM
  2. Manual Product Input thru PHP
    By elgrcg in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 17 Sep 2010, 08:44 AM
  3. overriding header code for the enlarge image pages
    By orfeus123 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 30 May 2009, 08:03 PM
  4. Product Selector/Filter - Dynamically Narrowing Product Listing
    By lib99 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Feb 2009, 08:07 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