Height images gallery.

  • Is it possible to make the height of the different images that make up a gallery is always the same?

    The question is to do it through a script, for example, without changing the original height of the image.

    In part this visually solve part of the problem that we discussed earlier.

    Gracias!

    The blog I need help with is: (visible only to logged in users)

  • Hi there!

    You definitely can use images with different heights; however, you may experience the problem that previously discussed with us. Is there something in particular that you are trying to accomplish?

  • Yes.

    That several images of different heights between them, to be included in the same gallery set a single height and its width is changed proportionally.

    This with a script, for example, without changing the original height of the image.

    Hope it is clear.

    Thank you.

  • incidentallypinabaft · Member ·

    Hi there!

    It may be possible to set a fixed height using CSS. Can you please provide us a link to one of your galleries, so we can take a look?

  • Really what I want to achieve is that the distance between gallery gallery and my site yanezhormazabal.com has a maximum, and that images proportionally to fit it.

    This is because now the text at the bottom of the gallery changes its position according to the height of the image, which is annoying, regardless of the previous topic.

    I managed to set a maximum height for images.

    article img, # img {content.page
    margin-bottom: 1.5em;
    width: auto;
    max-height: 450px;
    }

    But the problem persists when the image has a lower height than the maximum value set, since that annoying again generated variation of the position of the text at the bottom of the gallery.

    It would be great would supply that distance with “white” placing the center (top) image involved.

    If you have an idea I’d appreciate it! :)

  • incidentallypinabaft · Member ·

    Hi again!

    It’s great to see you’ve made some progress with this. It looks like you’ve set a max-height for your galleries. Have you tried using a fixed height instead?

  • The topic ‘Height images gallery.’ is closed to new replies.