Okay
  Public Ticket #1568119
image size on portfolio items
Closed

Comments

  • Matteo started the conversation

    Hi,

    I would like to resize all the images here on this page

    http://www.giuseppeferlito.com/cinema/

    because I want all portfolio items to be shown the same measures. I tried to resize the first 6 images but, even if I set the same height for every image, the result is not good.

    Is there a solution?

    Thank you very much

  • [deleted] replied

    Hi Matteo,

    To do that you just need to disable the Dynamic Display Height option.


    (view on new page)

    Have a nice day!

  • Matteo replied

    Hi,

    I tried yesterday too but the results are the same...

    http://www.giuseppeferlito.com/cinema/

  • [deleted] replied

    Hi Matteo,

    Can you please update Kalium to version 2.4 and see if the same is happening again?

    Thanks!

  • Matteo replied

    It's still the same...

  • [deleted] replied

    Hi Matteo,

    Since you are using this option:


    (view large version)

    The portfolio layout automatically turns to masonry mode, so in order not to force you to remove this setting, I have added the following code in Theme Options > Footer:

    <script>
    jQuery( '.portfolio-holder' ).addClass( 'is-fitrows-layout' );
    </script>
    
    So now all portfolio items are shown in rows.

  • Matteo replied

    Thank you very much.

    I have a similar issue (but if you want I open a separate ticket) on this page:

    http://www.giuseppeferlito.com/cinema/

    I tried to disable "dynamic image height" but, as you can see, almost all thumbnails are misalign.

    I can't find a solution.

    Thank you in advance

  • [deleted] replied

    Hi Matteo,

    I visited that page and I see that the JS code I gave you before is applied. Isn't this the correct way of image alignment:


    (view large version)

    If not, please let me know how you want to align the images and I will try to help you.

  • Matteo replied

    Hi Arlind,

    I hust would like to have all thumbnails with the same size: do I have to resize all the images one by one? I thought that the theme, in portfolio settings, had a feature that makes me all thumbnails with exactly the same size.

    I hope i'ts clear...

    Thank you very in advance,

    Matteo

  • [deleted] replied

    Hi Matteo,

    If you want a fixed thumbnail size that is easy, firstly you need to disable "dynamic height" images:


    (view large version)

    In theme options, click Portfolio Settings and select titles inside option:


    (view large version)

    After that, set the desired dimensions for your portfolio thumbnails:


    (view large version)

    And regenerate images:

    https://documentation.laborator.co/kb/kalium/regenerate-thumbnails-kalium/

    I hope this works for you.

  • Matteo replied

    Hi Airlind,

    I'm sorry but unfortunately it doesn't work...I have done all the steps.

    Could you check if something is missing?

    Thanks a lot,

    Matteo

  • [deleted] replied

    Hi Matteo,

    I have checked the thumbnails and I saw that the featured image is resized properly, however few images didn't meet the "400x700" dimensions, in this case wordpress won't enlarge images if any of the dimension is lower than the expected (for example 350x800, wont resize because image width is lower than required 400).

    Here are the image sizes that have been resized, however the ones that could not be resized does not meet thumbnail dimensions set by you:

    https://d.pr/v/FxpKVC

    I hope this will make sense for you.

  • Gertsch91 replied

    Hey Arlind,
    i've got a similar Problem.
    I want the thumbnails on my home page to be full size (just featured projects) and on the portfolio grid (separate site) to be all the same size (3 cols, 3 items per row).

    How can I achieve that?

  • [deleted] replied

    Hi Gertsch91,

    Kindly open a new ticket and post your request so it will be helpful for the other users to take advantage of searching them on the forum. We’re glad to help you in your new thread.

    Will set this ticket as solved from here.