Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Mod 'improvement' ; Auto Resizing Images

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
MarcelG Posted - 09 September 2005 : 15:59:47
I was requested to assist Riccardo80 with the installation of the Auto Resize Images mod from WorkMule at SnitzBitz.
It seems that Work Mules instructions aren't very clear to most people.
I've tried to create an easier implementation method, with some clearer instructions, and it seems to be working ok.
So, that's why I decided to at least share it here.
You can download the entire mod with instructions here.

As we had a discussion about improvement of mod quality, perhaps this one is one to replace at SnitzBitz ?
Just a thought. <
15   L A T E S T    R E P L I E S    (Newest First)
leatherlips Posted - 17 August 2009 : 09:12:41
Today I noticed something about this mod. If the image is placed in the spoiler tag, the image does not resize. Any idea how to fix that?

Edit: It actually does work with the Snitz default spoiler tag. I forgot that I added a new spoiler tag a few years ago. The image resize does not work in my new spoiler tag. Here is the code for my spoiler tag. How can I get the image to resize in it?

fString = doCode(fString, "", "", "<div style=""margin:1em auto; width: 100%;"">" & vbNewline & "  <div><b> Spoiler: </b><input type=""button"" value=""Show"" style=""width:45px;font-size:10px;margin:0px;padding:0px;"" onclick=""if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }"" /></div>" & vbNewline & "  <div style=""margin: 5px; padding: 5px; border: 1px solid; border-color: #333399;"">" & vbNewline & "      <div style=""display: none;"">" & vbNewline, "     </div>" & vbNewline & " </div>" & vbNewline & "</div>" & vbNewline)
radiodelicate Posted - 10 July 2008 : 14:23:50
quote:
Originally posted by balexandre

it's easy to implement Lightbox 2 on this but it will take the forum a little slower cause it needs to load the scriptaculous effects, prototype and the lightbox javascripts first ... but it get a much better visibility

if you guys want, I can build the MOD to use lightbox 2

see more information on Lightbox 2


have you done any progress on that? I'd love a mod like it!<
MarcelG Posted - 01 May 2008 : 15:54:32
You're welcome, and I'm glad to see it still works. <
campinmom03 Posted - 30 April 2008 : 14:41:11
quote:
Originally posted by MarcelG:
Ehm...I don't think it's db dependent....there's no db calls in any of the functions.


Ehm... I didn't realize that and just wanted to be sure to ask first.

Anyway, I found time to install this today. I didn't really need the added feature for the pop profile, but I did use the feature with the dashed border. Great job on the instructions - it installed nicely on a current version of snitz! Thank you. <
MarcelG Posted - 21 April 2008 : 06:03:26
Ehm...I don't think it's db dependent....there's no db calls in any of the functions.<
campinmom03 Posted - 20 April 2008 : 13:16:14
Does anyone know what db's this mod has been tested on?<
muzishun Posted - 11 January 2008 : 09:23:02
I had thought about doing the same thing, balexandre. However, you may have more time in the near future than me, as I'm working on several other MODs, so go for it!<
MarcelG Posted - 11 January 2008 : 05:53:22
balexandre, that would be great! It's indeed a bit slower, but man, it's sleek!! <
balexandre Posted - 10 January 2008 : 18:35:10
it's easy to implement Lightbox 2 on this but it will take the forum a little slower cause it needs to load the scriptaculous effects, prototype and the lightbox javascripts first ... but it get a much better visibility

if you guys want, I can build the MOD to use lightbox 2

see more information on Lightbox 2<
balexandre Posted - 10 January 2008 : 18:27:39
bobby131313 Posted - 27 December 2007 : 22:03:44
Yes, resizes all images regardless of physical location. The FF bug is the only the as yet unresolved that I know of.

Try this page with FF and IE and you'll see the issue with the tables in FF.<
NiteOwl Posted - 27 December 2007 : 22:02:13
AHH, now I see what I may have done wrong when I edited my inc_header.asp, the instructions tell me to change the second instance of the following code, yet I have added a MOD which I believe changed that code, the mod look like it was the header mod, anyway could someone help on how I incorporate the code.

Find the 2nd instance of this exact code: (line 276 in basecode 3.4.05):

"<body" & strTmpPageBGImageURL &
Replace that exact piece of code with this:
"<body onload=walkImages() " & strTmpPageBGImageURL &

This is the actual place I believe I need to edit:
"<body bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine

Updated!!
OK, I answered my question, through a bit of trial and error:

Here is the working line

"<body onload=walkImages() " & strTmpPageBGImageURL & """ bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine



<
NiteOwl Posted - 27 December 2007 : 18:20:15
sorry, what was that? All images even those from another url?<
Maxime Posted - 27 December 2007 : 16:26:16
For all images whatever their place and that his orders placed by the picture here an image linked from outside the forum URL <
NiteOwl Posted - 27 December 2007 : 16:14:25
Question : Does this mod resize any image being displayed on the forum that is oversize, for example an image linked from outside the forum URL or is it just for images that are hosted and perhaps uploaded to the forum?
<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.07