Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    43
    Plugin Contributions
    0

    Default Category Images Not Showing Up

    Hello all-

    I have uploaded category images through the admin tool for our store. I can see the images fine in the admin tool, but they do not show up on the category pages on the site.

    I can see that the div is there in the source code, but it is showing as this:
    <div class="catgeoryimg">&nbsp;</div>
    This is what is on my tpl_index_categories.php page (if I am looking in the right place):
    <?php
    if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') {
    // categories_image
    if ($categories_image = zen_get_categories_image($current_category_id)) {
    ?>
    <div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
    <?php
    }
    } // categories_image
    ?>
    Any ideas are much appreciated! I am sure I am probably missing something obvious...

  2. #2
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Category Images Not Showing Up

    When you upload your images to your server you need only add the path to the box that says

    Or, select an existing image file from server, filename: images/yourimage.gif

    There is no code to change on any of you files.

  3. #3
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Category Images Not Showing Up

    What is your setting for admin/configuration/product listing/include product listing top categories image? Should be set to true.

  4. #4
    Join Date
    Jul 2008
    Posts
    43
    Plugin Contributions
    0

    Default Re: Category Images Not Showing Up

    Quote Originally Posted by RescoCCC View Post
    What is your setting for admin/configuration/product listing/include product listing top categories image? Should be set to true.
    @RescoCCC
    Settings are:
    Include Product Listing Sub Categories Image true
    Include Product Listing Top Categories Image true

    Also @usernamenone, I don't think it's a path problem, as I am able to see the image in the admin tool. However, when I examine the source code of the page, it is not showing any image or src:
    <div class="catgeoryimg">&nbsp;</div>

    Any other suggestions? I am really at a loss here...

  5. #5
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Category Images Not Showing Up

    A link to your site would make it much easier to figure out.

  6. #6
    Join Date
    Jul 2008
    Posts
    43
    Plugin Contributions
    0

    Default Re: Category Images Not Showing Up

    PM sent, thanks!

 

 

Similar Threads

  1. category images not showing
    By derek53 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Sep 2010, 03:36 PM
  2. Category images not showing
    By mcpisik in forum General Questions
    Replies: 2
    Last Post: 1 Jul 2010, 12:54 AM
  3. Thumbnail images not showing in Category
    By IDC_User in forum General Questions
    Replies: 1
    Last Post: 12 Dec 2009, 12:50 AM
  4. Category images not showing up
    By inkuyo in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 Nov 2007, 07:48 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