Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Category thumbnail image size front page?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-08-2011, 11:02 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Category thumbnail image size front page?

Hi does anyone know how to increase the size of the category thumbnail on the main page I just can't seem to find were it is.

In v4.4.4 / for vivid_dreams_violet

Have added picture

Many thanks
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #2  
Old 10-12-2011, 02:18 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default Re: Category thumbnail image size front page?

You can check which style rule to edit, through firebug. Any url to your site?
Reply With Quote
  #3  
Old 10-12-2011, 06:22 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Category thumbnail image size front page?

In admin, the size is set at General Settings / Appearance.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #4  
Old 10-12-2011, 02:42 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Category thumbnail image size front page?

Hi the settings in general settings /appearance don't do these thumbnail pictures.
I did have ago with firebug but just couldn't work it out

The url is www.puretaboo.co.uk

Please note - this is an adult shop although not fully up and running yet!!

Thanks for any help
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #5  
Old 10-12-2011, 03:26 PM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default Re: Category thumbnail image size front page?

by checking your site with firebug, it looks that the 16px width and height of the category icons are not set by any style rule, but are hard-coded in the corresponding template that renders the icons - probably the template for the side-menu which is 'customer/categories.tpl' (you can find the exact template by using the webmaster mode), so you might want to look into it for code similar to
Code:
<img width="16" height="15" alt=""
which is repeatedly rendered on every anchor element, for each category, so the above code will be located inside a {section}...{/section} or {foreach}...{/foreach} pair of smarty tags for looping the rendering of each category and icon.
Reply With Quote
  #6  
Old 10-12-2011, 11:34 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Category thumbnail image size front page?

Thanks for your help I went through several templates but found nothing showing sizes, this is a weird one....
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #7  
Old 10-13-2011, 01:53 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 758
 

Default Re: Category thumbnail image size front page?

Are you certain that this is not set through the General Settings / Appearance as JWait previously posted? Otherwise it will take some template checking/customization. If you are further interested for professional help, feel free to send me a pm.
Reply With Quote
  #8  
Old 10-13-2011, 05:48 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Category thumbnail image size front page?

All you have to do is search in the right place - /include/func/func.image.php

Code:
function func_ic_get_size_catthumbn($width, $height, $skin_name = '') { global $alt_skin_info; if (empty($skin_name)) $skin_name = $alt_skin_info['name']; // Get thumb_dims for schemes bt:88678 bt:93891 $icon_sizes = array ( "Light & Lucid (2-column)" => array('width' => '16', 'height' => '16'), "Light & Lucid (3-column)" => array('width' => '16', 'height' => '16'), "Artistic Tunes (Business)" => array('width' => '16', 'height' => '16'), "Artistic Tunes (Car Tires)" => array('width' => '16', 'height' => '16'), "Artistic Tunes (Fragrances and Makeup)" => array('width' => '16', 'height' => '16'), "Artistic Tunes (Water Colour)" => array('width' => '16', 'height' => '16'), "Fashion Mosaic (Blue)" => array('width' => '16', 'height' => '16'), "Fashion Mosaic (Green)" => array('width' => '16', 'height' => '16'), "Fashion Mosaic (Grey)" => array('width' => '16', 'height' => '16'), "Fashion Mosaic (Pink)" => array('width' => '16', 'height' => '16'), "Vivid Dreams (Aquamarine)" => array('width' => '16', 'height' => '16'), "Vivid Dreams (Chromo)" => array('width' => '32', 'height' => '32'), "Vivid Dreams (Lotus)" => array('width' => '32', 'height' => '32'), "Vivid Dreams (Violet)" => array('width' => '16', 'height' => '16') ); if (isset($icon_sizes[$skin_name])) { $result = $icon_sizes[$skin_name]; } else { $result = array('width' => '16', 'height' => '16'); //Default value for 3rd party skins. } return $result; }
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 10-16-2011, 01:51 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Category thumbnail image size front page?

Steve your a top man I just couldn't find this one.

Many thanks
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:22 AM.

   

 
X-Cart forums © 2001-2020