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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 IMG linking to pictures in photo album mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Methix
Starting Member

3 Posts

Posted - 22 March 2005 :  15:00:59  Show Profile
Hello, I recently installed Snitz forum using an access DB and installed the photo album mod from http://www.snitzbitz.com/mods/details.asp?Version=All&mid=45

Right now, I believe I have it working correctly as intended, but I'm hoping to modify it to add functionality that isn't currently there or may be there that I'm not seeing.

The options it has by default for displaying a picture are to either display it on the same page with the album info (similar to a frame, but it's not an actual frame) or display the picture in a seperate window. Unfortunately, the new window does not show the address bar. What I'm hoping to do is either have it open in a new window with the full address bar so that users can cut/paste the URL out of the new window and link to it in the forums with [ img] tags or in the album view, have a column that shows the direct URL to the picture (ie. www.blah.com/photos/picture.jpg). I will be the first to admit that I am not a developer of any sort. All my expertise is in networks and server based computing, so whatever changes to the pages need to be made, please explain in relatively simple terms that I can understand. Thanks in advance for any help you can provide.

Edited by - Methix on 22 March 2005 15:04:34

withanhdammit
Junior Member

USA
236 Posts

Posted - 22 March 2005 :  16:55:16  Show Profile  Visit withanhdammit's Homepage  Send withanhdammit an ICQ Message
In either photo display case, you can right click on the photo and select properties. In the properties page that comes up is direct path to the image. It can be copied and pasted directly from there.

h

I reject your reality and substitute my own.
Go to Top of Page

rodham
New Member

65 Posts

Posted - 22 March 2005 :  16:57:09  Show Profile  Visit rodham's Homepage
Hi very simple!

in file photo_album_view.asp at around line 279

Modify this line to include: location=yes,

ref = "<A HREF= ""#"" onClick=""window.open('"&trim(bdir&"/"& m_name &"/"&aData(2,i))&"',
'Photo"&i&"','location=yes, toolbar=no, width=" & width & ", height="& height &", 
left="& loffset &", top="& toffset &", screenX="& loffset &", screenY="& toffset &", status=no, 
scrollbars=no, resize=no');return false"""	


I wrapped the code line above for easier reading

Edited by - rodham on 22 March 2005 18:55:44
Go to Top of Page

rodham
New Member

65 Posts

Posted - 25 March 2005 :  19:55:24  Show Profile  Visit rodham's Homepage
Methix
I just put up a Mod that should do more than you are asking for, check this topic:
Picture Insert MOD for users of Photo Album v182
Go to Top of Page

Methix
Starting Member

3 Posts

Posted - 28 March 2005 :  01:57:26  Show Profile
Thanks for the help! I will try this tomorrow and see what happens =]
Go to Top of Page

Methix
Starting Member

3 Posts

Posted - 29 March 2005 :  13:58:32  Show Profile
I ran into an issue with the mod, but the location=yes fix is sufficient for what I'm wanting to do. I may look into the mod again in a little while since it definitely has potential, but I've just been too busy to work on it much. Thanks again for your help!
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07