Hi,
I have physical folders with photos and Piwigo on them, thus albums linked to these folders. I would like to change names of these folders but without the need to re-create the albums (since I have various Piwigo metadata linked to photos in the folders). Is it (safely) possible?
Seems like someone had to deal with this before me but I can't find anything. Please direct me the right way if there is any. Thank you very much.
Piwigo version: Piwigo 2.7.4
Operating system: Linux
PHP: 5.5.25 (Show info) [2016-03-20 10:48:56]
MySQL: 5.5.41-MariaDB-log [2016-03-20 10:48:56]
Graphics Library: GD bundled (2.1.0 compatible)
Piwigo URL: http://edison23.net/photography
Offline
Hi :-)
You can pass all photo to virtual with [extension by plg] Virtualize
After you can change name album
Offline
Thanks for reply.
I'll look into it. Do you know if URLs to the old albums will somehow work? It's not particularly important but I'd somewhat like to keep the links alive.
Offline
edison23 wrote:
Thanks for reply.
I'll look into it. Do you know if URLs to the old albums will somehow work? It's not particularly important but I'd somewhat like to keep the links alive.
Hi :-)
If you've use standard piwigo link you can pass to virtual album and rename album
Links remain the same
Offline
Thank you.
Offline
OK, got some time to do backups to be able to try this whole virtualization thing, but I don't want to screw things up and I don't understand two things:
a/ Why does the plugin move all your photos from "galleries" to "upload"? And what happens when I don't have any photos in "galleries" (I use different folder outside of the gallery)?
b/ Can you describe me how the plugin actually works? (Couldnt find any detailed description.) Will it somehow hide the original physical albums or how does it avoid duplicities? (Sorry for so many questions...)
Thank you for the help.
Offline
Hi edison23,
edison23 wrote:
a/ Why does the plugin move all your photos from "galleries" to "upload"? And what happens when I don't have any photos in "galleries" (I use different folder outside of the gallery)?
Photos are moved in "upload" to avoid being taken into account by the sync process in the future.
It should not be a problem if your photos are not in "galleries". Plugin Virtualize is looking for all photos outside the "upload" directory.
edison23 wrote:
b/ Can you describe me how the plugin actually works? (Couldnt find any detailed description.) Will it somehow hide the original physical albums or how does it avoid duplicities? (Sorry for so many questions...)
It works exactly as described by this code [Github] Piwigo-virtualize file admin.php@L42 ie:
1) list all photos outside "upload"
2) for each photo, move it into the "upload/year/month/day" folder
3) update the images.path in the database
Offline
Oh, IC. Thanks, that's all I needed to know. Very much appreciated.
Do we close solved topics somehow here? (sorry, I dont remember, haven't posted here much and it doesnt seem to be in Rules)
Offline
hi
"Set this topic as resolved " from your first message in that thread
Offline