Okay
  Public Ticket #969428
Image sizes in gallery posts?
Closed

Comments

  •  1
    Robert started the conversation

    7 - Could you please desribe the logic of size-adaption, which is applied to the images in a gallery post?

    Look here: http://www.refro.at/refroto/wp2/?p=102

    All my images for a post are processed to FullHD, but keep their original proportion. So an image reaches either in height (eg. portrait orientation, images trimmed to 1:1 format, ..) or width FullHD spec (landscape orientation).

    Unfortunately Kalium applies some stretching to full witdh of the gallery post AND also applies a trimming in height when displayed in a gallery post. How can I avoid or customize this behavior?
    It's easy too see the difference of the original format & size and the format & size in the post, just click on the image.

    My wish:
    The images should be displayed in the post extactly the way they are, with no adaptions applied at all - meaning they keep their original pixel size in width & height.

    How can I achieve this?

    Thx, Robert

  • [deleted] replied

    Hi Robert,

    You are right, however we are in process of implementing this feature. Most of the sections in Kalium require fullwidth containers and thats why we didn't gave priority to this one.

    We are going to fix this in the next update.

    If you want I can make real size images for your gallery container.

  •  1
    Robert replied

    Good evening Arlind,

    I must confess that I have troubles understanding your offer to make "make real size images for my gallery container." ?

    Does this mean that you have to adapt the images or have to adapt the template/gallery container?

    If it's not too much work for you maybe I can learn something? Otherwise I'm not unhappy waiting for the update and see what's happening...


    Do I have to change something after the update to get "real size images" for my gallery posts?

    Thx 4 your quick reply (support is wonderful from laborator :-) )

    Robert

  • [deleted] replied

    Hi Robert,

    With "real size" I mean this option:

    http://www.refro.at/refroto/wp2/?p=102&realsize=1

    You can view that the images have the current width and height, not stretched to the edge of browser. You may compare differences with current look:

    http://www.refro.at/refroto/wp2/?p=102

    In case you want to enable "real sizes" add this code in functions.php (end of file):

    add_filter( 'kalium_as_element_realsize', '__return_true' );
    
    I hope you will like it.

    Have a great day and thanks for your kind words!

  •  1
    Robert replied

    Arlind, sorry to reopen this ticket, but I have one further question: 

    - What us the exact image with for images placed WITHIN the container? I have measured 1316px?
    - Is this size subject to change or stable?


    Thx again & kind regards,
    Robert

  • [deleted] replied

    Hi Robert,

    No worries, you can ask anytime you want about any concerns about Kalium theme.

    So my answer to your question is:

    The container size of Kalium has maximum width of 1140 pixels:


    (view large version)

    Any image uploaded will be shown at that maximum size, unless you use Portfolio full screen type or lightbox.

    This container size has been since version 1.0 and we do not plan to change it for the future unless required by clients, they can do it with simple CSS but the standard grid size is 1170px in width (30 pixels padding = 1140px).

    I hope this will help you.