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

    Right 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.

    nylonadmiral Friend
    #503782

    Thanks for the reply, I’ve attached an image that I hope illustrates what I’m talking about.

    Many thanks


    1. K2ItemImage
    Ninja Lead Moderator
    #503864

    You 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;
    }

    nylonadmiral Friend
    #503913

    Awesome thanks.

    Where would I find the equivalent piece of code for non-K2 items?

    Thanks

    Ninja Lead Moderator
    #503915

    Please give me URL of page where the same problem persists, I will suggest further then.

    nylonadmiral Friend
    #503918
    Ninja Lead Moderator
    #504091

    You 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;
    }

Viewing 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