Suggestion: add ‘full’ to help quality issues with portraits
-
Hey,
met the portrait quality issue described in an other issue.
After some digging, it seems to be caused by the fact that portrait photos that have a width of less than 768 (or 1024) and height of less or equal than 1024 pixels will not have image sizes ‘medium_large’ or ‘large’ generated for them. As codeneric\phmm\base\includes\Image::get_image() will only consider intermediate sizes, it will end up using the ‘medium’ size, which is by default set to 300 pixels. As a end result, a image with size of ~200×300 will end up being used which will appear blurry. The workaround for this is to use images that are larger than 768 pixels in width, or for slightly better results for modal display, images that are larger than the height OR width set for large images (1024 by default).
The issue of having images fall back to ‘medium’ when intentionally trying to save some space on the web server could be helped with allowing the codeneric\phmm\base\includes\Image::get_image() to use ‘full’ image size if only ‘medium’ and ‘thumbnail’ are available (if $available_uncropped_sizes does not contain ‘medium_large’ or ‘large’).
- The topic ‘Suggestion: add ‘full’ to help quality issues with portraits’ is closed to new replies.