The Image Resizer (powered with Lytebox / Highslide)

Mecca

New Member
----------------------------------------
THE IMAGE RESIZER for vBulletin 3.7 v1.2.3
Powered with Lytebox / Highslide (btw: with no code-mod )
based on nCode Image Resizer for vb3.6.x
----------------------------------------

Thanks.
----------------------------------------
Thanks to Spleasure for the permission to use his javascript and work.
I made another mod, more minimalistic, for resize external posted images
in several vbulletin website that i manage. But my javascript skills are
nor really the best, so i was using some other JS functions that i found
online. But nothing like nCode's one.

So he gave me permission to use his JS, and to use the first fork I did
from nCode's plugin-product for vbulletin 3.6.x. So i drop my own
minimalistic version of the image-resize plugin-product, polished the fork (put options and more friendly for admins), and make a
"second version" of nCode's one.

And this is it: nCode Image Resizer -> The Image Resizer.
Now powered with Lytebox or Highslide! (optional)

What does it do
----------------------------------------
This plugin enables you to automatically resize every user-posted external
image, posted in threads, vb's blogs or even vb's albums, which is
larger than given dimensions.

The resize methods are:
- No resizing
- Enlargement in the same document
- Enlargement in the same window (replacing the forum thread document)
- Enlargement in a new window
- NEW! enlargement using Lytebox
- NEW! enlargement using Highslide

It also adds an information bar when not using Lytebox/Highslide (which is not
displayed when the image is too small) giving information about the original
dimensions and filesize.
Filesize is only supported on Internet Explorer, other browsers don't reveal
this information through javascript.

Installation / Upgrade
----------------------------------------
1. Upload the contents of the "clientscript" folder to your vBulletin's clientscript folder.
You will have:
forums/clientscript/ncode_imageresizer.js
forums/clientscript/lytebox/*.*
forums/clientscript/highslide/*.*

2. Import "product-tcattd_extimageresizer.xml" in your vBulletin forum. Enter your AdminCP
and go to Plugins & Products -> Manage Products. Click on [Add/Import Product] and
refer to the XML file.
Allow Overwrite -> Yes.

3. You're done.

* Upgrading.
If you're using old (but great!) nCode Image Resizer for vb3.6.x or Jase2 port
for vb3.7 (the reason for keep this update; is a great mod, even Jase2 port is cool. Since he have no time, like he said, I ask for permission and I took nCode mod from vb3.6 and re-port it)... then you need to uninstall your old version first from your vBulletin's
Product Manager.
Then, perform an installation from the beginning... and configure it
in your AdminCP

Version history
----------------------------------------
1.2.3 (June 7th, 2008)
- Added. Option "Replace Lightbox for Attached files?" in the AdminCP.
When you turn that on, all default vb's Lightbox will be replaced
with Lytebox/Highslide, only if you are using one of those two
options as your "Default Resize Mode". Now, your attached images
will be open with Lytebox/Highslide.
Old references to Lightbox javascript are hidden (Set $show['lightbox']
to false).

To upgrade, just import the new 1.2.3 product (allow overwrite = yes).
No need to re-upload the files.

1.2.2 (June 7th, 2008)
- Fixed, set "Clear User Settings" to yes in AdminCP, not clear data.
Thanks to Stoebi!
- Fixed, images from Albums added to Groups don't get resized (they use
a different template from pictures displayed in Albums)
Thanks Calash for pointing the bug.

To upgrade, just import the new 1.2.2 product (allow overwrite = yes). No need to re-upload the files.

1.2.1 (June 7th, 2008)
- Change. Moved the conditional in template:
ncode_imageresizer_headinclude
...in order to show less CSS when using Lytebox or Highslide.
Just one new CSS definition will be added (when using Lytebox/Highslide)
If you customized this template, revert it to reflect the changes.
To upgrade, just import the new 1.2.1 product (allow overwrite = yes). No need to re-upload the files.

1.2.0 (June 6th, 2008)
- TCattitude take Spleasure's work with his permission, and continue from
vbulletin 3.6.x mod, porting it to vbulletin 3.7.x
- Add options to use Lytebox or Highslide to show full image.
- Add options to customize the Warn-Bar color, text color and border.
- fixed resizing images posted in vb's blogs.
- fixed resizing images posted in vb's albums. Now you can set a more larger width
in usergroup permissions, and allow "External Image Resizer" to resize down more


to not mess up your layout.
- fixed to not show Warn-Bar when you use Lytebox or Highslide. Instead: Mouse-over
warning.

Before (Spleasure's Work)... see the readme.

Live Demo.
The Happening (2008). A.k.a. "El fin de los tiempos". - ElAntro
In vB's Blog.
ElAntro - Album de Constructora: Fotos de los Aperrados - Picture
In vB's Album.

More Details
See the included readme.txt for more details, configuration, changelog (from nCode vb3.6.x) and other things (copyrights for Highslide / Lytebox).
 

sylv3rblade

New Member
hmmm seems to conflict with VBSEO... guess I need to experiment w/ it or pick just one of them

EDIT.. nvm
I just needed to remove the redirects on external links.. lol
 

Takster

New Member
TCattd The Image Resizer v1.2.8
vbulletin.org/forum/showthread.php?t=184571

v1.2.8 (August 27th, 2008)
- Updated. Highslide from 3.3.22 to 4.0.4
- Added. Option to downsize attached images with no thumbnail.
- Fixed. A problem with highslide image path in forums with vb's files
in the server root. Before some installs take the paths well, some not.
Changed the way it load the CSS into the highslide template (just path vars)
to fix that, using vboptions->bburl for full path.

To upgrade you need to:
- upload (and overwrite) the folder /clientscript/highslide/
Then, re-import the new 1.2.8 product (allow overwrite = yes).
 

Takster

New Member
mammu said:
But is this v1.2.8 nulled?

product version check in the xml, that's about it I think. tbh I never really noticed it.

PHP:
vbulletin.org/forum/misc.php?do=productcheck&pid=tcattd_extimageresizer
 

PePiTo

New Member
I install the program TCattd The Image Resizer v1.2.8.
works but i have alittle problem now with the hide hack
this is the image error i get with the hide hack
any ideas what's the problem ?
magicalsnap200810130015up6.png
 
ie:
HTML:
[url][img]image[/img][/url]

it comes with a [imglink] bbcode for linked images, but it's kind of cumbersome for users used to posting images from imageshack on the fly
 
ok, i've seemed to have gotten this sucker working, with the basic "Default Resize Mode: 'Open In New Window' " and "ncode mode" selected :) ’ '
 
Top