summaryrefslogtreecommitdiff
path: root/templates/upload_fisheye.tpl
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2006-11-30 02:24:06 +0000
committerChristian Fowler <spider@viovio.com>2006-11-30 02:24:06 +0000
commite15c6b47fe6a5de032ac2b489403cd6e628ccf5b (patch)
treea567ab621a8bc3983ab4ce02cfa434d54b043aff /templates/upload_fisheye.tpl
parent83ce58779eddf6ecdb10b5deee75fd117fd8b0f4 (diff)
downloadfisheye-e15c6b47fe6a5de032ac2b489403cd6e628ccf5b.tar.gz
fisheye-e15c6b47fe6a5de032ac2b489403cd6e628ccf5b.tar.bz2
fisheye-e15c6b47fe6a5de032ac2b489403cd6e628ccf5b.zip
add auto rotate of images using EXIF data.
Diffstat (limited to 'templates/upload_fisheye.tpl')
-rw-r--r--templates/upload_fisheye.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/upload_fisheye.tpl b/templates/upload_fisheye.tpl
index 62e9dab..1fb4481 100644
--- a/templates/upload_fisheye.tpl
+++ b/templates/upload_fisheye.tpl
@@ -136,6 +136,16 @@
<input type="hidden" name="process_archive" value="true" />
{/if}
+ {if function_exists('exif_read_data')}
+ <div class="row">
+ {formlabel label="Auto-Rotate Images" for="rotate_image"}
+ {forminput}
+ <input type="checkbox" id="rotate_image" name="rotate_image" value="auto" checked="checked" />
+ {formhelp note="If your camera was turned sideways when the image was taken, this will attempt to orient the image correctly."}
+ {/forminput}
+ </div>
+ {/if}
+
<div class="row">
{formlabel label="Add File(s) to these Galleries"}
{forminput}