• Jetpack Photon image stretch in responsive Artisteer theme

    Jetpack Photon image stretch in responsive Artisteer theme

    I recently noticed that when Jetpack’s Photon module is activated strange things may start happening in Safari on my iPad.

    Expected behaviour

    Images should not be stretched out of proportion when window size changes.

    Actual behaviour

    Some images get stretched vertically when viewed on an iPad using Safari.

    Problem explanation

    It’s difficult to debug the jQuery running in Safari and I wasn’t able to reproduce the problem emulating an iPad in Chrome on Windows.

    But, I’ve concluded that there are two bits of jQuery which are both trying to adjust the image height and width and Photon’s probably being asked for the wrong image size.

    Pragmatic workaround

    One or more of the following:

    • Deactivate Photon
    • Switch themes
    • Hardcode image tags to include the width and height
    • Don’t use the iPad

    Long term fix

    Switch themes

    Sydney botanical gardens parakeets

    “If we go on Safari would we be compatible or would it be a bit of a stretch?”


    ,

    Published:

    Last updated:

    May 14, 2015

Categories

Tide times from tidetimes.org.uk

Tide Times & Heights for Langstone Harbour on
9th August 2022
02:38 Low Tide ( 1.67m )
09:44 High Tide ( 4.32m )
15:10 Low Tide ( 1.73m )
22:13 High Tide ( 4.53m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on
9th August 2022
02:47 Low Tide ( 1.11m )
09:54 High Tide ( 4.08m )
15:15 Low Tide ( 1.16m )
22:14 High Tide ( 4.33m )
WordPress version:6.0.1
Gutenberg version:13.7.3

[clone]

[cloned]