View Full Version : New Image Tag e.g [imgo] for bigger images
utw-Mephisto
02-19-2005, 09:06 AM
I know this has been discussed about a hundret times and believe, i have read them all.
BUT: I did not find any solution so hopefully someone is so kind and gives me an answer or a link where this might has been posted.
I have a small board (PHPKIT is like PHPBB) for our gaming clan.
I found a hack there where you have a second image tag.
Using [IMG] did not change, but when using [IMGO] it resizes images automaticly to 400xkeep_ratio
Is there anything like that for vBulletin ? And I am not talking about Avatare or Attachements :)
I am using 3.0.6 btw ...
SVTBlackLight01
02-19-2005, 02:38 PM
There are two that I know of. One uses javascript, and one uses a hack to the vb files. Both of them have issues that haven't been fixed though.
Here they are.
https://vborg.vbsupport.ru/showthread.php?t=68677
https://vborg.vbsupport.ru/showthread.php?t=67743
Deaths
02-19-2005, 02:50 PM
Or... you could just make an [img] tag with no limitations...
Custom BB Codes -> Add new BB Code.
Title: The IMGO Image tag
Tag: IMGO
Replacement: <img src="{param}" alt="{option}">
Example: Whatever you want
Discribtion: Whatever you want
Use {option)?: Yes
Button Image: Whatever you want
Easy as that :)
utw-Mephisto
02-20-2005, 08:46 PM
Or... you could just make an [img] tag with no limitations...
Custom BB Codes -> Add new BB Code.
Title: The IMGO Image tag
Tag: IMGO
Replacement: <img src="{param}" alt="{option}">
Example: Whatever you want
Discribtion: Whatever you want
Use {option)?: Yes
Button Image: Whatever you want
Easy as that :)
Wow thanks :D
Deaths
02-21-2005, 06:18 PM
No problem ;)
utw-Mephisto
02-21-2005, 06:30 PM
Just figured, it's not working. It displays just the link to the image ..
How can I say that the picture need to be resized to 400xsomething ?
Would it work like
<a href="{image}" target="_blank"><img border="0" width="400" alt="Thumb resize." src="{image}" /></a>') ??
Deaths
02-22-2005, 08:54 AM
That's very odd, as you use <img src, it should work...
You can try <img border="0" width="400" alt="Thumb resize." src="{param}" />
Then set "User {option}?" to no.
utw-Mephisto
02-22-2005, 10:06 AM
That one did it :)
Ok, that one is even better
<a href="{param}" target="_blank"><img border="0" width="400" alt="Thumb resize." src="{param}" /></a>
Deaths
02-22-2005, 02:33 PM
Ah, yes, that's very usefull aswell :)
ggiersdorf
08-14-2005, 06:01 PM
this BBCODE dosent work in 3.5RC2 if anyone gets something for RC2 please let me know!?
I tried all the above and it just prints the links not the images
utw-Mephisto
08-14-2005, 06:03 PM
It DOES work ...
http://ut2007world.net/vbtest
Be sure you also insert an example ....
Here : https://vborg.vbsupport.ru/showthread.php?t=94250
ggiersdorf
08-15-2005, 01:42 AM
<a href="http://www.gamereports.net/forum/showthread.php?t=18" target="_blank">http://www.gamereports.net/forum/showthread.php?t=18</a>
take a look at that mess
the BBCODE is entered EXACTLY like the one above..
3.5RC2 Can you explain?
utw-Mephisto
08-15-2005, 05:22 AM
Please make a screenshhot from the bbcode in admincp ...
ggiersdorf
08-15-2005, 10:45 AM
Here is the BBCODE and the Image..
the actual bbcode
http://www.gamereports.net/image2.JPG
The BBCODE with an Example (shows image)
http://www.gamereports.net/Image1.JPG
and here is what it looks like when you use that bbcode.
http://www.gamereports.net/forum/showthread.php?t=18
Thanks again in advance...
ggiersdorf
sstodvictory
09-01-2005, 06:24 AM
Heres another custom BB approach. This one wraps IMG BB in HTML div tags and adds style elements to control horizontal overflow. They say overflow rendering can be browser dependent, but it works with MS IE 6, Firefox, Opera 8, and a Mac browser. The BB tag is named "SCR" for "scroll". You can add height overflow handling to it also, but I didn't like the way that looked. You're still downloading a large image with this, but it doesn't disrupt the forum display width.
Title: Insert Image and give it a horizontal scroll bar (displays wide images in normal forum width)
Tag: SCR
Replacement: <div style="width: 700px; padding-bottom: 10px; overflow: auto;"><img src="{param}"></div>
Example: Your example
Description: Show wide images with a horizontal scroll bar.
Use {option}: No
Button Image: http://www.xrdualsport.com/images/BB_scr_button.gif
Here's an example of it in use:
http://www.xrdualsport.com/discussion/showthread.php?t=42
Steve
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.