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 installed this a couple of times, but everytime ALL my pictures within posts have the "Image link is broken" error, no matter what size it is. Even signature pics comes up like that. I've read all the replies but nothing really helps. Thanks.
Your firewall on the server is probably blocking that port.
This hack is great but it works sometimes slowly.
Is there a way to make it faster ?
On some Pics i wait over 12/20 sec. an than open the thread.
The short answer is no. Look back through this thread and you'll see the discussions of how and why that is. The main thing that will slow it down is if a server is unavailable that is being called - there is a 5 second timeout if a server can't be reached (and that is for each picture so if you have 5 pictures in a thread linked to a server that doesn't exist any more that will take 25 seconds).
Not trying to plug my own modification, but I had to use this because my forum is a bit larger. To my knowledge, this is the fastest and most accurate image resizer to date, but it uses Javascript instead of editing the img tagging. https://vborg.vbsupport.ru/showthrea...611#post758611
Images show fine without this hack. All I get are "Image link is broken". I've seen the responses about firewall ports and timeouts, but I don't see how if the images show up without the hack and they don't with the hack, how this could be the problem.
Images show fine without this hack. All I get are "Image link is broken". I've seen the responses about firewall ports and timeouts, but I don't see how if the images show up without the hack and they don't with the hack, how this could be the problem.
Any ideas?
The reason a firewall can cause a problem is because the hack does a file open from your file server to the server with the pictures to get the picture size. That's done on a seperate port. When you are normally looking at a page with a linked picture your PC that you are viewing it at is loading the picture from that server - the web server doesn't have anything to do with the picture at all.