![]() |
Quote:
I'm going to have to look into it a bit more. |
Quote:
replace this line in your class_bbcode.php file: Code:
return '<img src="' . $link . '" border="0" alt="" />'; Code:
return '<img style="max-width:800px;" style= "width: expression(this.width > 800 ? 800: true);" src="' . $link . '" border="0" alt="" >'; IE, in it's infinite wisdom, decided to not include this style attribute. As a result we have to use a java expression to resize the image. In the past there were issues if I quoted a post with an image in it, but it appears to be better now that the two style expressions are seperate. With any luck IE will add the "max-width" and "max-height" expression for future versions of IE. |
^^Works great mate...thanks...
Peace |
|
ot
for the attach,someone has an idea for me? |
I'm not sure if something is seeing is related to this hack or not but in either case, I could use a little help.
I'm seeing some weird behavior, ONLY in IE. The image in question is being resized properly but the page is still going wide...even though the image isn't even wide enough to caus that to begin with! Here's what I've discovered. If I paste the page source into Dreamweaver and save it and preview it in IE, the page is still strtched wide, inspite of all the missing css and images...so I start debugging and find the fulcrum upon which this behavior tilts. There is an image: http://i68.photobucket.com/albums/i1...ccident015.jpg if I edit the URL so that the host is www and not i68, the horizontal scrolling issue disappears. Can anyone see any reason for this either due to this hack or IE itself? |
none of the codes work for vBulletin 3.6 Beta 3. (at least if you edit the message)
PHP Code:
|
Some invalid html image code shows up if you edit the message...
|
Quote:
I tryed this hack before https://vborg.vbsupport.ru/showthrea...t=99286&page=7 which does have that option but i had loads of trouble getting it to work.Sometimes it would work others it would not especially in IE6.Thanks also note im using VB 3.5.4 if thats of any relivence. |
Quote:
See, the reason I needed an image resizer was mostly for my news fetch (click here to see what I mean). I'm perfectly fine with everything, except the bbs main body is actually larger than the news fetch body, and it poses a problem with signatures. I'm ok with main body images being resized, but is there a way to keep signatures unaffected by image resizes? Or, even better, make it so that the signature images have a different resize limit? EDIT: Nevermind, I found out how to make the image stay at it's normal size unless it stretches the page. Just replace this: PHP Code:
PHP Code:
|
All times are GMT. The time now is 06:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|