Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Photo Album --> Last images Gallery
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Riccardo
New Member

86 Posts

Posted - 24 September 2005 :  11:54:23  Show Profile  Reply with Quote
It's time to work on a thumbnail gallery like this
http://www.virginflyer.com/forum/default.asp
This code is really interesting and the others competitor forum still have that possibility..<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - OneWayMule on 24 September 2005 12:07:33

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 September 2005 :  19:22:36  Show Profile  Visit dayve's Homepage  Reply with Quote
I developed an uploader, thumbnailer, gallery for my forum and have been using it successfully since the beginning of the year. I've always wanted to package it up and make it available but just when I'm ready to try and do that, I make some more modifications. Now it is so tightly integrated with the forum that it would proved to be cumbersome to package it. However, to inspire some of the really good developers here and maybe nudge them in the direction of creating one for the community, here are some demo links on my forum.

Images In Post:
http://www.burningsoulsforum.com/forum/topic.asp?TOPIC_ID=13538

The images in this sample post are truly resampled images so the page loads faster and it a lot cleaner. No topic stretching either! When you click on the thumbnail, a nicely centered popup window will display the original image.

Simple Gallery Of Recently Uploaded Images:
http://www.burningsoulsforum.com/forum/gallery.asp

The only caveat to doing all of this is that I used C# for my uploading/resampling/inserting into database. I chose C# because it is a lot easier to program for this type of feature and the uploads are quicker and can handle larger files sizes (especially in Windows Server 2003).

I really wish I could just share all the code, but it is really not isolated enough from the forum to do so, but I will start extracting parts of it from time to time to try and make it available. I know I promised this in the past, but so many other things came up and I wasn't sure how stable this was going to be. I think da_stimulator is offering services for installing this feature on forums because I gave him the code, so he might be interested, but for hire. I'll direct him to this post if he doesn't see it soon.

<

Go to Top of Page

goorootech
New Member

Australia
53 Posts

Posted - 24 September 2005 :  21:24:07  Show Profile  Visit goorootech's Homepage  Reply with Quote
The resampled thumbnails are created automatically on-the-fly when a member posts an image?

Jason<

regards,
Jason Binder
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 September 2005 :  22:54:28  Show Profile  Visit dayve's Homepage  Reply with Quote
quote:
Originally posted by goorootech

The resampled thumbnails are created automatically on-the-fly when a member posts an image?

Jason


They click a paper clip icon when posting. A simple form pops up that allows them to browse to their image and enter a simple caption. When the submit button is clicked, the image is uploaded, a thumbnail is created, a database entry is made and a forum tag is inserted into the post similar to this:

[image=2345]

When the post is viewed, I use a RegEx function (thanks to -gary) that will parse the tag and get the id number, in this case 2345. A query is made using this id to get the location of the thumbnail and regular sized image which is then converted to a link so when it is clicked on the original sized uploaded image is viewed in a popup.

There is some additional JavaScript/CSS used for showing and aligning the thumbnails. If viewed in IE, there are some additional filters used to highlight the thumbnail when it is hovered with the mouse.<

Go to Top of Page

Riccardo
New Member

86 Posts

Posted - 25 September 2005 :  10:00:45  Show Profile  Reply with Quote
thanks for your demonstration..but not resolved my request..<

http://www.peperonciniamoci.it
peppers and peppers and peppers (working on an international version)


Edited by - Riccardo on 25 September 2005 10:01:39
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07