Datafeedr Support Forums

Datafeedr Support Forums (/index.php)
-   Questions (/forumdisplay.php?f=67)
-   -   Formatting Category Image Sizes (/showthread.php?t=10933)

urbaniteuk September 1st, 2014 10:50 AM

Formatting Category Image Sizes
 
Store ID: 41577
Website URL: http://www.theurbanite.co.uk/
URL to page in question: http://www.theurbanite.co.uk/travel-...ch/?word=stomp

Hi,

I have gone through the Video Tutorial for 'Formatting Category Image Sizes', but is there a way that I can increase the size of some of the smaller images? Thease are only slightly smaller so pixilation should be an issue… Hopefully! :)

This is the current code:

Quote:

<!-- Category Image -->
<img src="[category.image]" alt="[category.name]" style="float:left;margin:0 10px 10px 0;" height="100" />
<!-- /Category Image -->

<?php } elseif ($category->thumbnail) { ?>

<!-- Category Thumbnail -->
<img src="[category.thumbnail]" alt="[category.name]" style="float:left;margin:0 10px 10px 0;" height="100" />
<!-- /Category Thumbnail -->
Please advise.

Rob

Eric September 1st, 2014 10:53 AM

Hi,

Try this instead:

HTML Code:

<!-- Category Image -->
<img src="[category.image]" alt="[category.name]" style="float:left;margin:0 10px 10px 0;height:150px;" />
<!-- /Category Image -->

<?php } elseif ($category->thumbnail) { ?>

<!-- Category Thumbnail -->
<img src="[category.thumbnail]" alt="[category.name]" style="float:left;margin:0 10px 10px 0;height:150px;" />
<!-- /Category Thumbnail -->

Eric

urbaniteuk September 1st, 2014 11:14 AM

Hi Eric,

Unfortunately, this only made the Larger images larger. I tried to adjust the sizes, but nothing happens. On click-through, the category images also misaligns the product description. I tried to reduced the size there (150 to 80px) and nothing happens either.

Eric September 1st, 2014 11:21 AM

What's the URL to the page in question?

urbaniteuk September 1st, 2014 11:31 AM

E.g. Page Thumbnails (Different sizes)
http://www.theurbanite.co.uk/travel-...ch/?word=stomp

Product Image (Text & Image Alignment)
http://www.theurbanite.co.uk/travel-...9701626219153/

Eric September 1st, 2014 11:35 AM

Quote:

Originally Posted by urbaniteuk (Post 50490)
E.g. Page Thumbnails (Different sizes)
http://www.theurbanite.co.uk/travel-...ch/?word=stomp

This is not a "Category" page. This is the Search page.

Quote:

Originally Posted by urbaniteuk (Post 50490)
Product Image (Text & Image Alignment)
http://www.theurbanite.co.uk/travel-...9701626219153/

This is not a "Category" page. This is the Product Details page.

The code you posted in your first post is not related to either of these pages.

Eric

urbaniteuk September 1st, 2014 11:41 AM

Oh… Sorry… :/ Do you have a code to fix the image size issue for these pages?

Rob

Eric September 1st, 2014 11:54 AM

Hi,

For your search page, changing the height will not effect a lot of your images as they are too small. There's not many options for that.

For Product Details page: http://www.datafeedr.com/docs/item/171

Eric

urbaniteuk September 1st, 2014 11:58 AM

Ok, thanks.


All times are GMT -5. The time now is 12:54 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.