Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Image size issues

    Hello,

    I'm still quite new to zencart and my web manager is away on holidays....
    My website is www.mammabellahkids.com.au

    I am trying to change the size of the 6 images which reflect each category in my shop.
    As is they currently are too small.

    I have looked in every place possible on my website admin area, checked the FAQ's and cant seem to locate anything.

    The second issue is that is you click on the category of 'Just Mammah' you will note that the coming soon text appears nicely at the top of the page. But if you click on the category of Toys you will see that there is quite a fair bit of empty space at the top of the page which looks strange.
    Again I have tried everything from deleting the text, starting fresh but it still sits the same. How can I get the text to sit right under the menu bar?

    Any assistance provided would be greatly appreciated.


  2. #2
    Join Date
    Oct 2008
    Posts
    254
    Plugin Contributions
    0

    Default Re: Image size issues

    I don't know if this is it or not but admin>Configuration>Images is where you control the image sizes.

    If that doesn't help just ignore my post =)

  3. #3
    Join Date
    Jun 2009
    Location
    Brisbane, QLD AUS
    Posts
    210
    Plugin Contributions
    0

    Default Re: Image size issues

    the issue with the text in the toys section is simply because you have a picture immediately under the category name. the image is not being displayed in-line, hence the text that follows it is placed immediately underneath the image. to change this you would need to alter your css. this could be done a number of ways, but the easiest would probably be to alter the .categoryImg class by adding "float: left;" (obviously without the quotes). this would then show the text immediately to the right of the image and you can then use margin/padding properties to adjust as you please.

    andrejs

  4. #4
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Image size issues

    Quote Originally Posted by ALiepinieks View Post
    the issue with the text in the toys section is simply because you have a picture immediately under the category name. the image is not being displayed in-line, hence the text that follows it is placed immediately underneath the image. to change this you would need to alter your css. this could be done a number of ways, but the easiest would probably be to alter the .categoryImg class by adding "float: left;" (obviously without the quotes). this would then show the text immediately to the right of the image and you can then use margin/padding properties to adjust as you please.

    andrejs

    Thanks for this info...the strange thing is that the Just Mammah category is supposed to have the category image displayed in the left hand side of the page too...and its not there. Is that because I currently have no items listed in that category?

  5. #5
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Image size issues

    ..ok, I know why the image is not appearing, now all I need help with is the size of the image in the categories on the home page.

  6. #6
    Join Date
    Jun 2009
    Location
    Brisbane, QLD AUS
    Posts
    210
    Plugin Contributions
    0

    Default Re: Image size issues

    good question, i'm not sure.

    i looked at the PHP for the default template (includes\templates\YOURTEMPLATE\templates\tpl_index_product_list.php) and it doesn't seem to restrict the image based on the number of product records, however the second if statement below was curious to me:

    <?php
    if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS == '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, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>
    <?php
    }
    } // categories_image
    ?>


    perhaps you can try specifying/uploading your category image again to see if it kicks in? if not, add a product to this category, maybe you're right and it is based on records being available.

    andrejs

  7. #7
    Join Date
    Jun 2009
    Location
    Brisbane, QLD AUS
    Posts
    210
    Plugin Contributions
    0

    Default Re: Image size issues

    good question, i'm not sure.

    i looked at the PHP for the default template (includes\templates\YOURTEMPLATE\templates\tpl_index_product_list.php) and it doesn't seem to restrict the image based on the number of product records, however the second if statement below was curious to me:

    <?php
    if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS == '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, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>
    <?php
    }
    } // categories_image
    ?>


    perhaps you can try specifying/uploading your category image again to see if it kicks in? if not, add a product to this category, maybe you're right and it is based on records being available.

    andrejs

  8. #8
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Image size issues

    Quote Originally Posted by ALiepinieks View Post
    good question, i'm not sure.

    i looked at the PHP for the default template (includes\templates\YOURTEMPLATE\templates\tpl_index_product_list.php) and it doesn't seem to restrict the image based on the number of product records, however the second if statement below was curious to me:

    <?php
    if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS == '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, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>
    <?php
    }
    } // categories_image
    ?>


    perhaps you can try specifying/uploading your category image again to see if it kicks in? if not, add a product to this category, maybe you're right and it is based on records being available.

    andrejs
    the images are there now, I needed to create sub categories that's all.

 

 

Similar Threads

  1. v150 matching image size to box size so that image doesn't tile
    By cyberbaffled in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Jul 2013, 02:08 PM
  2. v151 Product Image Size Issues - Too Small!
    By yeah! in forum Upgrading to 1.5.x
    Replies: 5
    Last Post: 4 Jan 2013, 02:34 AM
  3. Pop up image size.. image right size, window too small
    By grayceworks in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 18 Dec 2011, 06:25 AM
  4. Subcategory Image Size issues
    By BobBobberson in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Feb 2009, 07:06 AM

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