Jump to content

change the size of sub-category pictures


Recommended Posts

  • 2 months later...

  • 2 weeks later...

Hi

im also trying to fix the size of the thumbnail generated for the subcategory. they are coming out at no bigger than 70 pixels high and i need it much more than that to scale up, there seems to be no control over thumbnail size. Whilst i can see in the code where the category images and product images are coming from. im not sure where to change the sub category image size, it is always resized too small, its not css as the view image file is originally tiny.. all other images are fine..

any ideas.. cant wait for some documentation.

thanks

Link to comment
Share on other sites

Images sizes are set in the config.xml file of whichever skin you're using. It's the following lines of code (copied from Vanilla):

<images>

	<!-- Common -->

	<image reference="thumbnail" maximum="140" quality="75" default="noimage_thumbnail.png" />

	<!-- Category Page -->

	<image reference="category" maximum="580" quality="100" default="" /><!-- Doesnt need a default -->

	<image reference="subcategory" maximum="75" quality="70" default="noimage_subcategory.png" />

	

	<!-- Product Page -->

	<image reference="gallery" maximum="45" quality="60" default="noimage_gallery.png" />

	<image reference="normal" maximum="270" quality="90" default="noimage_normal.png" />

	<image reference="enlarge" maximum="600" quality="90" default="" /><!-- Doesnt need a default -->

	

	<!-- Possible names (sizes): thumbnail (138), product(300-ish), enlarged (big), zoom (bigger, poss. source?) -->

	

	<!-- These are the ones currently in use -->

	<image reference="small" maximum="116" quality="75" default="noimage_thumbnail.png" />

	<image reference="medium" maximum="270" quality="80" default="noimage_normal.png" />

	<image reference="large" maximum="600" quality="80" default="" /><!-- Doesnt need a default -->

  </images>

The value for "maximum" is the max width/height of the image in pixels.

Despite the comment <!-- These are the ones currently in use --> above the last three, I'm fairly sure the rest of them are also in use. I haven't done any experimenting myself though.

Link to comment
Share on other sites

  • 4 months later...
Guest Tharina

I tried resizing the images in the style sheet which makes them bigger, but then they're pixelated as if the image loaded was too small (which it's not). I also tried changing the config file - nothing is working. Please help!

I tried resizing the images in the style sheet which makes them bigger, but then they're pixelated as if the image loaded was too small (which it's not). I also tried changing the config file - nothing is working. Please help!

Link to comment
Share on other sites

I tried resizing the images in the style sheet which makes them bigger, but then they're pixelated as if the image loaded was too small (which it's not). I also tried changing the config file - nothing is working. Please help!

Did you try clearing the cache after you edited the config file?

Link to comment
Share on other sites

  • 2 months later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...