folderblog
What is folderblog?
Folderblog is a free PHP script that automatically displays the images placed in a given directory, no database needed. It can be used as a blog or gallery — and anything in between.

» demo blog   » learn more   » download now

Discussion
turning off thumb creator(back to index)
hi. does any one know how to turn off the thumb generator? i like to creat my own thumbs and then upload. but every so often, the thumbs that i have already uploaded get overwritten by the one's that fb generatos. i suspect it's a perimission issue and i have already set the "thumbs" folder's permission to 777!!!
posted by armeen on 27 Jun 06 at 1:34 PM
777 makes the folder writeable. You should probably change it to a non-writeable setting, and if that doesn't work, maybe there is something in vars.php or fb-settings.php you could change.
posted by Sarasnee on 27 Jun 06 at 9:45 PM
Try this: overwrite the automatically generated thumb files, without changing anything about writing permissons (this just produces error messages later on). Most important is the correct filename of the thumbs. fb checks internally whether a thumb file already exists just by name, not by content.
posted by ikue on 28 Jun 06 at 2:17 AM
thanks you guys for your suggestions.

ikue: could you please tell me how exactly i can overwrite the automatic thumb generator?
posted by armeen on 28 Jun 06 at 10:39 AM
The function you look for is called something like "Createthumbs", and indeed if you comment out everything in there it might stop generating without further errors. Might. ;)

However what I meant is that you should just open your folderblog website, thumbs are generated, aber later you can overwrite these individual files manually by replacing them with whatever you like. As far as I remember in folderblog there is an if-clause like "IF THUMBFILE CALLED XXX CANNOT BE FOUND, CREATE A NEW THUMB". So, already existing files with the correct file name should not be overwritten.
posted by ikue on 29 Jun 06 at 2:21 AM
ikue, thanks for your reply. i am aware of ability to overwriting generated thumbs, however periodically the thumbnails folder gets croppted and the the overwritten generatted thums (that i have uploaded myself) get overwritten with new thums genrated by fb! (and this behvaior is very random and very frastrating!)

i found the "createthumbs" in line line 61 of fb.php file as well as the "if-clause" statment you mentioned... ideally i would like to dictate to fb the size of generated thumbs when they are not set to squre but i am not sure which variables to change! any ideas?

thanks :)
posted by armeen on 11 Jul 06 at 4:49 PM
I am also having this same problem. Can anyone enlighten us as to how to stop this?
posted by =VALOR= on 7 Aug 06 at 6:03 PM
Post a Reply:

Name:    Remember me
URL:    
(include http:// or mailto:)
(back to index)