Commit graph

50 commits

Author SHA1 Message Date
Phlogi
79e91e3296
Support webp format (#1785)
* consider webP as an input and output format, meaning a derivative from webp is still a webp
2023-09-11 17:10:52 +02:00
Damien Sorel
1b66ca73f9 Fix #1692 Remove Content-Length header on images (HTTP2 compat)
Content-Length header should be the body size after compression (if enabled) and not the size of the original body. In HTTP1.1 such invalid value is not problematic but in HTTP2 it prevents images to display.
2022-08-22 15:09:27 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
mistic100
eb1fb63128 Fix #436 Call to undefined method Logger::warning in i.php
Change log_lvl for release branch
2016-03-10 19:33:57 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
modus75
d7fef70c4c fix #361 - Watermark Y repeat 2015-10-15 22:05:20 +02:00
modus75
221a3b7e58 fix issue #328 a square that requires watermark should not be generated from a larger derivative with watermark, because if the watermark is not centered on the large image, it will be cropped
test first git commit
2015-07-28 22:42:13 +02:00
mistic100
271e1f5688 feature 3221 Lazy log file open, clean code
git-svn-id: http://piwigo.org/svn/trunk@31103 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-04-24 17:06:47 +00:00
mistic100
0c576ea19d feature 3221 Add Logger class
git-svn-id: http://piwigo.org/svn/trunk@31102 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-04-24 14:00:50 +00:00
mistic100
4bd32005b5 feature 3010 : replace trigger_action/event by trigger_notify/change
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
d1ac6441e8 bug 2971: i.php should escape source location
git-svn-id: http://piwigo.org/svn/trunk@28198 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-16 05:13:10 +00:00
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
rvelices
ca8e0928e3 fix 1 pixel rounding errors when generating multi size from another multi size
git-svn-id: http://piwigo.org/svn/trunk@25793 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-05 20:53:18 +00:00
rvelices
ae8186a484 i.php better check dir creation
git-svn-id: http://piwigo.org/svn/trunk@25385 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-07 21:06:38 +00:00
plegall
f599ea711c merge r23498 from branch 2.5 to trunk
feature 2929: strip metadata on configurable threshold



git-svn-id: http://piwigo.org/svn/trunk@23499 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-24 13:34:03 +00:00
rvelices
00ed87a52d removed an old debug log message in i.log
git-svn-id: http://piwigo.org/svn/trunk@20578 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-05 19:16:16 +00:00
mistic100
6f04aba061 feature:65 Add support for PHP mysqli extension, activated by default, remove returns of link_identifier
git-svn-id: http://piwigo.org/svn/trunk@20462 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-30 11:12:22 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
rvelices
f609713578 code simplification
git-svn-id: http://piwigo.org/svn/trunk@18746 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-25 19:59:32 +00:00
mistic100
cb11878233 feature 2773: add pwg_db_close() method
git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 09:05:58 +00:00
rvelices
c04137702b bug 2686: multi size with diacritical file names not generated
git-svn-id: http://piwigo.org/svn/trunk@17681 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-31 19:37:38 +00:00
rvelices
c918bb9209 bug 2725: Piwigo isn't compatible with suPHP + better handling of watermark upload errors
git-svn-id: http://piwigo.org/svn/trunk@17675 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30 19:20:00 +00:00
rvelices
6812c45995 multi size works now with special chars (tested with space ()[]!,=)
git-svn-id: http://piwigo.org/svn/trunk@17315 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-02 16:46:48 +00:00
rvelices
214a3c9dab bug 2712: Custom sized derivatives are never sharpened
git-svn-id: http://piwigo.org/svn/trunk@17230 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-30 20:01:17 +00:00
rvelices
26db3dde8f bug 2711: Watermark is sometimes applied while it should not be
git-svn-id: http://piwigo.org/svn/trunk@17229 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-30 19:51:44 +00:00
rvelices
7502b3bbee bug 2682: Watermark sizing calculation is made on the requested size not on the final one
git-svn-id: http://piwigo.org/svn/trunk@16989 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-24 20:49:31 +00:00
rvelices
ef541746f8 bug 2655 avoid php warning in safe_mode
git-svn-id: http://piwigo.org/svn/trunk@16072 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-27 03:54:23 +00:00
rvelices
34e6f1aa49 multisize - avoid php warning for rotation_angle; better error logging; javascript avoid navigation to empty # anchor
git-svn-id: http://piwigo.org/svn/trunk@15551 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-05 18:06:53 +00:00
rvelices
40a4dd63f0 multi size:
- fix external imagick issues when rotation was required
- fix: derivative were generated continuosly until a first save performed in the admin screen
- added sharpen param in the new config screen
- increased the sharpen range (10% is less than before)

git-svn-id: http://piwigo.org/svn/trunk@14649 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-02 04:29:56 +00:00
rvelices
9c6f27c0e1 feature 2604 multisize rotation - fix creation of derivatives for representatives of non image elements + avoid unnecessary sql update query
git-svn-id: http://piwigo.org/svn/trunk@13864 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-02 20:17:33 +00:00
rvelices
f318fe042e don't rotate several times derivatives
git-svn-id: http://piwigo.org/svn/trunk@13848 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-02 04:00:15 +00:00
plegall
2ec7183adb feature 2604: support rotation on derivatives
git-svn-id: http://piwigo.org/svn/trunk@13843 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-01 00:02:36 +00:00
rvelices
9d66c18541 - small js fixes on index/picture
- i.php does not use derivatives.dat file anymore (obsolete file)
- better selection of derivatives in picture.php
- larger sharpen real range in image.class.php

git-svn-id: http://piwigo.org/svn/trunk@13736 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-26 04:07:03 +00:00
rvelices
b95925dcaa multisize: remove 2 php warnings, delete custom derivatives (batch man + maintenance), watermark applied to custom derivatives
git-svn-id: http://piwigo.org/svn/trunk@13651 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-20 04:13:35 +00:00
plegall
e0f6d5d6a7 feature 414 (yes, a 6 years old request): ability to define the list of
permitted characters in file/directory names for synchronization.


git-svn-id: http://piwigo.org/svn/trunk@13527 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-10 21:34:48 +00:00
patdenice
c0bdb8a765 Multisize
Load thumbnails with ajax.

git-svn-id: http://piwigo.org/svn/trunk@13444 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-29 21:21:46 +00:00
rvelices
cb2a1f0d99 - derivative fix floating point rounding errors for certain sizes
- increase derivative size for which metadata is kept
- imagick use 4:2:2 chroma subsampling (reduce file size by 20-30% with "almost" no human perception)
- dont show mobile theme links if there is no mobile theme installed
- mobile theme favicon removed because 404

git-svn-id: http://piwigo.org/svn/trunk@13426 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-28 21:18:03 +00:00
patdenice
97132d9c6f multisize: removed useless test in i.php
git-svn-id: http://piwigo.org/svn/trunk@13171 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-15 16:47:12 +00:00
rvelices
0d277219fc multisize - added the coi (still to affine the admin ui + language)
multisize - derivatives can be revuild from a larger derviative instead of the original

git-svn-id: http://piwigo.org/svn/trunk@13038 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-06 20:59:20 +00:00
rvelices
18036a70fc feature 2548 multisize - custom sizes restricted to those requested by theme/plugin
code refacto

git-svn-id: http://piwigo.org/svn/trunk@13021 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-02 20:59:41 +00:00
rvelices
4a73d939e0 feature 2548 multisize - small fixes
git-svn-id: http://piwigo.org/svn/trunk@12958 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-26 21:15:16 +00:00
rvelices
cc01941ed9 feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak
git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 21:58:18 +00:00
rvelices
e693ef60cd feature 2548 multisize - ability to choose displayed size on index page
-added some logs on i.php (configurable) to measure the perf

git-svn-id: http://piwigo.org/svn/trunk@12908 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 06:09:32 +00:00
rvelices
225b45f2b8 feature 2548 multisize - added a page to build missing derivatives
- browser driven, chained ws calls to retrieve urls, visual feedback of progress through slideshow

git-svn-id: http://piwigo.org/svn/trunk@12865 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-08 19:25:52 +00:00
rvelices
e64ab974df feature 2548 multisize - sharpen + watermarks (partially implemented / no test with imagick extension)
git-svn-id: http://piwigo.org/svn/trunk@12851 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-05 21:35:25 +00:00
rvelices
95a78ca0d3 feature 2541 multisize
- admin GUI for choosing derivative parameters + persistence

git-svn-id: http://piwigo.org/svn/trunk@12820 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-01 21:10:43 +00:00
rvelices
1e1b71c6f6 fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and move combined files and image derivatives from local to _data
git-svn-id: http://piwigo.org/svn/trunk@12802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-29 05:48:16 +00:00
plegall
bf24a3278c feature 2541: fix bug on PHPWG_ROOT_PATH and includes
git-svn-id: http://piwigo.org/svn/trunk@12798 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27 21:36:39 +00:00
rvelices
e42f791f52 feature 2541 multisize
- nicer presentation on picture.php
- added a maintenance purge derivatives action

git-svn-id: http://piwigo.org/svn/trunk@12797 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27 20:26:49 +00:00
rvelices
753f58d6a9 feature 2541 multisize
- core implementation + usage on most public/admin pages
- still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ...

git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27 05:26:44 +00:00