aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_upload.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* round is better than ceil for resizing pictures.patdenice2011-04-151-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@10383 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:1791 display hd dimensions instead of websize dimensionsmistic1002011-04-081-0/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@10157 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2239patdenice2011-03-311-3/+27
| | | | | | Support GIF format in the upload form (only in GD) git-svn-id: http://piwigo.org/svn/trunk@9952 68402e56-0260-453c-a942-63ccdbb3a9ee
* change the way Piwigo checks Imagick availability to make it easier to call ↵plegall2011-03-241-1/+1
| | | | | | ImageMagick with exec() in a plugin git-svn-id: http://piwigo.org/svn/trunk@9844 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2189 added: ability to update a photo (the JPEG/PNG file) withplegall2011-02-111-51/+122
| | | | | | | pwg.images.addSimple, simply by adding an $image_id as argument. git-svn-id: http://piwigo.org/svn/trunk@9191 68402e56-0260-453c-a942-63ccdbb3a9ee
* no need to check the availability of a GD function in the ImageMagick resize ↵plegall2011-01-311-5/+1
| | | | | | algorithm git-svn-id: http://piwigo.org/svn/trunk@9022 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2164 fixed: disable automatic rotation if we can't read EXIF dataplegall2011-01-311-0/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@9021 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2040: to finish the "automatic rotation" feature, I had configurationplegall2011-01-191-0/+7
| | | | | | | | | | 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
* Happy new year 2011plegall2011-01-181-2/+2
| | | | | | | 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
* feature 2095 added: new column images.added_by (foreign key on users.id)plegall2011-01-041-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@8464 68402e56-0260-453c-a942-63ccdbb3a9ee
* simpler code, useless to convert value twiceplegall2010-12-231-8/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@8253 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2083 added: implement method pwg.images.addSimple in coreplegall2010-12-231-29/+259
| | | | | | | | | 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
* feature 2077 added: when ImageMagick is active, ability to remove or resizeplegall2010-12-221-1/+38
| | | | | | | the high definition version of the photo. git-svn-id: http://piwigo.org/svn/trunk@8227 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2076 added: automatically use ImageMagick (imagick) instead of GD ifplegall2010-12-211-24/+107
| | | | | | | | | | 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 2040 added: automatic rotation of the photo based on EXIF Orientation.plegall2010-11-241-21/+81
| | | | | | | | | 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
* merge r7489 from branch 2.1 to trunkplegall2010-10-291-1/+1
| | | | | | | | bug 1908 fixed: protect the uploaded photo filename against SQL injection. git-svn-id: http://piwigo.org/svn/trunk@7490 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r7169 from branch 2.1 to trunkplegall2010-10-131-1/+1
| | | | | | | | | | 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
* merge r6624 from branch 2.1 to trunkplegall2010-06-291-0/+78
| | | | | | | | | | 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
* merge r6621 from branch 2.1 to trunkplegall2010-06-291-0/+4
| | | | | | | | | | | bug 1742 fixed: if the EXIF functions are not available: 1) display a warning (but not an error) 2) avoid to try to read EXIF data git-svn-id: http://piwigo.org/svn/trunk@6622 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6616 from branch 2.1 to trunkplegall2010-06-281-4/+22
| | | | | | | | | | | bug 1701 fixed: support for PNG file in browser direct upload. If the picture is a PNG file, then the "web size" picture is also a PNG file but the thumbnail is always a JPEG file. git-svn-id: http://piwigo.org/svn/trunk@6617 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1715 fixed : SQLite: Add photos failnikrou2010-06-091-2/+2
| | | | | | must use pwg_db_* functions instead of mysql_* ones git-svn-id: http://piwigo.org/svn/trunk@6498 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6384 from branch 2.1 to trunkplegall2010-05-271-0/+4
| | | | | | | | bug 1704 fixed: windows needs a specific directory separator when creating recursive directory. git-svn-id: http://piwigo.org/svn/trunk@6385 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1639 fixed: the upload form now correctly uses the $conf['upload_dir']plegall2010-05-031-2/+2
| | | | | | | | | | | | | parameter (web API already use it). By default, the $conf['upload_dir'] is no longer dependent to PHPWG_ROOT_PATH because it becomes a real mess when admin/include/uploadify.php (called directly, not from an include) tries to perform an upload. Improvement: make clearer how $conf['upload_dir'] can be set (relative to the Piwigo installation directory + HTTP reachable) git-svn-id: http://piwigo.org/svn/trunk@6052 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add triggers for image and thumbnail resizing.patdenice2010-04-241-3/+15
| | | | git-svn-id: http://piwigo.org/svn/trunk@5957 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1489: integrate UploadForm into Piwigo core. The integration is notplegall2010-03-081-0/+264
100% done, I just "made it work" on trunk. pclzip library was updated to version 2.8.2 for memory usage improvement. git-svn-id: http://piwigo.org/svn/trunk@5089 68402e56-0260-453c-a942-63ccdbb3a9ee