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/Code)
 Simple Photogallery for Snitz
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 20 March 2002 :  17:15:08  Show Profile
This code will enable you to include a simple photogallery for Snitz forums. Itīs very easy to update with new pictures, just upload the pics in a folder and the script will automatically include it. Foldernames and picturenames are also automatically updated.

Demo: http://www.alphaville.dk/power/PhotoAlbum.asp
Download: http://alphaville.dk/power/ShowPicture.zip

Comments? Please post here, and not in the demo forum - thanks...

For a non-Snitz version go here:

Demo: http://hifi-konsulenten.dk/popup/photoalbum.asp
Download: http://hifi-konsulenten.dk/popup/popup.zip

Edited by - wii on 08 August 2002 05:33:54

Morten
Junior Member

Denmark
251 Posts

Posted - 20 March 2002 :  18:44:45  Show Profile
That looks great wii - the only problem I have is that I have all those "tools" - "mods" - "include" etc. folders in the root of the forum, so I will need to move the gallery down a level to ex. forum/gallery - and place the gallery inside dir "gallery" and from there create different dirs that have pictures inside. I figured out that I had to change the location of the include files but I get an error that tell me that the path was not found in line 83:

Set objFolder = objFSO.GetFolder(strPhysicalPath)

I tryed also to change line 79:

strPhysicalPath = Server.MapPath(".\" & ShowSub)

to serval kombinations, but could not find the right way to wirte the path - do you know how it could be done ?

Morten

Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 20 March 2002 :  19:05:12  Show Profile  Visit crash's Homepage
very, very nice indeed! one minor thing though...

look at the picture below. on page two the numbering of the photos isn't correct... maybe you want to fix that?

again, my compliments!





Crash's Site | Crash is from
Go to Top of Page

fgenus
Starting Member

12 Posts

Posted - 20 March 2002 :  22:03:45  Show Profile
Pretty nice wii,

Do you know if it can coexist with Azania's Photo Mod?


Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 21 March 2002 :  01:09:55  Show Profile
Morten,

I have found a simple way to fix this in testing. All you need to do is copy the ShowPicture.asp and change the include tags from the following:


<!--#INCLUDE FILE="config.asp" -->
<!--#INCLUDE FILE="inc_functions.asp" -->
<!--#INCLUDE FILE="inc_top.asp" -->
<!--#INCLUDE FILE="inc_footer.asp" -->


to the following:


<!--#INCLUDE VIRTUAL="/Forums/config.asp" -->
<!--#INCLUDE VIRTUAL="/Forums/inc_functions.asp" -->
<!--#INCLUDE VIRTUAL="/Forums/inc_top.asp" -->
<!--#INCLUDE VIRTUAL="/Forums/inc_footer.asp" -->


Or what ever else you forum directory may be. If you run Huwrs code then you may need to copy dhtmllib.js and scroller.js into the same directory. I had it working at http://www.classicmotorcycling.com.au, but removed it as I have a different gallery.

quote:

That looks great wii - the only problem I have is that I have all those "tools" - "mods" - "include" etc. folders in the root of the forum, so I will need to move the gallery down a level to ex. forum/gallery - and place the gallery inside dir "gallery" and from there create different dirs that have pictures inside. I figured out that I had to change the location of the include files but I get an error that tell me that the path was not found in line 83:

Set objFolder = objFSO.GetFolder(strPhysicalPath)

I tryed also to change line 79:

strPhysicalPath = Server.MapPath(".\" & ShowSub)

to serval kombinations, but could not find the right way to wirte the path - do you know how it could be done ?

Morten





Regards,

Webmaster @ Classic Motorycling Australia
Classic Motorcycling Australia

Edited by - Classicmotorcycling on 25 June 2002 01:36:11
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 21 March 2002 :  03:21:48  Show Profile  Visit rick7165's Homepage
Ok.. I have this installed in my root of my forum... I need it to point to a sub folder how can I do this?
Oh without moving the file there.

Test Site:
EastPasco Huw's Code 3.3.10 SQL 2000
Snitz Mod Resource
Email
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 21 March 2002 :  03:27:04  Show Profile  Visit rick7165's Homepage
Oh Another suggestion... When viewing the photos you should have a window popup when you click on a photo this will help because everytime you click on one now you have to backup and wait for the page to reload the images again.

.02c

Test Site:
EastPasco Huw's Code 3.3.10 SQL 2000
Snitz Mod Resource
Email
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 21 March 2002 :  03:59:55  Show Profile
That will be included soon...


quote:

Oh Another suggestion... When viewing the photos you should have a window popup when you click on a photo this will help because everytime you click on one now you have to backup and wait for the page to reload the images again.

Go to Top of Page

Morten
Junior Member

Denmark
251 Posts

Posted - 21 March 2002 :  04:44:13  Show Profile
Thanks ClassicMC!

The virtuel thing solved my problem, thanks!

Morten

Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 21 March 2002 :  07:06:18  Show Profile
I donīt know, where can I find this MOD ?

quote:

Pretty nice wii,

Do you know if it can coexist with Azania's Photo Mod?






Go to Top of Page

suhern
Junior Member

186 Posts

Posted - 21 March 2002 :  08:44:01  Show Profile
It is great script. Is there a way to have pagination since in my usage I envisage that I may have many photos in a folder.

Thanks it is great.

Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 21 March 2002 :  09:19:47  Show Profile
As the script is now I recommend not to have more than 8 pics in each folder, because the pics have to loaded once again, when you go back from looking at the original large pic.

Iīm currently trying to get the popup function to work correctly.

Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 22 March 2002 :  00:02:22  Show Profile
wii,

Do you want a hand with the popup window? It is easy to do. If you want a hand sing out.

quote:

Iīm currently trying to get the popup function to work correctly.



Regards,

Webmaster @ Classic Motorycling Australia
Classic Motorcycling Australia
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 22 March 2002 :  01:56:09  Show Profile
Yes please, can you mail me the code or paste it in here.

Go to Top of Page

Deviant
Starting Member

1 Posts

Posted - 29 March 2002 :  03:56:29  Show Profile
Hey...Im really looking forward to this Photo Gallery Mod. I was just wondering how you were making out with the photo pop and curious to get a rough Idea when it will be available. There is no rush...I know everyone here does this in there free time, Im just curious and really anxious to include this mod in my snitz forum


Thanks
Craig

Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 29 March 2002 :  18:16:42  Show Profile
WII,

OK, I have finally got the pop-up to happen.

quote:

Yes please, can you mail me the code or paste it in here.



If you want to see a demo of the the gallery with out Snitz, here it is; Sled Dogs Gallery Demo

Regards,

Webmaster @ Classic Motorycling Australia
Classic Motorcycling Australia

Edited by - Classicmotorcycling on 25 June 2002 01:40:25
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07