Version: 1.00, by Steve St.Lauren
Developer Last Online: Mar 2013
Version: 3.0.8
Rating:
Released: 07-28-2004
Last Update: 09-09-2004
Installs: 111
No support by the author.
Having trouble with large images in [img] or <img src> tags in your posts causing your templates to go too wide causing a horizontal scroll bar for all posts? I have many users that attach large images to their posts either through vB img or html img src tags. In vB2 it wasn't that much of an issue because it only caused their post to go wide causing a horizontal scroll bar. In vB3 it causes all the posts on that thread to go to that width.
This hack uses the img src width="xx" tag to resize the picture to whatever max size you wish. It also adds a link to the full size image in it's original location and retains any extra formatting the user puts in the tag. In addition it checks to see if the picture actually exists and if not show "Image link is broken" where the picture would have been. Please click install if you install it and please give feedback so I can go full release with it if it's bug free.
Updated on 07/30/2004 - R0.9
Updated on 08/06/2004 - R1.0 - Identical to R.9, no need to upgrade just changing to full release from beta
Updated on 08/10/2004 - R1.1 - Added max_imgsize to the 2nd section of code (and removed global max_imgsize line from both), some users had problems with the code grabbing the max_imgsize from the first section - this fixes that.
Updated on 09/09/2004 - R1.2 - fixed problem with duplicating the resize notice when using wysiwyg editor
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I'm running Apache 1.3.29 and PHP version 4.3.6 and it's working fine here. Not sure what your problem is. Is it not resizing the pictures at all? Error message?
Error message, something about T-Strings. I replaced the files with the originals so i forget what teh exact message was...
I'd need to know what that error message was but my guess would be that a mistake was made in installing the hack. Were you using the exact same files you were on the other server or did you start fresh? The php issue won't give an error message it just won't function correctly.
but i have a little question.. on my forums many ppl uses to upload images on forum, and for these images i added this tag, used to see this kind of pictures(with url dont finish with .jpg, .gif, .jpeg, etc..) i called this tag [card] (i think many other ppl here uses this tag) and it works like this:
Code:
<img src="{param}">
now, when i use [img] tag ur hack works nicely, but when i use the tag card for a forum uploaded images, the hack dont work. Its obviously that this hack is made just to be applicated to [img] tag, BUT can u tell me how can i use this nice hack to my [card] tags?
thx a lot for replies
I'll take a look at this when I get a chance. I'm recovering from working 90+ hrs a week for a few weeks and don't really feel like digging into code right now.
I'd need to know what that error message was but my guess would be that a mistake was made in installing the hack. Were you using the exact same files you were on the other server or did you start fresh? The php issue won't give an error message it just won't function correctly.
yes, i used the same files. When that didnt work, i reinstalled the hack, and it still didnt work. Then to insure that another hack wasnt screwing wiht it, i installed vb all over again and tried it on a brand new installation. No workage. Im running 3.0.3, if thats any consolation
ive got this installed, and i have a section where people post more then 1 image and its taking FOREVER for a page to load with all the images....any ideas ?
ive got this installed, and i have a section where people post more then 1 image and its taking FOREVER for a page to load with all the images....any ideas ?
Go back to post #83 and start reading from there. Steve has a possible solution in post #97 but I haven't tried it yet. I removed the hack because of the slowdown with multiple images, but I may give his suggestion a try and see if it helps.
I'll take a look at this when I get a chance. I'm recovering from working 90+ hrs a week for a few weeks and don't really feel like digging into code right now.
thx a lot for assistance, ill wait for ur reply.. ^^