You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the thumbnail is generated using WPImageURLHelper, it works OK because it accepts the size in pixels.
But when the thumbnail URL is created by PhotonImageURLHelper, it accepts size in points and multiples the size by the screen scale again. In the case of my device, 288x288px becomes 864x864px after being multiplied by the screen scale (x3).
Expected behavior
Actual behavior
Steps to reproduce the behavior
RCA
The media cell requests the size of the thumbnail in pixels (see WPMediaCollectionViewCell.swift:309):
When the thumbnail is generated using
WPImageURLHelper
, it works OK because it accepts the size in pixels.But when the thumbnail URL is created by
PhotonImageURLHelper
, it accepts size in points and multiples the size by the screen scale again. In the case of my device,288x288px
becomes864x864px
after being multiplied by the screen scale (x3).Example resulting URL: https://i0.wp.com/alextest41234.files.wordpress.com/2023/07/sample-1.gif?quality=80&resize=864,864&ssl=1
The text was updated successfully, but these errors were encountered: