• Resolved noahhayling

    (@noahhayling)


    Hey, so I have a Footer with a text widget, and I want to display 3 images below the text. For this I originally set up three Image (Jetpack) widgets and uploaded the images to the media section, and copied the links and put them in the URL boxes of the respective Widgets. That didn’t work.

    Images weren’t the same size, so I took the images (two are based on the same ‘badge’) and made sure they were the same size, and sized the third to match the height of the first two. Thinking this would make them play nice in the footer. Also incorrect.

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter noahhayling

    (@noahhayling)

    (Apologies, hit enter and it posted)

    So, thirdly I took all three images, slapped the together to form one image, with the ideal spacing and sizing, and I uploaded that one image into one sole Image (Jetpack) Widget, and now it makes the one image super small rather than filling up the available real estate as I would like. (I deleted the other, now not necessary widgets)

    The picture I am trying to upload

    Notice the size, it’s a good size and I would like wordpress to downsize it if needed, but I would like it to be as big as it could be (to it’s real size) on the page.

    Here is how it actually turns out…
    What is actually happening

    Thread Starter noahhayling

    (@noahhayling)

    Again, accidentally hit enter and accidentally submitted..

    Anyone know how I could achieve this? (I am a wordpress noobie if you couldn’t tell)

    Thanks,

    Plugin Contributor Ryan C.

    (@ryancowles)

    Hi there! I’d be happy to help. Could you post your site URL here, so I can have a look?

    If you want it to remain private, you can contact us using the form here:
    https://jetpack.com/contact-support/

    Please make sure to include a link to this thread in your message. Thanks!

    Thread Starter noahhayling

    (@noahhayling)

    Hey, my site url is https://islandarchery.com/ and it’s in the full width footer widget towards the bottom of the page

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you go to Appearance > Widgets in your dashboard, and make sure the image width and height settings are correct and match the image size?

    Let me know what you find!

    Thread Starter noahhayling

    (@noahhayling)

    Yes, the widget is set to display the image at the full size the image is, but on the actual site, the image is shrunk down to where it is barely readable.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    For some reason the width appears to be limited to 312px. Could you let me know what the width setting is set to under Appearance > Widgets?

    Thread Starter noahhayling

    (@noahhayling)

    Hey Again,

    The width in pixels is set to 1232, and the height in pixels is set to 301. (The auto filled values, as I left blank for it to determine the size on its own, and I have entered the actual dimensions in manually, with no difference.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    hm, this is odd.

    Could you try to add the following to your theme’s functions.php, and let me know if it helps?

    function jetpackcom_custom_gallery_content_width(){
        return 1232;
    }
    add_filter( 'gallery_widget_content_width', 'jetpackcom_custom_gallery_content_width' );
    Thread Starter noahhayling

    (@noahhayling)

    I used code snippets to add that code, and it changed nothing.

    Thread Starter noahhayling

    (@noahhayling)

    What’s even weirder is if I right click the picture, and click open in new tab it opens up as a 685 x 167 photo.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Thanks for giving it a try! Could you go to Jetpack > Settings > Writing in your dashboard, disable the “Speed up images and photos” option, and let me know if it changes anything?

    Thanks!

    Thread Starter noahhayling

    (@noahhayling)

    Disabled it, no changes.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Oh, I see. It looks like your theme limits the width of each widget area in your footer. There are 3 different areas in that footer, and each area can’t be wider than 30% of the whole width:
    https://i.wpne.ws/kNau

    That width restriction is not the same for all widget types, though. The theme also forces text widgets to take the whole 100%:
    https://i.wpne.ws/kORV

    I would consequently recommend that you apply the same CSS override to image widgets as well, by adding the following to your theme stylesheet, or to your custom CSS editor available under Appearance > Customize > Additional CSS in your dashboard:

    
    @media screen and (min-width: 768px) {
        .site-content .full-width-widget-area .widget_image {
            flex-basis: 100%;
        }
    }
    

    I hope this helps.

    Thread Starter noahhayling

    (@noahhayling)

    That worked!

    Thanks a lot!

    Very Appreciative of the great support!

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Image (Jetpack) Widget Resizing Photos?’ is closed to new replies.