Align proxy sizes to photo preview sizes
- PIXEL_SMALL goes from 300 to 320 - PIXEL_MEDIUM goes from 600 to 640 - Use Proxy pixel constants where we used hard-coded pixel values
This commit is contained in:
@@ -36,8 +36,8 @@ class Proxy
|
||||
*/
|
||||
const SIZE_MICRO = 'micro'; // 48
|
||||
const SIZE_THUMB = 'thumb'; // 80
|
||||
const SIZE_SMALL = 'small'; // 300
|
||||
const SIZE_MEDIUM = 'medium'; // 600
|
||||
const SIZE_SMALL = 'small'; // 320
|
||||
const SIZE_MEDIUM = 'medium'; // 640
|
||||
const SIZE_LARGE = 'large'; // 1024
|
||||
|
||||
/**
|
||||
@@ -45,8 +45,8 @@ class Proxy
|
||||
*/
|
||||
const PIXEL_MICRO = 48;
|
||||
const PIXEL_THUMB = 80;
|
||||
const PIXEL_SMALL = 300;
|
||||
const PIXEL_MEDIUM = 600;
|
||||
const PIXEL_SMALL = 320;
|
||||
const PIXEL_MEDIUM = 640;
|
||||
const PIXEL_LARGE = 1024;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user