-
AuthorPosts
-
cymak Friend
cymak
- Join date:
- August 2015
- Posts:
- 44
- Downloads:
- 5
- Uploads:
- 1
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
September 20, 2015 at 1:37 am #686687<img src="/media/k2/items/cache/9b2c4b44fb86522964124ed80d03c5e8_L.jpg" alt="Knitwits - Handmade Custom Irish Dancing Dolls" style="width:960px; height:auto;">
In the category item view the default width is 960, I have over-ridden the css width with 200px as its much too big for a listing page, however it is still using _L image, how do I get it to use the _S image (small image) instead?
I have attached link to the example page in the admin section, Thanks!
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 20, 2015 at 5:52 am #749081Hi
You need to set it into K2 parameters for specific category , go to components ->K2 -> Categories -> on the right side choose the default dimensions for the Item view options
cymak Friendcymak
- Join date:
- August 2015
- Posts:
- 44
- Downloads:
- 5
- Uploads:
- 1
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
September 20, 2015 at 11:58 am #687205That won’t work as when I go to the main item view the image size would be small, I need small in the category list view but large when they click on the link for full article, thanks
cymak Friendcymak
- Join date:
- August 2015
- Posts:
- 44
- Downloads:
- 5
- Uploads:
- 1
- Thanks:
- 7
- Thanked:
- 2 times in 1 posts
September 20, 2015 at 11:58 am #749084That won’t work as when I go to the main item view the image size would be small, I need small in the category list view but large when they click on the link for full article, thanks
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 20, 2015 at 3:11 pm #687211Open this file
templatesja_social_iicssk2.css around line 1500 find this code
.com_k2 .genericItemImageBlock .genericItemImage a.modal img {
border: 0;
padding: 0;
width: 100% !important;
}Comment the line with
/*width: 100% !important;*/
Now go to your K2 categories configuration and choose dimensions for your category listing page
1 user says Thank You to pavit for this useful post
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
September 20, 2015 at 3:11 pm #749090Open this file
templatesja_social_iicssk2.css around line 1500 find this code
.com_k2 .genericItemImageBlock .genericItemImage a.modal img {
border: 0;
padding: 0;
width: 100% !important;
}Comment the line with
/*width: 100% !important;*/
Now go to your K2 categories configuration and choose dimensions for your category listing page
1 user says Thank You to pavit for this useful post
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by cymak 9 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum