aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions_upload.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-10-14merge r12443 from trunk to branch 2.3patdenice1-1/+3
Bug:2472 Thumbnails are not cropped during upload git-svn-id: http://piwigo.org/svn/branches/2.3@12444 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-09-29Deactivate auto-rotation for thumbnail creation.patdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@12258 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-12bug:2292flop251-2/+2
Fixed the spelling of a function name. convert_shortand_to_bytes into convert_shorthand_to_bytes git-svn-id: http://piwigo.org/svn/trunk@10858 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-28Insert upload form parameters in database during installation.patdenice1-37/+0
Remove prepare_upload_configuration function. git-svn-id: http://piwigo.org/svn/trunk@10653 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-27feature:2284patdenice1-339/+15
Create a class to manipulate images. git-svn-id: http://piwigo.org/svn/trunk@10641 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-23Create a function to save upload form settings.patdenice1-0/+82
git-svn-id: http://piwigo.org/svn/trunk@10589 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22feature:2274patdenice1-20/+17
Create thumbnail through ajax. Remove $conf['tn_width'], $conf['tn_height'] and $conf['tn_compression_level'] parameters. git-svn-id: http://piwigo.org/svn/trunk@10570 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-22feature:2274patdenice1-2/+21
pwg.images.resize method is able to create or regenerate image from image path. git-svn-id: http://piwigo.org/svn/trunk@10563 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-21feature:2273patdenice1-10/+66
Ability to crop thumbnail (fixed size) git-svn-id: http://piwigo.org/svn/trunk@10552 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-15round is better than ceil for resizing pictures.patdenice1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@10383 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-08bug:1791 display hd dimensions instead of websize dimensionsmistic1001-0/+6
git-svn-id: http://piwigo.org/svn/trunk@10157 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-31feature:2239patdenice1-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
2011-03-24change the way Piwigo checks Imagick availability to make it easier to call ↵plegall1-1/+1
ImageMagick with exec() in a plugin git-svn-id: http://piwigo.org/svn/trunk@9844 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-11feature 2189 added: ability to update a photo (the JPEG/PNG file) withplegall1-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
2011-01-31no need to check the availability of a GD function in the ImageMagick resize ↵plegall1-5/+1
algorithm git-svn-id: http://piwigo.org/svn/trunk@9022 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-31bug 2164 fixed: disable automatic rotation if we can't read EXIF dataplegall1-0/+5
git-svn-id: http://piwigo.org/svn/trunk@9021 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-19feature 2040: to finish the "automatic rotation" feature, I had configurationplegall1-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
2011-01-18Happy new year 2011plegall1-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
2011-01-04feature 2095 added: new column images.added_by (foreign key on users.id)plegall1-1/+2
git-svn-id: http://piwigo.org/svn/trunk@8464 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23simpler code, useless to convert value twiceplegall1-8/+2
git-svn-id: http://piwigo.org/svn/trunk@8253 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23feature 2083 added: implement method pwg.images.addSimple in coreplegall1-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
2010-12-22feature 2077 added: when ImageMagick is active, ability to remove or resizeplegall1-1/+38
the high definition version of the photo. git-svn-id: http://piwigo.org/svn/trunk@8227 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-21feature 2076 added: automatically use ImageMagick (imagick) instead of GD ifplegall1-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
2010-11-24feature 2040 added: automatic rotation of the photo based on EXIF Orientation.plegall1-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
2010-10-29merge r7489 from branch 2.1 to trunkplegall1-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
2010-10-13merge r7169 from branch 2.1 to trunkplegall1-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
2010-06-29merge r6624 from branch 2.1 to trunkplegall1-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
2010-06-29merge r6621 from branch 2.1 to trunkplegall1-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
2010-06-28merge r6616 from branch 2.1 to trunkplegall1-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
2010-06-09Bug 1715 fixed : SQLite: Add photos failnikrou1-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
2010-05-27merge r6384 from branch 2.1 to trunkplegall1-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
2010-05-03bug 1639 fixed: the upload form now correctly uses the $conf['upload_dir']plegall1-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
2010-04-24Add triggers for image and thumbnail resizing.patdenice1-3/+15
git-svn-id: http://piwigo.org/svn/trunk@5957 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-08feature 1489: integrate UploadForm into Piwigo core. The integration is notplegall1-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