diff options
author | redmatrix <git@macgirvin.com> | 2016-01-14 17:25:27 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-14 17:25:27 -0800 |
commit | 64753effd1cd47c43846e5bc8653180acd7c4bc9 (patch) | |
tree | 05d14ed6842e8b657143580b6c19954542eef181 /boot.php | |
parent | be9442e7b30c27d3ab91dc79c8dd1ff721a2d260 (diff) | |
download | volse-hubzilla-64753effd1cd47c43846e5bc8653180acd7c4bc9.tar.gz volse-hubzilla-64753effd1cd47c43846e5bc8653180acd7c4bc9.tar.bz2 volse-hubzilla-64753effd1cd47c43846e5bc8653180acd7c4bc9.zip |
cover photo fetch and widget
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -245,6 +245,21 @@ define ( 'PHOTO_COVER', 0x0010 ); define ( 'PHOTO_ADULT', 0x0008 ); define ( 'PHOTO_FLAG_OS', 0x4000 ); + +define ( 'PHOTO_RES_ORIG', 0 ); +define ( 'PHOTO_RES_1024', 1 ); // rectangular 1024 max width or height, floating height if not (4:3) +define ( 'PHOTO_RES_640', 2 ); // to accomodate SMBC vertical comic strips without scrunching the width +define ( 'PHOTO_RES_320', 3 ); // accordingly + +define ( 'PHOTO_RES_PROFILE_300', 4 ); // square 300 px +define ( 'PHOTO_RES_PROFILE_80', 5 ); // square 80 px +define ( 'PHOTO_RES_PROFILE_48', 6 ); // square 48 px + +define ( 'PHOTO_RES_COVER_1200', 7 ); // 1200w x 435h (2.75:1) +define ( 'PHOTO_RES_COVER_850', 8 ); // 850w x 310h +define ( 'PHOTO_RES_COVER_425', 9 ); // 425w x 160h + + /** * Menu types */ |