Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Automatic image gallery production asp page with comments capability (free to use)

Thread Tools
 
Search this Thread
 
Old 18 January 2005, 09:10 AM
  #1  
Fosters
Scooby Regular
Thread Starter
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Default Automatic image gallery production asp page with comments capability (free to use)

it's been a while since i posted any code i've written, but here's a bit I've been using a lot.

an example: http://www.qucami.net/Jordan2004/Marti

there are 2 asp pages that handle this whole sub site.
plonk them in a directory and they'll pick up all your thumbnails, images and.... the cool bit, comments for each image.
There's an additional asp page to only list images that have comments for the lazy

Code: http://www.qucami.net/fosters_image_gallery_code.zip

here's how it should look on your server:

thumbnails and images should be the same file name.
the 'messages' will obviously be an empty directory to start with, but needs to be present.

in default.asp, you can specify:
<%
ThumbsPerLine=3
home="/."
font1="Tahoma"
if_font1_missing="Verdana"
top_left_title="Images by<br>Marti Delucia"
top_left_title_size=3
top_left_title_link=""
top_right_image="jordon_logo.gif"
top_right_link="../"
%>

enjoy!
Fosters
Old 18 January 2005, 09:15 AM
  #2  
Fosters
Scooby Regular
Thread Starter
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Default

if you want to use this with any simple changes, let me know and i can accomodate them
Fosters
Old 18 January 2005, 09:18 AM
  #3  
Fosters
Scooby Regular
Thread Starter
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Default

feel free to add comments to the pics to 'see what happens' or just comment on my friend martha's pics
Old 18 January 2005, 10:56 AM
  #4  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Default

Fosters,

Very nice, only point I would make is that there is no button to submit the comments, you have to hit enter which some users might struggle with. Also there is no navigation back to the thumbnails other than clicking the back button on the browser. Small points I know but great work anyway!

cheers

Gary
Old 18 January 2005, 11:25 AM
  #5  
SJ_Skyline
Scooby Senior
 
SJ_Skyline's Avatar
 
Join Date: Apr 2002
Location: Limbo
Posts: 21,922
Likes: 0
Received 1 Like on 1 Post
Default

Fosters,

Good stuff Including <%@ Language=vbscript %> and <% Option Explicit %> can improve page performance by up to 40%.
Old 18 January 2005, 11:30 AM
  #6  
Fosters
Scooby Regular
Thread Starter
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Default

Gary, there are links back to the thumbs, but obviously not visible. I'm terrible for austere pages without frills.

SJ, cheers I'll chuck in the declarations. [embarrassed developer for forgetting]

will anyone else find them useful do you think?
Old 18 January 2005, 12:16 PM
  #7  
DJ Dunk
Moderator
Support Scoobynet!
iTrader: (5)
 
DJ Dunk's Avatar
 
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes on 0 Posts
Default

Cool Would it be possible to automatically create the thumbnails ? So the user would just have to put the images into the relevant folder and the rest is done for them ?

Trending Topics

Old 18 January 2005, 12:47 PM
  #8  
SJ_Skyline
Scooby Senior
 
SJ_Skyline's Avatar
 
Join Date: Apr 2002
Location: Limbo
Posts: 21,922
Likes: 0
Received 1 Like on 1 Post
Default

Originally Posted by DJ Dunk
Cool Would it be possible to automatically create the thumbnails ? So the user would just have to put the images into the relevant folder and the rest is done for them ?
Dunk,

There are a couple of ways I would look at doing this:
1. Upload 2 images, one as a thumbnail, one as the full size. (This is how my website works)
2. Use Persits ASPJpeg to upload your images, this can then auto-resize them for you creating thumbnails. (I have written a customers site that uses this method albeit crapola code!)
3. Use only JPEG images, I believe they store a thumbnail of themselves in their encoding. All you need to do is tap into this....
Old 18 January 2005, 12:50 PM
  #9  
DJ Dunk
Moderator
Support Scoobynet!
iTrader: (5)
 
DJ Dunk's Avatar
 
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes on 0 Posts
Default

Originally Posted by SJ_Skyline
Dunk,

There are a couple of ways I would look at doing this:
1. Upload 2 images, one as a thumbnail, one as the full size. (This is how my website works)
2. Use Persits ASPJpeg to upload your images, this can then auto-resize them for you creating thumbnails. (I have written a customers site that uses this method albeit crapola code!)
3. Use only JPEG images, I believe they store a thumbnail of themselves in their encoding. All you need to do is tap into this....
Excellent, cheers SJ, I'll look into it a little further Thought it must be pretty easy ala Photobucket.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JimBowen
ICE
5
02 July 2023 01:54 PM
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM
powerwrx
Non Scooby Related
21
03 October 2015 11:31 PM
Ganz1983
Subaru
5
02 October 2015 09:22 AM



Quick Reply: Automatic image gallery production asp page with comments capability (free to use)



All times are GMT +1. The time now is 01:05 PM.