Page 7 of 31 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 304
  1. #61
    Join Date
    May 2005
    Posts
    17
    Plugin Contributions
    0

    Default

    Originally posted by DrByte@Jun 22 2005, 05:09 PM
    yes and yes

    you can use .gif as long as ALL your images are .gif 's
    Thanks Doc
    What I tryed and it works like a charm is to setup the folders like my previous post and then I set all the image sizes in admin/configuration/images to blank. I process all my photos in photoshop anyway so I make the various sizes there. The advantage I see in this method is I can use landscape or portrait for products.

    Thanks again
    Roundy

  2. #62
    Join Date
    Jun 2005
    Posts
    7
    Plugin Contributions
    0

    Default

    This is a bug report and could possibly help people having trouble. I was having problems with images of multiple sizes as well. I had uploaded the images like so:

    images/products/(publisher)/jpgs/(modelnumber).jpg
    images/medium/products/(publisher)/jpgs/(modelnumber)_MED.jpg
    images/large/products/(publisher)/jpgs/(modelnumber)_LRG.jpg

    The images in images/products were the only ones being used by Zen Cart, regardless of the situation. I could not for the life of me figure out why, until I looked inside:

    includes/modules/pages/product_info/main_template_vars_images.php

    and found that, on line 25, ALL occurances of the extension, INCLUDING THE PERIOD, WHICH HAS A SPECIAL MEANING IN REGULAR EXPRESSIONS, are removed in the ereg_replace function call, meaning Zen Cart thought the medium image filename was:

    images/medium/products/(publisher)s/(modelnumber)_MED.jpg

    Note that not only did the three letters 'jpg' in the path get removed, but also the slash immediately preceding the 'j', because the period in the extension was matching the slash.

    As a quick fix, I appended the following:

    . '$'

    to the first parameter of the ereg_replace call, making it only match the extension at the end of the filename string.

    From a quick grep I just did, I found 25 instances of this ereg_replace mistake.

    grep -r 'ereg_replace($products_image_extention' includes/*

    -Don

  3. #63
    Join Date
    Jun 2005
    Posts
    7
    Plugin Contributions
    0

    Default

    Ah. I see there's already a topic about this bug in the Zen Cart Bug Reports forum.

    http://www.zen-cart.com/modules/ipb/index....showtopic=17552

    -Don

  4. #64
    Join Date
    May 2004
    Location
    Atlanta, Georgia USA
    Posts
    36
    Plugin Contributions
    0

    Default

    Nice tutorial Ryk for those unfamiliar with how to properly prepare images. Another little trick that has been mentioned here before is to only set either the hieght or width in the admin but not both. This will prevent images from being distorted disproportionally. Example: Set the thumbnail width to 100px and leave the height blank in admin. All your thumbnails will all be the same width and the height will be reduced proportional to the width.

  5. #65
    Join Date
    Oct 2005
    Posts
    2
    Plugin Contributions
    0

    Default

    Hi there,

    Thanks for all this interesting info about images!

    I'm pulling my hair out trying to figure out a simple thing. I am trying get have images in my product info page and also on the first (main) page.

    I am doing the downloading as in the admin/products page, but the images just don't show.

    I've gone to the Configure/images page in and changed the height to "0" and allow for proportonal images on products and categories.

    And, the images still don't show.

    The images are all jpgs too, and when I look at my server, the images are siting in the www/store/images area, which I think they should be.

    Can any help!?

    Thanks,
    Steve ::frust

  6. #66
    Join Date
    Oct 2005
    Posts
    2
    Plugin Contributions
    0

    Default

    I was hoping for some help here and have been waiting for a couple of weeks. I'm surprised no one has written.

    Please help!

    Thanks

  7. #67
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default

    I'm not too sure exactly what your problem is ... do you mean you just want an image to show up on the front page as part of the general description of the site, or something else?

    If the above, then you simply place a link to the relevant image in the text by using the define pages editor to modify your main_page.

    Perhaps a url where we could look at your problem would help.
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  8. #68
    Join Date
    Jul 2005
    Posts
    33
    Plugin Contributions
    0

    Default

    steventemplar and me seems to have the same problem.

    When I first moved to ZC from OSC I made sure that the images worked as they were expected. I added a few test products and uploaded the images for them. Everything worked.

    Then I began my daunting project of migrating a webshops entire database to ZC. After many daunting hours the migration were done and I had 13 000 new products with correct values in the database coming with ZC. But.

    The product image won't show. No matter what. Only way to get them to show up is to add a product manually and I will NOT add 13 000+ products manually just to get the pictures to show up.

    Please assist. (Yes. I've triplechecked so the right value is in the database, the images exist, world got read/access-rights to the files and so on.)

  9. #69
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default

    url?
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  10. #70
    Join Date
    Oct 2005
    Posts
    42
    Plugin Contributions
    0

    Default

    Great info, this has helped so much in getting my images the right size

    My thumbnail shows the right size 125x125
    My Product page shows the right size 250x250

    But......

    Larger image (popup window) shows 125x125 looking at the jeg in the image folder not the large folder

    I have played with java script which nicely resized the popup window but not the image.

    Help !!!!!!

 

 
Page 7 of 31 FirstFirst ... 5678917 ... LastLast

Similar Threads

  1. v151 Zen image preparation 3 (small, medium, large) images folder?
    By gsmsalers in forum General Questions
    Replies: 4
    Last Post: 4 Oct 2013, 05:01 PM
  2. v150 How do I swap main product image with an attribute image?
    By bazza_87 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 May 2012, 08:30 AM
  3. how to modify the image SRC for image-handler images?
    By jason1116 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 2 Sep 2009, 01:00 PM
  4. Preparation advice for upgrade v1.3.7.1 to 1.3.8a
    By Computer Candy in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 19 Feb 2008, 11:07 PM
  5. Replies: 2
    Last Post: 21 Dec 2007, 09:59 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