Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1078365
    bluestack
    Participant

    Hi,

    I recently updated one of my sites to the latest version of X (I love the addition of Superfly BTW!!!) and with it the Envira update to version 1.5.

    The option to crop images on the page has now gone from the latest version which is a shame as I use it on sites with large galleries. I then thought I could just use an older version of the plugin to get that functionality back but nothing changed.

    I then tried to use this CSS I found on the forum:

    .square-images.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item-inner > a {
    padding-bottom: 100% !important;
    height: 0;
    display: block;
    position: relative;
    }

    .square-images.envira-gallery-wrap .envira-gallery-public.envira-gallery-css-animations .envira-gallery-item img {
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    }

    but it just squeezed the images into a square shape…is there anyway to modify the above CSS to crop the images?

    Thanks in advance!

    #1078947
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! Based on the given css above, the image will of course get squeezed or stretched out because of the 100% width and height. You should have a 100% width and set the height as auto or vice versa to prevent the image from being stretched out or getting squeezed.

    To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thank you.

    #1081429
    bluestack
    Participant

    Hi,

    thanks for the reply, sorry in the late response from me, I’ve not been too well over the weekend.

    I updated the Envira plugin to the latest version and I’ve since discovered the ‘crop image’ feature is hidden until you change the image size to ‘default.’ Having discovered this I updated the galleries to enable the crop function and still nothing changed so…

    …and this is weird…I decided to see if it was a plugin conflict so I disabled all plugins and re-enabled them one by one to see if any were causing the error.

    I did so and all of them are now active and the glitch hasn’t resurfaced, and I have no cache setup on the site…

    All is working now…err…thanks?

    #1081510
    Joao
    Moderator

    Thanks for lettings us know

    In case you still need help with any issue please contact us any time.

    Thanks

    Joao

    #1081568
    bluestack
    Participant

    Is it better to start a different problem on a new thread?

    #1081695
    Nabeel A
    Moderator

    Hi again,

    Yes it’s better to start a new thread for different problem to avoid long threads.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1078365 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>