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
and hey, for all those wondering...(back to index)
and hey, for all those wondering about the sorting of the thumbs in _menu.php: will it work to just count the uploaded images backwards (i.e: starting with let's say 9999.jpg, then next pic 9998.jpg) - wouldn't it show the latest thumb (smallest file-number) first on the first menu page?
posted by armin on 9 Jun 05 at 7:38 AM
no (file-creation/modification-date is used for sorting)
posted by erik on 9 Jun 05 at 7:41 AM
@erik:
and when sorting by name is used >>>??
thanks for the link btw.
posted by armin on 9 Jun 05 at 8:09 AM
... of course it shows the oldest pic (highest number) on the main page and counts them down to the latest...
and who would want his/her blog to start with the oldest entry....??? ;-/
..but it works on the menu page...
posted by armin on 9 Jun 05 at 8:28 AM
armin,
ich versteh nicht ganz was du willst. bilder werden sortiert nach dem upload-datum. (sofern es kategorien gibt sind auch die null-dateien im kategorie-verzeichnis von bedeutung)
was willst du denn nun haben? soll die großansicht statt mit dem letzten upload mit dem ersten beginnen (du kannst die sortierung in der vars.php umkehren)...
frage beantwortet? gruß erik

sorry but english not so good - specific answer to my home-country-mates' question ;-)
posted by erik on 10 Jun 05 at 5:25 AM
@erik,
danke ich hab's jetzt:
following settings on the vars.php file:
$reverse=1; (oldest picture first)
$sort=1; (sorts files alphabetically)
and then count backwards: the first pic named 999.jpg, second pic 998.jpg ...and so on.
result will be that: 998.jpg will be the picture on your blogs index page (current entry!) - and on the archives page 1 it will be the first thumbnail (always until 997.jpg will be uploaded.
this will work for ninehundredandninetynine entries if you want more start with your very first entry as 9999.jpg and then count backwards.
i hope i am not overseeing something, but it works on my page. >>
posted by armin on 10 Jun 05 at 6:15 AM
fine, but you seem to have changed something with the thisthumb-options. when following the link behind your name, only one thumb is displayed, and a red border above (Win Firefox 1.03)
greets
posted by erik on 10 Jun 05 at 7:54 AM
seems like you're right...
checked evrything in vars.php and jowra_settings.php?
posted by erik on 11 Jun 05 at 2:10 AM
@erik,
that was just an uploaded image which was'nt edited yet... thanks
@chaz,
i think that you are missing some folders. you have to create a folder 'photos'; 'thumbs'; 'comments' in your root directory. and check the path on your post.php file where the form info
(<form method="post" name="post" action="?">) is located. there should be a "?" under action - it might be that there is some path to your desktopfolder of your computer...
hope this helps!
posted by armin on 11 Jun 05 at 8:25 AM
Post a Reply:

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