AAAAacademiac/www/administrator/components/com_chronoforms/form_actions/image_resize/image_resize.ctp 0000604 00000035415 15137476341 0030712 0 ustar 00 home
Image Resize
Header(array('settings' => 'General', 'medium_image' => 'Medium Image', 'small_image' => 'Small Image'), 'image_resize_config_{n}'); ?>
tabStart('settings'); ?>
input('action_image_resize_{n}_delete_original_config', array('type' => 'select', 'label' => 'Delete Original', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Delete the original image from the upload directory')); ?>
input('action_image_resize_{n}_photo_config', array('type' => 'text', 'label' => 'Image field name', 'class' => 'medium_input', 'value' => '')); ?>
input('action_image_resize_{n}_quality_config', array('type' => 'text', 'label' => 'Output image(s) quality', 'class' => 'medium_input', 'smalldesc' => 'set the quality of ouput jpg images')); ?>
input('action_image_resize_{n}_big_directory_config', array('type' => 'text', 'label' => 'Big image directory', 'class' => 'medium_input', 'smalldesc' => 'Directory where the file will be stored. Don\'t forget the slash at the end ;-) e.g. images/stories/
If you leave this empty it will default to the Form file uploads folder.')); ?>
input('action_image_resize_{n}_big_image_prefix_config', array('type' => 'text', 'label' => 'Big image name prefix', 'class' => 'medium_input', 'smalldesc' => 'The prefix for the created image name e.g. big_')); ?>
input('action_image_resize_{n}_big_image_suffix_config', array('type' => 'text', 'label' => 'Big image name suffix', 'class' => 'medium_input', 'smalldesc' => 'The suffix for the created image name e.g. _big')); ?>
input('action_image_resize_{n}_big_image_height_config', array('type' => 'text', 'label' => 'Big image height', 'class' => 'medium_input', 'value' => '')); ?>
input('action_image_resize_{n}_big_image_width_config', array('type' => 'text', 'label' => 'Big image width', 'class' => 'medium_input', 'value' => '')); ?>
input('action_image_resize_{n}_big_image_r_config', array('type' => 'text', 'label' => 'Big image R color', 'class' => 'medium_input', 'smalldesc' => 'Alpha channel for png transparency. RGB color of the background.')); ?>
input('action_image_resize_{n}_big_image_g_config', array('type' => 'text', 'label' => 'Big image G color', 'class' => 'medium_input', 'smalldesc' => 'Alpha channel for png transparency. RGB color of the background.')); ?>
input('action_image_resize_{n}_big_image_b_config', array('type' => 'text', 'label' => 'Big image B color', 'class' => 'medium_input', 'smalldesc' => 'Alpha channel for png transparency. RGB color of the background.')); ?>
input('action_image_resize_{n}_big_image_method_config', array('type' => 'select', 'label' => 'Big image processing method', 'options' => array(0 => 'Resize', 1 => 'Resize & Crop'), 'smalldesc' => 'The way your images will be generated (either scale or crop)')); ?>
tabEnd(); ?>
tabStart('medium_image'); ?>
input('action_image_resize_{n}_med_image_use_config', array('type' => 'select', 'label' => 'Enable Medium image', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Should we generate a medium sized image ?')); ?>
input('action_image_resize_{n}_med_directory_config', array('type' => 'text', 'label' => 'Medium image directory', 'class' => 'medium_input', 'smalldesc' => 'Directory where the file will be stored. Don\'t forget the slash at the end ;-) e.g. images/stories/
If you leave this empty it will default to the Form file uploads folder.')); ?>
input('action_image_resize_{n}_med_image_prefix_config', array('type' => 'text', 'label' => 'Medium image name prefix', 'class' => 'medium_input', 'smalldesc' => 'The prefix for the created image name e.g. med_')); ?>
input('action_image_resize_{n}_med_image_suffix_config', array('type' => 'text', 'label' => 'Medium image name suffix', 'class' => 'medium_input', 'smalldesc' => 'The suffix for the created image name e.g. _med')); ?>
input('action_image_resize_{n}_med_image_height_config', array('type' => 'text', 'label' => 'Medium image height', 'class' => 'medium_input', 'value' => '')); ?>
input('action_image_resize_{n}_med_image_width_config', array('type' => 'text', 'label' => 'Medium image width', 'class' => 'medium_input', 'value' => '')); ?>
input('action_image_resize_{n}_med_image_r_config', array('type' => 'text', 'label' => 'Medium image R color', 'class' => 'medium_input', 'smalldesc' => 'Alpha channel for png transparency. RGB color of the background.')); ?>
input('action_image_resize_{n}_med_image_g_config', array('type' => 'text', 'label' => 'Medium image G color', 'class' => 'medium_input', 'smalldesc' => 'Alpha channel for png transparency. RGB color of the background.')); ?>
input('action_image_resize_{n}_med_image_b_config', array('type' => 'text', 'label' => 'Medium image B color', 'class' => 'medium_input', 'smalldesc' => 'Alpha channel for png transparency. RGB color of the background.')); ?>
input('action_image_resize_{n}_med_image_method_config', array('type' => 'select', 'label' => 'Medium image processing method', 'options' => array(0 => 'Resize', 1 => 'Resize & Crop'), 'smalldesc' => 'The way your images will be generated (either scale or crop)')); ?>
tabEnd(); ?>
tabStart('small_image'); ?>
input('action_image_resize_{n}_small_image_use_config', array('type' => 'select', 'label' => 'Enable Small image', 'options' => array(0 => 'No', 1 => 'Yes'), 'smalldesc' => 'Should we generate a small sized image ?')); ?>
input('action_image_resize_{n}_small_directory_config', array('type' => 'text', 'label' => 'Small image directory', 'class' => 'medium_input', 'smalldesc' => 'Directory where the file will be stored. Don\'t forget the slash at the end ;-) e.g. images/stories/
If you leave this empty it will default to the Form file uploads folder.')); ?>
input('action_image_resize_{n}_small_image_prefix_config', array('type' => 'text', 'label' => 'Small image name prefix', 'class' => 'medium_input', 'smalldesc' => 'The prefix for the created image name e.g. small_')); ?>
input('action_image_resize_{n}_small_image_suffix_config', array('type' => 'text', 'label' => 'Small image name suffix', 'class' => 'medium_input', 'smalldesc' => 'The suffix for the created image name e.g. _small')); ?>
input('action_image_resize_{n}_small_image_height_config', array('type' => 'text', 'label' => 'Small image height', 'class' => 'medium_input', 'value' => '')); ?>
input('action_image_resize_{n}_small_image_width_config', array('type' => 'text', 'label' => 'Small image width', 'class' => 'medium_input', 'value' => '')); ?>
input('action_image_resize_{n}_small_image_r_config', array('type' => 'text', 'label' => 'Small image R color', 'class' => 'medium_input', 'smalldesc' => 'Alpha channel for png transparency. RGB color of the background.')); ?>
input('action_image_resize_{n}_small_image_g_config', array('type' => 'text', 'label' => 'Small image G color', 'class' => 'medium_input', 'smalldesc' => 'Alpha channel for png transparency. RGB color of the background.')); ?>
input('action_image_resize_{n}_small_image_b_config', array('type' => 'text', 'label' => 'Small image B color', 'class' => 'medium_input', 'smalldesc' => 'Alpha channel for png transparency. RGB color of the background.')); ?>
input('action_image_resize_{n}_small_image_method_config', array('type' => 'select', 'label' => 'Small image processing method', 'options' => array(0 => 'Resize', 1 => 'Resize & Crop'), 'smalldesc' => 'The way your images will be generated (either scale or crop)')); ?>
tabEnd(); ?>