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
Alternate Image Format Request(back to index)
I was wondering if anyone has made a hack or extension for FB2 that allows for 3 different image formats i.e. thumb, med, & large.

And if no one has if it could be developed for FB3.

I've been trying to come-up with a way to display a medium-sized image that would link too a pop-up of the larger format and done in a way that would require me to only have to upload one file.

I was thinking something along the lines of uploading an original/large image in the "photo" folder, then in the post.php having an additional button to create a medium-size format along with the thumb.

The medium image would go into the additional folder "medium"

Then in the <#fbimage#> function it would search the "medium" folder first in order to display the image.

If the function finds an image in the "medium" folder then it would display the "medium" image and create a pop-up display of the "photo" image.

If there is no "medium" image, then the <#fbimage#> function would just display the image in the "photo" folder without a pop-up link.

In this way if someone still wanted just 2 formats the function would still work.

Please let me know if this makes sense or if anyone has a better idea.

Thanks.
posted by Jason on 2 Jul 05 at 8:09 PM
maybe you could do it on your own, or some1else wants to, here's a link for a suitable php-class:
ImageEditorClass i haven't used it so far, but it looks like one could just copy it into extensions-folder and call it as described in readme.txt - it also should make a foot-note on the image itself possible (the photographers' name or the URL for example)
hope this brings you a step further regarding your idea...
posted by erik on 3 Jul 05 at 1:13 AM
It would be nice if I could do it on my own, but alas, I don't know enough php yet. Thanks for the tip though.
posted by Jason on 4 Jul 05 at 1:50 AM
same with me :/
posted by erik on 5 Jul 05 at 11:00 AM
Post a Reply:

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