• Resolved rignano

    (@rignano)


    Is there a way to keep images at original pixel resolution on ‘retina’ screens?

    At the moment a 400×400 res image will enlarge to fill 800×800 pixels on a X2 retina screen such as the iPad, making it look less sharp. I know this behaviour is intended (so that images don’t appear too small), but maintaining original 1:1 pixel sharpness is more important for my project.

    Is it possible to force the image to stay at 1:1 pixel density/original resolution (400×400) when viewed on a retina screen?

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author bradvin

    (@bradvin)

    hey @rignano,

    You can choose to not generate retina thumbs for a gallery by making sure the retina options are not checked in the retina metabox when editing a gallery.

    Give that a try and let me know if it works for you.

    Thread Starter rignano

    (@rignano)

    Thanks for your response. It’s not an issue with the gallery, but when the full-sized image is loaded up in Foobox. Basically, I want the images in Foobox to always show at original, physical pixel size (not CSS pixel size). In other words, on devices with pixel ratios greater than 1 (such as the iPad) then the image width and height is reduced in order to maintain a 1:1 physical pixel ratio.

    Device pixel ratio of 1 = Image shown 100% width, 100% height
    Device pixel ratio of 2 = Image shown 50% width, 50% height
    Device pixel ratio of 4 = Image shown 25% width, 25% height

    This will then keep 1:1 ratio with the physical pixels of the screen and ensure smaller images are kept sharp. Hope this makes sense!

    Hi @rignano,

    I’m going to tag @bradvin to review this for you again when he’s available. Please note he’s travelling internationally at the moment so it may take up to a week for him to be back online.

    Plugin Author bradvin

    (@bradvin)

    Hi @rignano

    FooBox will load whatever is linked to in the anchors href, so it should be working already.

    Can you please link to your site so I can look at the images on different devices, and see the issue you are having.

    Hi @rignano,

    Are you still having this issue? If so are you able to provide a link to your site so that we can take a look for you?

    Hi @rignano,

    We haven’t heard back from you so I’m going to assume that you have found a solution and and will mark this support request as resolved.?

    Please feel free to open up a new support request if there is anything else we can help you with.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Keep 1:1 pixel ratio on retina screens’ is closed to new replies.