Skip to content

Images showing at reduced size on high resolution displays #48

@okyeron

Description

@okyeron

On my newish M1 Macbook Pro I was noticing that images which should have been displaying at "original" size were showing at a smaller size instead. In this case a 720x480 image was showing at half that.

Digging into the code in photo.autosize.js I found that when available.dpr = 2 (in my case) then line 10 would return an image half as big as it should

return {w: Math.round(d.w / available.dpr), h: Math.round(d.h / available.dpr)};

For the moment I've modified my installation to just use {w: Math.round(d.w), h: Math.round(d.h)}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions