Hello,
we are using piwigo since few years to provide picture downloads for our customers/sales force.
It works well and is widly accepted.
So as example we have an album with product pictures for 2021.
Instead of making a new album for 2022, and uploading all pictures again, which gives duplicates,
it would be usefull to make a virtuall copy of the 2021 album.
So for discontinued products we have just to delete them in the new album,
and upload only the new products in the new album.
We have sloved it recently here: [Forum, topic 32165] How duplicate an album with subalbums
Would be nice if there is a function for this in piwigo.
And nice if the user rights for the album would be copied too, not all customers are allowed for all pictures.
The function images.setInfo is slow, for ~15000 pictures we needed ~3 hours.
Would be nice if there is an api call to add a list of images to an category.
(
Piwigo 12.3.0 Check for upgrade
Operating system: Linux
PHP: 7.0.33-0+deb9u12 (Show info) [2022-07-21 14:21:54]
MySQL: 5.5.5-10.1.48-MariaDB-0+deb9u2 [2022-07-21 14:21:54]
Graphics Library: External ImageMagick 6.9.7-4
Cache size 3174.27 Mo calculated 2 days ago Refresh
Activated plugin list 11
Admin Tools
Advanced Menu Manager
Batch Downloader
Community
Export Data
Grum Plugins Classes.3
Language Switch
LocalFiles Editor
Media Icon
Take A Tour of Your Piwigo
User Collections
)
Piwigo URL: http://
Offline
Hi iconberg,
Many interesting content in your topic.
* creating an API method pwg.images.associateToCategories which would take a list of image_ids and a list of category_ids as input parameter. It sounds easy and simpler to use than pwg.images.setInfos to perform this specific action.
* enhancing the API method pwg.images.setInfos to accept a list of image_ids instead of a single one.
* creating a function to duplicate an album (=category) tree, keeping association with photos and permissions. It sounds very specific. It's the first time I see a user doing this. I find the request funny and why not providing this feature as an API method, but not as button (or equivalent) in the administation.
Offline
Hi plg,
thanks for considering to implement this features.
As addition for a button "Associate dupliate album".
Normal user could this maybe use too,
overwork an album without making changes to the original,
and if all is done switch to the new one.
It could be savely done without backup as far i can see with my knowledge.
Offline
I will discuss it next week with Matthieu (dev) and Alice (designer).
Offline
plg wrote:
* creating a function to duplicate an album (=category) tree, keeping association with photos and permissions. It sounds very specific. It's the first time I see a user doing this. I find the request funny and why not providing this feature as an API method, but not as button (or equivalent) in the administation.
Hello plg,
i cant find such a function i guess it made it not on the feature list?
Offline