| Anonymous | Login | Signup for a new account | 2013.05.22 14:23 CEST |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0002531 | [Piwigo] web API | feature | N/A | 2011.12.13 14:37 | 2011.12.13 15:02 | ||
| Reporter | plg | View Status | public | ||||
| Assigned To | plg | ||||||
| Priority | normal | Resolution | fixed | Platform | |||
| Status | closed | OS | |||||
| Projection | none | OS Version | |||||
| ETA | none | Fixed in Version | 2.3.2 | Product Version | 2.3.1 | ||
| Target Version | 2.3.2 | Product Build | |||||
| Summary | 0002531: [pwg.images.add] resize photo on Piwigo side | ||||||
| Description |
By default pwg.images.add requires that the remote client has uploaded thumbnail + web size (+ high definition) with pwg.images.addChunk before calling pwg.images.add. This is the opposite of pwg.images.addSimple where you just send the photo and Piwigo creates web size + thumbnail. Because adding by chunk can be useful, and resize by Piwigo is very convenient, it would be good to have both options for an upload. |
||||||
| Steps To Reproduce | |||||||
| Additional Information | |||||||
| Tags | No tags attached. | ||||||
| browser | any | ||||||
| Database engine and version | |||||||
| PHP version | |||||||
| Web server | Apache 1.3.x | ||||||
| Attached Files | |||||||
|
|
|||||||
Notes |
|
|
(0005838) svn (reporter) 2011.12.13 14:43 |
[Subversion] r12722 by plg on branch 2.3 -----[Subversion commit log]---------------------------------------------------- feature 2531 added: pwg.images.add is able to generate web size + thumbnail (remote client needs to set "resize" option to something else than 0). When the "resize" is On, only the "file" must be send with pwg.images.addChunk. |
|
(0005839) svn (reporter) 2011.12.13 14:56 |
[Subversion] r12723 by plg on branch 2.3 -----[Subversion commit log]---------------------------------------------------- feature 2531: bug fixed, need to be sure functions_upload.inc.php is loaded before using add_uploaded_file() |
|
(0005840) svn (reporter) 2011.12.13 15:01 |
[Subversion] r12724 by plg on trunk -----[Subversion commit log]---------------------------------------------------- merge r12722 from branch 2.3 into trunk merge r12723 from branch 2.3 into trunk feature 2531 added: pwg.images.add is able to generate web size + thumbnail (remote client needs to set "resize" option to something else than 0). When the "resize" is On, only the "file" must be send with pwg.images.addChunk. Small improvement compared to code implemented in branch 2.3 : use of single_insert when resize is Off, single algorithm to update $info_colums (resize On/Off) |
|
(0005841) plg (manager) 2011.12.13 15:02 |
Even with many changes in pwg.images.add, the real change is tiny and doesn't change anything for pLoader (verified by tests) |
| Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group Contact |