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
when click on image go to url...(back to index)
hi
i want to use folderblog for indexing websites screenshots.
So i need that when a user click on the main photo the browser should go to the url of the relative website.
is it possible to code?

thanks (and exuse me for my bad english)
posted by Fabio on 9 Feb 06 at 8:52 PM
Possible of course, but you will have to insert some new code to provide this function. For example, you could write the URL into the description of a picture, and later (in template_main.php) use this information in a regular link tag.
posted by ikue on 10 Feb 06 at 2:30 AM
could you post an example code?
thanks:)
posted by fabio on 10 Feb 06 at 2:50 AM
In few words i want to do something like this http://screenspire.com/ that seems based on foldelrblog.
posted by fabio on 10 Feb 06 at 3:02 AM
Common, what example code do you want?

Step 1) Write the URL into the description field
Step 2) Put the folderblog tag in which the description of an image normally is stored into a regular < a href = ... > tag in your template_main.php
posted by ikue on 10 Feb 06 at 3:19 AM
ok...done!

I wrote the link in the description, then i change the code in template-main.php

[<map id="imgmap" name="imgmap">
<?php if("<#fbprevlink#>") { ?><area href="<#fbtitle#>" coords="0,0,<?php echo floor(<#fbwidth#>/2); ?>,<?php echo <#fbheight#>; ?>" alt="« previous" /><?php } ?>
<?php if("<#fbnextlink#>") { ?><area href="<#fbtitle#>" coords="<?php echo ceil(<#fbwidth#>/2); ?>,0,<?php echo <#fbwidth#>; ?>,<?php echo <#fbheight#>; ?>" alt="next »" /><?php } ?>
</map>]

it seems to go well!

:)
posted by fabio on 10 Feb 06 at 3:24 AM
Exactly like this!
posted by ikue on 10 Feb 06 at 5:59 AM
Post a Reply:

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