in the date_creation field and in the synchronization from EXIF metadata.
git-svn-id: http://piwigo.org/svn/trunk@9073 68402e56-0260-453c-a942-63ccdbb3a9ee
higher privacy level than user privacy level.
For an acceptable solution at performance level, I have implemented a cache:
for a given user, each album has a representative_picture_id. This cache also
avoids to perform numerous "order by rand()" SQL queries which is the case
when $conf['allow_random_representative'] = true;
git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee
setting. I choose to have it in the configuration file and not in the web
interface because it is a bit too technical and useful only in very specific
cases (when buggy software performed a rotation before without updating the
EXIF "orientation" tag)
git-svn-id: http://piwigo.org/svn/trunk@8763 68402e56-0260-453c-a942-63ccdbb3a9ee
administration page, a warning message is displayed if you have at least
one orphan tag + direct action to delete them.
git-svn-id: http://piwigo.org/svn/trunk@8762 68402e56-0260-453c-a942-63ccdbb3a9ee
split the admin/photos_add_direct.php script into
admin/include/photos_add_direct_prepare.php (prepare the upload form)
+ admin/include/photos_add_direct_process.inc.php (process the submitted form)
: it makes the upload form backend easier to reuse in the future Community
plugin.
git-svn-id: http://piwigo.org/svn/trunk@8734 68402e56-0260-453c-a942-63ccdbb3a9ee
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery"
git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
makes admin/include/function_upload.inc.php not dependant from include/ws_functions.inc.php (moves functions file_path_for_type and ready_for_upload_message)
cleaner method to initialize the upload settings
git-svn-id: http://piwigo.org/svn/trunk@8249 68402e56-0260-453c-a942-63ccdbb3a9ee
Imagick extension is available. ImageMagick does not strip EXIF/IPTC metadata
from "web size" version of the photo.
We force remove EXIF/IPTC from the thumbnails to save space and bandwith.
git-svn-id: http://piwigo.org/svn/trunk@8219 68402e56-0260-453c-a942-63ccdbb3a9ee
feature 2057: use http_build_query instead of add_url_params for GET data.
git-svn-id: http://piwigo.org/svn/trunk@8090 68402e56-0260-453c-a942-63ccdbb3a9ee
The code could have been shorter but this one 1) checks the resize dimension
with the rotation in mind 2) rotates the photo once resized to reduce memory
used.
git-svn-id: http://piwigo.org/svn/trunk@7868 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1974 fixed: don't generate invalid creation date from IPTC,
if month = 0 or day = 0, then month=1 and day=1.
git-svn-id: http://piwigo.org/svn/trunk@7507 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1914 fixed: broken admin web upload with PostgreSQL as database engine.
The tablename to retrieve the inserted image is mandatory for PostgreSQL and
was missing. Patch by netzimme.
git-svn-id: http://piwigo.org/svn/trunk@7170 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1872 fixed: we need to call set_make_full_url() before creating urls provided in emails
git-svn-id: http://piwigo.org/svn/trunk@7005 68402e56-0260-453c-a942-63ccdbb3a9ee
Plugin version compare must return false if plugin version is "auto" (developpement version).
Change language switch version number.
git-svn-id: http://piwigo.org/svn/trunk@6725 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 1747 fixed: some checks were added to verify the upload will fail for a
too big size or if the upload has failed for a too big size (test on
upload_max_filesize and post_max_size)
git-svn-id: http://piwigo.org/svn/trunk@6625 68402e56-0260-453c-a942-63ccdbb3a9ee