First of all, big up to the Plogger dev-team - great stuff you guys!
I'm learning as I go, but I have yet to be able to get my head around changing the directory that the images, galleries and collections are in. I would like to use plogger to manage an imagebase, and the following URL shouldn't hint to my users where the administrative interface is "hiding". Right now, plogger is in /data/imagebank and the collections end up in /data/imagebank/images. I would like to change that directory to /data/images, so ploggers directory isn't readily available. I'll protect the gallery by a nifty php-script for the time being.
Any clue as to which values to change and what to change them to? I've been fooling around with this for a couple of hours, but still no cigar!
Currently this is not available. I'll take a look at the code and see how irritating it would be to switch these over for a separate location. Right now it's all based off the constant path to Plogger, so you'd have to hard code in the location for a bunch of different locations. I'll let you know what I find out.
I have no problem changing anything in the php. I know my way around, but apparrently it's not enought. I tried changing the paths in the function.php, but that wasn't enough. What to do?
it looks like you need to find all instances in the plog-functions.php file and the plog-admin-functions.php file. Also, if you use the Compressed Recursive Download option, you will need to edit the plog-download.php file as well.
Could you give me a clue as to what I should replace those instances with? I find 'images/' and '/images/' respectively. I tried by best, but to no avail.
So, whenever you find 'images/' or '/images/' in those files, directly before it you should find either PLOGGER_DIR., $config['gallery_url']., or $config['basedir']. You can replace the preceding code with dirname(PLOGGER_DIR)., dirname($config['gallery_url'])., or dirname($config['basedir']). respectively if you only want to move the image file up one directory above the Plogger installation.
However, if you want to move the image folder to a completely different folder, you will have to hard code the entire path string. You would replace PLOGGER_DIR."images/" or $config['basedir']."images/" with the full server path (usually something like "/home/user/public_html/path/to/plogger/images/") and $config['gallery_url']."images/" with the full URL (i.e. "http://www.yoursite.com/path/to/plogger/images/").
I can code in an override for this, jakehop, but it wont' be available for a little while and may not quite make it into the next release (since we are hoping to release very soon). I'll see what I can do.
Hello there. This is something i've been looking at trying to get figured out myself.
Is there any chance that this could be added to the next release for certain and is there an ETA for the next release?
(btw, so far, Plogger is the best image gallery app i've come across. It doesn't have all the bloat of others and allows me to lock it down securely within my website too)