New Image Tag to reduce Imagesize
I had this done with Deaths with version 3.0.7 but it applies here as well of course.
This is not really professional but ey, it works for me :) To post an image you usually use [IMG]. You can create another tag, let's say [IMGO] for oversized images. Go to your admincp Admincp => Custom BB Codes => Add New BB Code Title : Whatever you want Tag : imgo Replacement : <a href="{param}" target="_blank"><img border="0" width="400" alt="Thumb resize." src="{param}" /></a> Example : [imgo]http://img96.imageshack.us/img96/7499/gibraltar12804sx.jpg[/imgo] (you need an example otherwise it will displays only the link) Description : Whatever you want Use {option} : No Button Image (Optional) : Well, optional As I said, it is not the best, professional one, but usefull. The dark side of that one is when using with picture smaller than 400 pixel width :) It'll be resized also .... Original Post / Version 3.0.7 |
Uh.... the height remains, so the image will be disorted. 'cause it's client-side, they'll still download the full filesize of the full image, which defeats the purpose of thumbnails in many applications. What's the point?
|
The point is to avoid the forum being disorted (optic wise) ...
|
Quote:
HTML Code:
<a href="{param}" target="_blank"><img src="{param}" width="640" border="4" alt="Click the image to view the full version" /></a><div align="center"><b>Click the image to view the full version.</b></div> |
It's "Dimensions"... Not filesize. Get it right.
|
Quote:
|
Quote:
|
Quote:
|
Cool! Thanks for sharing.
|
Thanks you for sharing :)
|
All times are GMT. The time now is 01:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|