-
AuthorPosts
-
August 23, 2013 at 2:07 pm #189989
Hi
How do I redefine the image size for images within K2 items?
I can see how to redefine image widths within the K2 parameters but this is not what I mean.
When you select an image for a K2 item it is a square image so that it appears properly in the “bricks”.
However, when you actually click on a K2 item and open it to view it, that image at the top of the document is cropped to a rectangle. How do I adjust the size that the in-item image is cropped to?
Thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 26, 2013 at 4:43 pm #503495Right now its difficult to guess the issue and give solution to you. It would be awesome if you can possibly include a screenshot and description on that particular screenshot on what you would like to do. Otherwise, it’s like solving a puzzle without clue.
August 28, 2013 at 1:25 pm #503782Thanks for the reply, I’ve attached an image that I hope illustrates what I’m talking about.
Many thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 29, 2013 at 3:45 am #503864You can fix the problem image details this way
Open templates/ja_argo/css/k2.css file
From
span.itemImage {
display: block;
text-align: center;
height: 300px;
overflow: hidden;
}Change to
span.itemImage {
display: block;
text-align: center;
overflow: hidden;
}1 user says Thank You to Ninja Lead for this useful post
August 29, 2013 at 9:26 am #503913Awesome thanks.
Where would I find the equivalent piece of code for non-K2 items?
Thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 29, 2013 at 9:28 am #503915Please give me URL of page where the same problem persists, I will suggest further then.
August 29, 2013 at 9:46 am #503918Here’s an example:
http://doyouevenhoon.com/index.php/categories/features/car-reviews1/18121-westfield-xtr2
Thanks Ninja!
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
August 30, 2013 at 9:48 am #504091You can custom it from img tags css class
Open templates/ja_argo/css/template.css file
From
img {
max-width: 100% !important;
}Change to
img {
max-width: none !important;
}AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by Ninja Lead 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
K2 Item Image Sizes
Viewing 8 posts - 1 through 8 (of 8 total)