Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • cymak Friend
    #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 Moderator
    #749081

    Hi

    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 Friend
    #687205

    That 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 Friend
    #749084

    That 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 Moderator
    #687211

    Open 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

    pavit Moderator
    #749090

    Open 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

    cymak Friend
    #687213

    That worked perfect, Thanks!!

    cymak Friend
    #749092

    That worked perfect, Thanks!!

Viewing 8 posts - 1 through 8 (of 8 total)

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