Version: 1.00, by ggiersdorf
Developer Last Online: Aug 2012
Version: 3.5.3
Rating:
Released: 12-27-2005
Last Update: Never
Installs: 100
Template Edits
Code Changes
No support by the author.
I was looking for some code that would allow an image over size x to be resized in IE, Firefox, and Opera. I tried all the variations out there without luck some would work in IE, some in Firefox, etc.. So I finally got a tweaked version of some old code that actually works flawless in IE, Firefox, and Opera. I have included it below, but It needs 1 final tweak that I'm hoping someone in the community can help with.
i am NOT taking credit for this hack, all I have done is tweak it to get it working for me..
This code has been updated as of 8:30pm with the clickable link built in now!
Step 1: Edit your class_bbcode.php file located in (root/includes)
I'm having a problem with my news portal in my CMPS.
When I added the code, it resizes images in the posts. But when the Module tries to grab the resized image to post it on the homepage, it won't display the image if it is over the size that I set for it.
I used S@NL - BlackBik code in post# 47
I basically want the news module to grab the information in a selected forum on my site which includes an image in each post, and post that image on the main page in the news module, but the images need to be resized to fit the page correctly. If the image is over the set width of 400, it won't resize and display, it just doesn't display it period. It does resize it though if I go to the actual post. I need it to resize the image so it is displayed correctly in the news module of my CMPS on the mainpage.
the offending image was in post #6. As you can see, it's resized. If you're viewing the page with Firefox...it looks fine. If you're viewing the page in IE...the tables still blow out really wide and require much horizontal scrolling.
the offending image was in post #6. As you can see, it's resized. If you're viewing the page with Firefox...it looks fine. If you're viewing the page in IE...the tables still blow out really wide and require much horizontal scrolling.
The problem I am running into now is basically Signatures are used with the IMG tag this mod changes anything that has the IMG tag.
We need to re-write the $signature to use an alternate img tag like [SIG] [SIG] or somehow have the field for signatures remove the script above and use the default one from Vb. Basically trick it in signatures to use original vb code.
anyone want to help with this let me know I have some updated code than the above that works better but Im holding off posting it till were done here..
SiMateoAko AWESOME IT WORKS PERFECT!!!!!!!!! i just opened up a new forums 1 hour ago and of course some dude had to post a image that was so FREaking big and fked up the boards so i cam ehere ran a search and bam your fix owns THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11
I recommend Simateoako's version of this mod his is posted at post number #106 its nice and short only 1 line
The line breaks are there but the phrase text is missing. I triple-checked the phrase names, they are correct. Even the version posted in https://vborg.vbsupport.ru/showthread.php?p=52 doesn't show the phrase in the alt-tag. Any hints ?
I found out myself. There's important information missing in Post 52. If you defined the phrases as global phrases (which seemed the appropriate way to me since there was no specific phrasetype mentioned to define them in) and want the phrases to show up, you must do the following: