Ignore:
Timestamp:
Dec 22, 2010, 4:15:35 PM (13 years ago)
Author:
plg
Message:

feature 2077 added: when ImageMagick is active, ability to remove or resize
the high definition version of the photo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/photos_add.php

    r6365 r8227  
    104104    'error_message' => l10n('The thumbnail image quality must be a number between %d and %d'),
    105105    ),
     106 
     107  'hd_keep' => array(
     108    'default' => true,
     109    'can_be_null' => false,
     110    ),
     111 
     112  'hd_resize' => array(
     113    'default' => false,
     114    'can_be_null' => false,
     115    ),
     116 
     117  'hd_maxwidth' => array(
     118    'default' => 2000,
     119    'min' => 500,
     120    'max' => 20000,
     121    'pattern' => '/^\d+$/',
     122    'can_be_null' => false,
     123    'error_message' => l10n('The high definition maximum width must be a number between %d and %d'),
     124    ),
     125 
     126  'hd_maxheight' => array(
     127    'default' => 2000,
     128    'min' => 500,
     129    'max' => 20000,
     130    'pattern' => '/^\d+$/',
     131    'can_be_null' => false,
     132    'error_message' => l10n('The high definition maximum height must be a number between %d and %d'),
     133    ),
     134 
     135  'hd_quality' => array(
     136    'default' => 95,
     137    'min' => 50,
     138    'max' => 100,
     139    'pattern' => '/^\d+$/',
     140    'can_be_null' => false,
     141    'error_message' => l10n('The high definition image quality must be a number between %d and %d'),
     142    ),
    106143  );
    107144
Note: See TracChangeset for help on using the changeset viewer.