Hi everyone.
I'd like to make a plugin that will create different versions of images when they're uploaded.
For example:
If I upload an image that is 1920x1200, the plugin would automatically save a 1680x1050 version, a 1280x720 version, etc.
I'm going to try to learn how to make plugins but I haven't made one for zenphoto before so I could really use any help possible.
Thanks in advance.
Comments
`document.cookie='viewer_size_image_saved='+$(obj).attr('value')+'; expires=<?php echo date('Y-m-d H:i:s', time()+COOKIE_PESISTENCE); ?>; path=<?php echo $cookiepath ?>';`
To:
`document.cookie='viewer_size_image_saved='+$(obj).attr('value')+'; expires=<?php echo date('D, j M Y H:i:s', time()+36000000); ?> UTC; path=<?php echo $cookiepath ?>';`
It should be `D, j M Y H:i:s` instead of `Y-m-d H:i:s`