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
Hi erveryone, I'm trying to...(back to index)
Hi erveryone,
I'm trying to figure out how to change the property of the CSS elements like "#fbimage#"... I can change the property of the CSS Definition themself (like the border in "img") but cannot find the link with the Element #fbimage# . I'd like for example to change the border of the main image on the site, without changing the border of the thumbnails ...
One last thing, I tried your Square Post luke, but it prevented me from modify my comments and thumbs ! I tried to come one step back by backuping my old post.php but it doesn't work..might be something else. any idea ?
Thanks for your help
posted by ArchiCarl on 9 Jun 05 at 2:25 AM
@archicarl:
that was me, not luke who posted it. since i changed only the way the thumbnails are generated, the problem might be something else. maybe a problem with the rights?
posted by nick on 9 Jun 05 at 3:20 AM
I figured that out a bit late sorry. Yes it's probably something else .. but I can't figure out what it is .. I also tried to changed the password but when I click on "Create thumb and update", nothing happens. I'm gonna look further, but if you have any idea...
posted by ArchiCarl on 9 Jun 05 at 4:40 AM
@archicarl:
did you change the rights of the folders?
http://folderblog.tetto.org/wiki/index.php/ChmodPermissions/
posted by nick on 9 Jun 05 at 5:14 AM
Yes, I did, even if it won't change anything, I even change the rights on the files ... thanks for helping. Notice, I can post comments as anybody under a pic, but nothing happens when I change something in the post.php, with the right password. (I'm using your post.php). Thanks for your help
posted by ArchiCarl on 9 Jun 05 at 6:56 AM
that's strange. then i would switch back to the original post.php.
are you sure that you set the password in vars.php. folderblog doesn't work if you didn't set a password.
and are you sure that your free webhoster supports folderblog? is gd (the graphic library of php) installed?
posted by nick on 9 Jun 05 at 7:08 AM
archicarl:
one possible way to go could be:
1) Take a look at line 112 of folderblog.php:
$fbimage="
2) another way is to surround the big fbimage by a div with a id or class assigned (in your template_main.php). You can now assign css-properties using normal selectors (because its a child of a div...)
div#the_divs_id_or_class img {border:xyz;}
good luck
posted by erik on 9 Jun 05 at 7:21 AM
code is gone :-( so 1ce more:
1) line 112 add e.g. id="thebigone"
posted by erik on 9 Jun 05 at 7:22 AM
archicarl:
i did something similar to the thumbs: i have assigned a table style to the thumbs table at the ..._menu.php-file, so the thumbs are with 2px white outline when resting and red outline with mouse over.
can someone tell me if in IE (PC) the hover-outline of the menu-thumbs is showing, or what do you get...?
it works in all others on MAC (camino, safari, opera) but not in IE (supposed....) and what to do, to make it work in iE as well??
thanks for all your help!
posted by armin on 9 Jun 05 at 7:31 AM
armin,
do you use the link on the image itself? you could insert a span element with the caption inside, when image is hovered caption-text shows up (google for eric meyers pure css-popups) relative positioned
posted by erik on 9 Jun 05 at 7:35 AM
Post a Reply:

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