Image size in Project Gallery

Mauer Themes Support Bild Image size in Project Gallery

This topic contains 9 replies, has 2 voices, and was last updated by  Paul 6 months, 3 weeks ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1450

    Simon
    Participant

    Hi

    Would like to post my project like this:
    https://www.cramarts.ch/proj/monika-chris/

    But most of my project looks like this with no full image size below:
    https://www.cramarts.ch/proj/ale-pasci-2/

    Maybe you can tell me the solution.

    Thank you
    Simon

    #1463

    Paul
    Keymaster

    Hello Simon,

    Yes, I’ve got a solution for you.

    This is most likely caused by the use of JetPack’s Photon module which forces certain width for images. Not sure why it does that in one project and does not in another, though. I guess it may have to do with the modifications that you’ve obviously made to the logics of the gallery shortcode.

    Anyway, you can override that and have the images always displayed as in the first link by using the following CSS rule:

    .mauer-pswp-gallery figure a img {width:100%!important; height: auto;}

    You can insert custom CSS with this plugin. Once you install and activate it, in your Admin Panel please go to ‘Appearance’ > ‘Custom CSS’, paste the code and save.

    Please let me know if this has worked out for you.

    Regards,
    Paul

    #1465

    Simon
    Participant

    great, great, great. it works perfectly.

    Thank you very much, great support Paul

    bye
    Simon

    #1468

    Paul
    Keymaster

    Simon, I’m glad it has worked out for you.

    I would really appreciate if you could rate the theme on ThemeForest ; )

    #2084

    Simon
    Participant

    I had the same issue today by uploading 2 new projects.

    D&U


    It works very well and looks like it should

    S&I


    Here it doesn’t work but I made it exactly the same way.

    Maybe you can give me a tip to fix this again?

    I have a child theme and includes the code you gave me before.

    Thank you Paul
    Bye
    Simon

    #2090

    Paul
    Keymaster

    Simon,

    Sure let’s figure this out.

    Can you please elaborate on the issue, though. Right now I can see that the D&U and S&I pages that you have linked are displaying images using the same width, see screenshots:

    So can you please explain the issue in more detail? Thanks.

    Regards,
    Paul

    #2103

    Simon
    Participant

    Hi Paul

    In the first example, the images in high position showed full.
    in the second example the high images showed up as a square images.

    I would like to have at ani time the full size of the images.

    I also have weird views on this site. sometimes it works and sometimes not.

    Portrait

    Thank you, I appreciate your help
    Simon

    #2104

    Paul
    Keymaster

    Simon,
    Please turn off the Jetpack’s Photon module (under ‘Jetpack’ > ‘Settings’ in the Admin Panel):

    Then clear your browser cache and see if the issue persists.

    Regards,
    Paul

    #2105

    Simon
    Participant

    Hi Paul

    Did it, clear the cache but it doesn’t work.
    what makes me weird is, one gallery works and the other one not.

    maybe depend on the amount of Fotos?

    Bye
    Simon

    #2106

    Paul
    Keymaster

    Simon,

    I think I know the reason.
    Can you please send me your WP Admin credentials to pavel [аt] mauer.co?
    I need to take a look on the inside.

    Regards,
    Paul

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.