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/O Code)
 Search not my friend: resize images mod

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 [?]

 
   

T O P I C    R E V I E W
Dean_OK Posted - 13 April 2008 : 23:37:35
Ok, came up with a neat wrapper for my forum, now I realize that images posted in the forum are going to blow out my neat design if they are too big.

I looked at several posts about resizing, but soon became lost in the maze of changes and modifications.

Can someone point me to a mod that will resize images in that are included in the posts and set a maximum width and maintain the original aspect ratio?

<moved from="Help: General / Current Version (v3.4.xx)" by="Shaggy" /><
4   L A T E S T    R E P L I E S    (Newest First)
radiodelicate Posted - 07 July 2008 : 14:18:20
I might be a bit late here, and I could be completely wrong, but...
isn't it possible just to in inc_func_common.asp, around line 1200 add a bit of css to the end of the image tags?

ImgTags(1,1,2) = "<img src="""
ImgTags(1,2,2) = """ border=""0"" style=""max-width:600px; max-height:400px;"">"


set the max width and height to whatever you fancy, and then do the same with all of the image tags?
I haven't tried this, but I reckon it ought to work.<
MaD2ko0l Posted - 15 April 2008 : 21:23:41
i did somthing similar to that, but it also worked for long words, as in when comeone enters a laod of letters without spaces, works the same when images are to big as well. i use this bit of css in a div tag

.MessageText {width:847px; overflow: auto}

may not be the best, but i saw somthign similar on another forum so i though i would give it a crack and see if i could do it and make it work.

altho i do try and keep images to 640x800, but u know what some people are like when they aint got a clue how to resize a pic<
Dean_OK Posted - 15 April 2008 : 20:15:10
Well, I did this mod. Easy enough to do, but I never got it to work. No JavaScript errors... just nothing. Can't figure out what I did wrong.<
Shaggy Posted - 14 April 2008 : 04:51:17
[Link]

<

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