Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
  1. #21
    Join Date
    Apr 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: Image size in Specials

    Thank You. Works

  2. #22
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,696
    Plugin Contributions
    6

    Default Re: Image size in Specials

    Thanks for the update that this is working for you ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #23
    Join Date
    Feb 2007
    Location
    Worldwide Web
    Posts
    190
    Plugin Contributions
    0

    Default Re: Image size in Specials

    Quote Originally Posted by Ajeh View Post
    Using your templates and overrides, customize the file:
    /includes/modules/specials_index.php

    by copying to:
    /includes/modules/your_template_dir/specials.php

    and change the image sizes in RED directly in the code to the sizes you need:
    Code:
        $list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsSpecials centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
        'text' => (($specials_index->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($specials_index->fields['products_id']), 'cPath=' . $productsInCategory[$specials_index->fields['products_id']] . '&products_id=' . (int)$specials_index->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $specials_index->fields['products_image'], $specials_index->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($specials_index->fields['products_id']), 'cPath=' . $productsInCategory[$specials_index->fields['products_id']] . '&products_id=' . $specials_index->fields['products_id']) . '">' . $specials_index->fields['products_name'] . '</a><br />' . $products_price);
    I tried what was said above but their was no change
    Diva Boutiques
    www.divaboutiques.com

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. HOW-TO: Image Preparation
    By Ryk in forum Templates, Stylesheets, Page Layout
    Replies: 296
    Last Post: 3 Jul 2012, 10:10 AM

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
  •