<?php i18n_gallery_register('supersized', 'Supersized', '<strong>Supersized</strong> resizes images to fill browser while maintaining image dimension ratio and cycles them via slideshow with transitions and preloading.<br/>' . 'You need to use an empty template without styles, navigation, etc. for a page displaying this slide show.<br/>' . 'License: MIT and GPL<br/>' . '<a target="_blank" href="http://www.buildinternet.com/project/supersized/">http://www.buildinternet.com/project/supersized/</a>', 'i18n_gallery_supersized_edit', 'i18n_gallery_supersized_header', 'i18n_gallery_supersized_content'); function i18n_gallery_supersized_edit($gallery) { ?> <p> <label for="supersized-width"><?php i18n('i18n_gallery/MAX_DIMENSIONS'); ?> </label> <input type="text" class="text" id="supersized-width" name="supersized-width" value="<?php echo @$gallery['width']; ?> " style="width:5em"/> x <input type="text" class="text" id="supersized-height" name="supersized-height" value="<?php echo @$gallery['height']; ?> " style="width:5em"/> </p> <p> <label for="supersized-interval"><?php i18n('i18n_gallery/INTERVAL'); ?> </label> <input type="text" class="text" id="supersized-interval" name="supersized-interval" value="<?php echo @$gallery['interval']; ?> " style="width:5em"/> </p>
<?php i18n_gallery_register('fancybox', 'fancybox', '<strong>FancyBox</strong> is a tool for displaying images and can display a title along with the image. It does not have a slideshow feature.<br/>' . 'License: MIT and GPL<br/>' . '<a target="_blank" href="http://fancybox.net/">http://fancybox.net/</a>', 'i18n_gallery_fancybox_edit', 'i18n_gallery_fancybox_header', 'i18n_gallery_fancybox_content'); function i18n_gallery_fancybox_edit($gallery) { ?> <p> <label for="fancybox-thumbwidth"><?php i18n('i18n_gallery/MAX_THUMB_DIMENSIONS'); ?> </label> <input type="text" class="text" id="fancybox-thumbwidth" name="fancybox-thumbwidth" value="<?php echo @$gallery['thumbwidth']; ?> " style="width:5em"/> x <input type="text" class="text" id="fancybox-thumbheight" name="fancybox-thumbheight" value="<?php echo @$gallery['thumbheight']; ?> " style="width:5em"/> <span id="fancybox-thumbcrop-span"> <input type="checkbox" id="fancybox-thumbcrop" name="fancybox-thumbcrop" value="1" <?php echo @$gallery['thumbcrop'] ? 'checked="checked"' : ''; ?> style="vertical-align:middle; width:auto;"/> <?php i18n('i18n_gallery/CROP'); ?> </span> </p>
<?php i18n_gallery_register('cycle', 'cycle', '<strong>cycle</strong> is a slideshow plugin that supports many different types of transition effects.<br/>' . 'License: MIT and GPL<br/>' . '<a target="_blank" href="http://jquery.malsup.com/cycle/">http://jquery.malsup.com/cycle/</a>', 'i18n_gallery_cycle_edit', 'i18n_gallery_cycle_header', 'i18n_gallery_cycle_content'); function i18n_gallery_cycle_edit($gallery) { ?> <p> <label for="cycle-width"><?php i18n('i18n_gallery/MAX_DIMENSIONS'); ?> </label> <input type="text" class="text" id="cycle-width" name="cycle-width" value="<?php echo @$gallery['width']; ?> " style="width:5em"/> x <input type="text" class="text" id="cycle-height" name="cycle-height" value="<?php echo @$gallery['height']; ?> " style="width:5em"/> <span id="cycle-crop-span"> <input type="checkbox" id="cycle-crop" name="cycle-crop" value="1" <?php echo @$gallery['crop'] ? 'checked="checked"' : ''; ?> style="vertical-align:middle"/> <?php i18n('i18n_gallery/CROP'); ?> </span> </p>
<?php i18n_gallery_register('prettyphoto', 'prettyPhoto', '<strong>prettyPhoto</strong> is a jQuery lightbox clone. It features a slideshow mode and can display both titel and description of an image.<br/>' . 'License: Creative Commons Attribution 2.5<br/>' . '<a target="_blank" href="http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/">http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/</a>', 'i18n_gallery_prettyphoto_edit', 'i18n_gallery_prettyphoto_header', 'i18n_gallery_prettyphoto_content'); function i18n_gallery_prettyphoto_edit($gallery) { ?> <p> <label for="prettyphoto-thumbwidth"><?php i18n('i18n_gallery/MAX_THUMB_DIMENSIONS'); ?> </label> <input type="text" class="text" id="prettyphoto-thumbwidth" name="prettyphoto-thumbwidth" value="<?php echo @$gallery['thumbwidth']; ?> " style="width:5em"/> x <input type="text" class="text" id="prettyphoto-thumbheight" name="prettyphoto-thumbheight" value="<?php echo @$gallery['thumbheight']; ?> " style="width:5em"/> <span id="prettyphoto-thumbcrop-span"> <input type="checkbox" id="prettyphoto-thumbcrop" name="prettyphoto-thumbcrop" value="1" <?php echo @$gallery['thumbcrop'] ? 'checked="checked"' : ''; ?> style="vertical-align:middle; width:auto;"/> <?php i18n('i18n_gallery/CROP'); ?> </span> </p>
<?php i18n_gallery_register('s3slider', 's3Slider', '<strong>s3Slider</strong> displays slideshows, consisting of images along with titles and descriptions directly on the page. All images must have the same size.<br/>' . 'License: Creative Commons Attribution 2.5<br/>' . '<a target="_blank" href="http://www.serie3.info/s3slider/">http://www.serie3.info/s3slider/</a>', 'i18n_gallery_s3slider_edit', 'i18n_gallery_s3slider_header', 'i18n_gallery_s3slider_content'); function i18n_gallery_s3slider_edit($gallery) { ?> <p> <label for="s3slider-width"><?php i18n('i18n_gallery/MAX_DIMENSIONS'); ?> </label> <input type="text" class="text" id="s3slider-width" name="s3slider-width" value="<?php echo @$gallery['width']; ?> " style="width:5em"/> x <input type="text" class="text" id="s3slider-height" name="s3slider-height" value="<?php echo @$gallery['height']; ?> " style="width:5em"/> <input type="hidden" name="s3slider-crop" value="1"/> </p> <p> <label for="s3slider-textpos"><?php i18n('i18n_gallery/TEXT_POSITION'); ?> </label> <select class="text" name="s3slider-textpos"> <option value="top" <?php echo @$gallery['textpos'] == 'top' ? 'selected="selected"' : ''; ?>