Discussion
is it possible to use images from...(back to index)is it possible to use images from a different directory that is not in the same folder as the rest of the folderblog files?
Example:
New Folder
|----images
|----config
FolderBlog
|----fb.php
|----extensions
|-----etc.php
is it possible for me to somehow tell folderblog to use the directory NewFolder/images?? Im trying to do it now by just changing the directory in the fb_settings file, but im getting this error message
folderblog error
No image files found in [director listing]. Please upload files or confirm directory location and permissions.
I have 777 permissions on the foder and images in the directory. Thanks
posted by anon on 27 Jan 06 at 12:30 AM
Yes it is possible, in the worst case you may have to change some pathes inside fb.php. But isnt there such a setting in fb_settings.php?
posted by
ikue on 27 Jan 06 at 3:33 AM
Think so. At least it should be possible to set the path to photos, thumbs and comments to something absolute in the fb_settings.php, like:
$photo_directory = "http://your.domain.com/folderblog/photos/";
Not tested, but should work.
posted by
Jowra on 27 Jan 06 at 3:52 AM
no, wont work like that. ;) after endless hours of crawling deep inside the fb code I remember that pathes are built internally like "FOLDERBLOG-DIRECTORY/PHOTO-DIRECTORY/IMAGE", so your proposal would lead to invalid pathes.
What might work is, e.g., "/../mypicturedirectory/".
posted by
ikue on 27 Jan 06 at 5:21 AM
Nope, using the /../images/ as the $photo_directory didnt work. =(
posted by anon on 27 Jan 06 at 7:08 PM
That was just an example, you have to find out yourself the correct path. Could also be "../../images"
posted by
ikue on 29 Jan 06 at 10:28 AM
(according to the above described directory structure, it could be "../New Folder/images")
posted by
ikue on 30 Jan 06 at 2:27 AM
yeah, I wasn't thinking. Your suggestion works, thanks!
posted by anon on 1 Feb 06 at 10:58 PM
Post a Reply:
(back to index)