I am working on making an archive of usenet images--mainly for my own use, but anyone can download them. What I want to do is have the thumbnails and the intermediary images stored on my hosted main server. But because of file space limitations, I want the full image to be stored on my local server. Is this possible? I've tried messing with the mirror option and can't really figure it out. Can it just be as simple as deleting the full images off the "main" server so it has to go to the mirror (my local server) to get the full size image? I'm also even considering just having the thumbnails on the main one and having both the intermediary and full on my local one. The actual sync process I can figure out, just not sure how to tell gallery to go to my local server to get the full (or possibly intermediate) files. Thanks for any input on this.
I know that rsync (what I use to sync) has a delete option that deletes files from the mirror computer, but I wouldn't use that. That means that if I really do delete an image from the main server, I would have to manually remove it from my local one. This isn't a big deal because my gallery is archival in nature, so nothing is going to be deleted. Just wanted to clear up any confusion that might be caused.
Posts: 7
nevermind, tried uploading some test images, exec() is disabled, and php.cgi isn't working :sad: :cry: I guess I'll get it going on my local computer 100% then.
Posts: 3473
It is possible to make a static version of gallery to run on a machine without CGI or PHP. See: http://www.joanhenge.plus.com/gallery_cd/albums.html and then <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&name=phpBB_14&file=index&action=viewtopic&topic=4354&23478" TARGET="_blank">Using gallery to build a photo CD</A><!-- BBCode End -->
Posts: 6
I spend some hours to figure out a way to separate images and gallery..
the problem is, gallery cannot just modify files and dirs on other servers like it does on its own server.
but it's possible to move the pictures of albums to another server and delete them on the original server. after that, you can't change anything, because gallery doesn't have write access on the moved files on the other server. but it's a nice way to get some free space and save bandwidth on the main server...
How I did it:
set up the albums as usual, then copied the album dirs to the mirror server (as defined in the setup!), set the rights of the files and dirs to read for everyone again, and deleted the pics on the main server (only the pics and thumbs!) . after testing that everything works, i deleted everything on the mirror server beside the pictures and thumbs and the serial.x.dat file.
it's important that the original pics, the sized pics and the thumb pics stay together. it doesn't work if i separated them (thumb only on main server, pics only on mirror). it seems as gallery looks after the serial.x.dat file and uses the pictures and thumbs of the mirror when the serial is not older than the one on the main server..
If you want to make any changes to the pictures (resize them or modify the thumbs) you have to move them back to the main server first and then move them back to your mirror including the new serial.x.dat.
btw: does anyone know a working G2 site? all I found on the forum are currently down...