1. Are "categories" now called "albums"? (The description on Virtualize's page still refers to categories.)
2. When "virtualizing" a physical album, is the original album moved? Deleted? Copied?
3. Does the new virtual album get created in _data/i/galleries?
4. Do the contents of the new virtual album gets named with the random seeded strings to avoid direct URL guessing (as Uploaded photos do), or will they retain exactly the same names they had in the original physical directory?
5. If the latter, could that be changed, so that Virtualizing a physical album would also serve to obscure its original file names?
6. With normally uploaded virtual albums, are these assumptions correct: Virtual album names are not represented by any physical directory structure (if I name a virtual album "testxyz" I will not find anything called "testxyz" in the file system?) Uploaded images lose their original local file names, and instead get named date+randomhash.jpg and stored in the _data/i/upload directory structure? (along with thumbnails) The original file names are stored only in the database?
7. Is there a similar "Physicalize" plugin that creates physical albums out of virtual ones, i.e., reverses the effect of the Virtualize plugin?
hello
1) yes
2)you mean the plugin Virtualize? Do not know, never used Try it with a test album
3)no /upload
4)Try it
6) as you can see and test, /upload is formatted by date of upload
7) I wish!
that dual system is far from being perfect, and ideally in the future they will be merged
Offline
Thank you flop25, I'll try it.
Hi,
it works like a charme - I have used it to virtualize 58 albums with 1700 images.
All images are moved correctly to the upload folder.
Maybe you have to delete the empty gallery subfolders in the galleries folder - easily do it with a ftp client :-)
But there is one little thing that happened to me (maybe it is only me):
In Piwigo Admin you will still see the physical album names when selecting the 'Syncronize' option from the Admin menu - although there are no subfolders in the galleries folder.
Seems like the plugin does not set the 'site_id' clolumn in the 'categories' table to NULL.
If you want get rid of those entries you can (on your own risk) manually change the value in the column to NULL.
You can do it with a tool like phpmyadmin or mysqldumper.
Be sure to have a database backup when modifying the database with a 3rd party tool.
Cheers
Ralf
Offline
Huh, thanks Ralf. That rings a bell in a way -- I've noticed that deleted or changed album names seem to stick around in certain pull down lists. I've never used the Virtualize plugin, so for me at least there's a housekeeping issue in the some of the core modules.
Hello,
Is it not possible to *link* the real albums in /upload in place of copying them?
thanks
jdd
Offline
Hi jdd,
jdd wrote:
Is it not possible to *link* the real albums in /upload in place of copying them?
I don't understand the question. There is no album in /upload. Virtual albums are only defined in the database.
Offline
the plugin description says "move albums to /upload"
*move*
are the album / images moved, that is deleted from the original place?
thanks
jdd
Offline
I'll change the description. Once Virtualize has run, photos are moved to "upload" directory and you have empty directories in "galleries" that you cznj manually delete (no need to perform any synchronization)
Offline
plg wrote:
I'll change the description. Once Virtualize has run, photos are moved to "upload" directory and you have empty directories in "galleries" that you cznj manually delete (no need to perform any synchronization)
well... the photos are really *moved*?
I don't want this.
I want to keep in sync the trees of my photo stores local and remote.
Just for an example.
I tried a "youtube" clone gallery for videos. It's more video friendly than piwigo, but none of the ones I could try is even close to the result they claim. So I will now use piwigo for my videos (piwigo is very well done, thanks to a clever team :-).
But this gallery use random file name after upload, impossible to manage outside, so I will have to upload again all the video sent there.
With the ftp piwigo sync system, the photo/video/audio files are always accessible from any system and have to be uploaded only once.
thanks
jdd
Offline
jdd, JanisV seems to have addressed your needs at http://piwigo.org/forum/viewtopic.php?id=23312
You're welcome. :(
(He/she posted in the linked thread.)
got to the link, it's ok
thanks
jdd
Offline