Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • waelali Friend
    #175530

    Please go to my link: http://www.tkareer.com/index.php?option=com_k2&view=itemlist&layout=category&Itemid=414

    You will see few images , for every article. The images are in different dimensions.
    I want to make all of them the same dimensions. Is there any way to do that ??

    Please see attached image


    1. Tkareer-1
    khoand Friend
    #446250

    – There is a best way is that change dimension of original images.
    – Another way is that you add the code into /templates/ja_teline_iv/css/template.css

    span.catItemImage img {
    width: 600px !important;
    height: 400px !important;
    }

    waelali Friend
    #446268

    <em>@khoand 310882 wrote:</em><blockquote>- There is a best way is that change dimension of original images.
    – Another way is that you add the code into /templates/ja_teline_iv/css/template.css

    span.catItemImage img {
    width: 600px !important;
    height: 400px !important;
    }

    </blockquote>

    This is not completely true, since this will affect also the more images , at the bottom of the page , where you see small thumbnails.

    I am sure there is configuration to change, and not by adding css.

    waelali Friend
    #446269

    <em>@khoand 310882 wrote:</em><blockquote>- There is a best way is that change dimension of original images.
    – Another way is that you add the code into /templates/ja_teline_iv/css/template.css

    span.catItemImage img {
    width: 600px !important;
    height: 400px !important;
    }

    </blockquote>

    This is not completely true, since this will affect also the more images , at the bottom of the page , where you see small thumbnails.

    I am sure there is configuration to change, and not by adding css.

    khoand Friend
    #446336

    I am sure there is configuration to change, and not by adding css.

    – I don’t think so. K2 change dimension of images by the ratio between width and height. So you just change width of images by configuration and height will be changed by ratio (height can’t be set by specific value). So there is just a suitable way is that define css

    waelali Friend
    #446344

    <em>@khoand 310998 wrote:</em><blockquote>- I don’t think so. K2 change dimension of images by the ratio between width and height. So you just change width of images by configuration and height will be changed by ratio (height can’t be set by specific value). So there is just a suitable way is that define css</blockquote>

    I understand, so lets try do that without affecting teh bottom thumbnails 🙂

    khoand Friend
    #446351

    I think you should change dimension of original images. I can help you by use css define to specify 2 first images should be specific dimension. But when you have a new k2 article, my solution is not right

    waelali Friend
    #446387

    <em>@khoand 311015 wrote:</em><blockquote>I think you should change dimension of original images. I can help you by use css define to specify 2 first images should be specific dimension. But when you have a new k2 article, my solution is not right</blockquote>

    Ok. Thank you

    Phill Moderator
    #446389

    There is another option, JA have a plugin specifically designed to do this job. It also resizes them properly so the filesize is smaller than just forcing it with html or css.

    http://www.youtube.com/watch?v=XF5G3gMCmCI

    http://www.joomlart.com/forums/topic/ja-thumbnail-plugin-for-joomla-2-5-userguide/

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

This topic contains 9 replies, has 3 voices, and was last updated by  Phill 12 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum