Is this currently possible in the beta? I am trying out the gallery and copied images from one gallery on the same server to an album in gallery3. I want the software to just check its directory and add those photos no currently added to the album.
We haven't written any code to do it automatically yet. It wouldn't be too difficult as a module, as long as you have a cron job or something similar to hit a url frequently so that Gallery can check for new images.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest code/upgrading: http://codex.gallery2.org/Gallery3:Upgrading
Latest git: http://codex.gallery2.org/Gallery:Using_Git
Aikidoka
Joined: 2009-06-12
Posts: 12
Posted: Mon, 2009-06-15 18:59
bharat wrote:
We haven't written any code to do it automatically yet. It wouldn't be too difficult as a module, as long as you have a cron job or something similar to hit a url frequently so that Gallery can check for new images.
I don't think a cron job would be that necessary. Just a way to manually trigger the check. Equivalent to batch add files in Coppermine. I just don't want to reupload all my photos when they are already in Coppermine.
th0th
Joined: 2003-02-28
Posts: 6
Posted: Mon, 2009-06-15 23:31
isn't that what the server_add module does? the pics are located on the same server, right? just enable the server_add module, and authorize the coppermine album directory structure (note sure how coppermine organizes pics, so you may have to tweak this a bit), then use the module.
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-06-16 03:35
The server_add module won't check to see if some of the files have already been imported, though.. it looks like Aikidoka wants to basically be able to mirror whatever is already there. We don't have a facility for this, but somebody could code it up as a module. Aikidoka, please file a ticket for this feature.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest code/upgrading: http://codex.gallery2.org/Gallery3:Upgrading
Latest git: http://codex.gallery2.org/Gallery:Using_Git
Aikidoka
Joined: 2009-06-12
Posts: 12
Posted: Tue, 2009-06-16 12:11
Will do. Since there was nothing in the folder yet I was able to use the module. I think this feature would be great. Is there also the ability to upload a zip/gzip file, uncompress it, and add all its contents automatically? If not I'll put in a feature request for that also.
Aikidoka
Joined: 2009-06-12
Posts: 12
Posted: Tue, 2009-06-16 12:28
Is there a feature request mechanism or just the other Gallery3 board? I saw the feature voting, but didn't see a way to submit a feature request for Gallery3.
bharat
Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-06-16 19:06
Yes, you can file feature requests (mark them "enhancement") in the same place that you file bugs. Look at the links in my signature, below.
---
Problems: Check gallery3/var/logs first! file a bug or feature request | upgrade to the latest code | use git
Posts: 30
Yes, it is possible.
Posts: 4
How do you do it?
Posts: 7994
We haven't written any code to do it automatically yet. It wouldn't be too difficult as a module, as long as you have a cron job or something similar to hit a url frequently so that Gallery can check for new images.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest code/upgrading: http://codex.gallery2.org/Gallery3:Upgrading
Latest git: http://codex.gallery2.org/Gallery:Using_Git
Posts: 12
I don't think a cron job would be that necessary. Just a way to manually trigger the check. Equivalent to batch add files in Coppermine. I just don't want to reupload all my photos when they are already in Coppermine.
Posts: 6
isn't that what the server_add module does? the pics are located on the same server, right? just enable the server_add module, and authorize the coppermine album directory structure (note sure how coppermine organizes pics, so you may have to tweak this a bit), then use the module.
Posts: 7994
The server_add module won't check to see if some of the files have already been imported, though.. it looks like Aikidoka wants to basically be able to mirror whatever is already there. We don't have a facility for this, but somebody could code it up as a module. Aikidoka, please file a ticket for this feature.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest code/upgrading: http://codex.gallery2.org/Gallery3:Upgrading
Latest git: http://codex.gallery2.org/Gallery:Using_Git
Posts: 12
Will do. Since there was nothing in the folder yet I was able to use the module. I think this feature would be great. Is there also the ability to upload a zip/gzip file, uncompress it, and add all its contents automatically? If not I'll put in a feature request for that also.
Posts: 12
Is there a feature request mechanism or just the other Gallery3 board? I saw the feature voting, but didn't see a way to submit a feature request for Gallery3.
Posts: 7994
Yes, you can file feature requests (mark them "enhancement") in the same place that you file bugs. Look at the links in my signature, below.
---
Problems: Check gallery3/var/logs first!
file a bug or feature request | upgrade to the latest code | use git
Posts: 12
Thanks! Done! Tickets #422 and #424.