Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Jul 2008
    Posts
    43
    Plugin Contributions
    0

    Default Re: Category Images Not Showing Up

    Quote Originally Posted by usernamenone View Post
    the source page of what page? and what does you style sheet say about catgeoryimg and what is the link to your site?
    The source code I was referring to was for the category page. I will send you a PM in a moment with the link. It is not ready for public view yet, so I'd rather not post it here.

    Also, thanks to everyone who has chimed in so far... hoping to reach a solution soon!

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

    Default Re: Category Images Not Showing Up

    First log into admin and Configuration and then product listing

    Make sure these are set to true (they are at the bottom)

    Include Product Listing Sub Categories Image true
    Include Product Listing Top Categories Image true

    Then open your

    includes/templates/the name of your template/templates/tpl_index_categories.php

    locate this code

    <h1 id="indexCategoriesHeading"><?php echo $breadcrumb->last(); ?></h1>
    <?php } ?>

    and just below that make sure this code is there just like this

    <?php
    if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS_TOP == 'true') {
    // categories_image
    if ($categories_image = zen_get_categories_image($current_category_id)) {
    ?>
    <br /><br />
    <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
    ?>

  3. #13
    Join Date
    Jul 2008
    Posts
    43
    Plugin Contributions
    0

    Default Re: Category Images Not Showing Up

    Ok, GOT IT!

    When I pasted in usernamenone's script and reloaded the page, I noticed that I had the "categoryImgListing" div in there twice, but one was in my category description for some reason, and the other was hidden via CSS (my fault!). So I deleted the extra one, adjusted the CSS and there it was!

    Thanks to usernamenone and RescoCCC for your help!

 

 
Page 2 of 2 FirstFirst 12

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