-
AuthorPosts
-
waelali Friend
waelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 28, 2012 at 11:16 pm #175530Please 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
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 29, 2012 at 4:50 am #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;
}1 user says Thank You to khoand for this useful post
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 29, 2012 at 7:00 am #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 Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 29, 2012 at 7:01 am #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.cssspan.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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 29, 2012 at 5:45 pm #446336I 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
1 user says Thank You to khoand for this useful post
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 29, 2012 at 6:06 pm #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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
March 29, 2012 at 6:29 pm #446351I 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
1 user says Thank You to khoand for this useful post
waelali Friendwaelali
- Join date:
- February 2012
- Posts:
- 336
- Downloads:
- 11
- Uploads:
- 87
- Thanks:
- 88
- Thanked:
- 10 times in 1 posts
March 29, 2012 at 9:18 pm #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 ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 29, 2012 at 9:29 pm #446389There 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/
1 user says Thank You to Phill for this useful post
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 3 voices, and was last updated by Phill 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Making all images the same dimension in Category vide
Viewing 9 posts - 1 through 9 (of 9 total)