Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002531Piwigoweb APIpublic2011.12.13 14:372011.12.13 15:02
Reporterplg 
Assigned Toplg 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.3.1 
Target Version2.3.2Fixed in Version2.3.2 
Summary0002531: [pwg.images.add] resize photo on Piwigo side
DescriptionBy 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.
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  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)

- Issue History
Date Modified Username Field Change
2011.12.13 14:37 plg New Issue
2011.12.13 14:37 plg Status new => assigned
2011.12.13 14:37 plg Assigned To => plg
2011.12.13 14:37 plg browser => any
2011.12.13 14:37 plg Web server => Apache 1.3.x
2011.12.13 14:43 svn Checkin
2011.12.13 14:43 svn Note Added: 0005838
2011.12.13 14:56 svn Checkin
2011.12.13 14:56 svn Note Added: 0005839
2011.12.13 15:01 svn Checkin
2011.12.13 15:01 svn Note Added: 0005840
2011.12.13 15:02 plg Note Added: 0005841
2011.12.13 15:02 plg Status assigned => closed
2011.12.13 15:02 plg Resolution open => fixed
2011.12.13 15:02 plg Fixed in Version => 2.3.2


Copyright © 2000 - 2015 MantisBT Team
Contact
Powered by Mantis Bugtracker