Author |
Topic |
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 20 May 2005 : 08:55:13
|
I just installed this and it worked right away, great mod!!
There's one thing that I'd like though.. If the image is resized, I'd like to have either a frame around the image with a text "click to view full image" or the same small text in the corner of the image. Is this possible? And if so, how? =)
|
/Tribaliztic - www.gotlandrace.se -
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 20 May 2005 : 10:43:49
|
Erm...I don't think it's possible, because the Javascript executes after the page was generated.. I don't think you can 'add' the frame/'clip here to view full image' after the page was executed...but I'm no Javascript wizard, so I guess that the chances of me being completely wrong are rather big |
portfolio - linkshrinker - oxle - twitter |
Edited by - MarcelG on 20 May 2005 10:44:37 |
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 24 May 2005 : 00:51:26
|
Does anyone know how the auto-resizing images mod could be made to work with Korayems file sharing mod. It would be nice to have images used with it fit in the forum. |
www.thomasforum.com |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 24 May 2005 : 03:04:42
|
marcelgoertz I hope you're wrong =) Can anyone else confirm this?
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 24 May 2005 : 05:01:37
|
He is; the image itself is resized using javascript after the page has loaded. One thing you could do, although it would require a bit of testing would be to add a hidden division below the image when parsing the forum code in the ReplaceImageTags function and then, when the javascript checks the width of the image, show the division if the image is resized.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 24 May 2005 : 05:26:18
|
Exactly what I was thinking about =) Now I just have to figure out how ;) Thanks!
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 24 May 2005 : 05:55:44
|
You're welcome Let me know if you need a hand.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 24 May 2005 : 06:42:24
|
Well.. I had a look at this and can't see right away how to do this anyway.. Will have a look later..
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 24 May 2005 : 07:07:11
|
quote: Originally posted by Shaggy
He is; the image itself is resized using javascript after the page has loaded. One thing you could do, although it would require a bit of testing would be to add a hidden division below the image when parsing the forum code in the ReplaceImageTags function and then, when the javascript checks the width of the image, show the division if the image is resized.
I'm glad I was wrong. |
portfolio - linkshrinker - oxle - twitter |
Edited by - MarcelG on 24 May 2005 07:07:34 |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 24 May 2005 : 07:41:26
|
lol! Oopsie, I meant "He is right", sorry, Marcel.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
Edited by - Shaggy on 24 May 2005 07:42:05 |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 24 May 2005 : 08:52:13
|
Well, he was right but it's still possible.. Or? =)
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 24 May 2005 : 09:34:19
|
Yes, it's possible. As I said, shout up, if you need a hand.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 25 May 2005 : 03:31:58
|
HEEEEELLLPPP!!!! =) (shouting loud)
|
/Tribaliztic - www.gotlandrace.se -
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 25 May 2005 : 06:54:49
|
lol! Okie-dokie. Gimme a while to free up some time and have a look at it. Bear in mind, though, that I will be working blind as I've never used this mod and don't have anywhere to test it so I can't make any gurantees. Just to be sure, this is the mod you're using, right?
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
serritzlev
Junior Member
Denmark
291 Posts |
Posted - 25 May 2005 : 08:09:55
|
insert this in the body tags
onload=walkImages()
Or add this line after the body line
"<script language=javascript src='resizeimgs.js'></script>" & vbNewLine & _
This is the code to the inc_func_common
This code is ben delite becourse the codebox dont works in this case here.
tribaliztic lok at our emails.
|
|
Edited by - serritzlev on 25 May 2005 08:22:38 |
|
|
tribaliztic
Senior Member
Sweden
1532 Posts |
Posted - 25 May 2005 : 09:03:58
|
I got your mail, do I insert ALL of that code to inc_func_common.asp? |
/Tribaliztic - www.gotlandrace.se -
|
|
|
Topic |
|