Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
The Image Resizer. Powered with Lytebox / Highslide / Lightview / and many more! Details »
The Image Resizer. Powered with Lytebox / Highslide / Lightview / and many more!
Mod Version: 1.2.8, by TCattitude (Member) TCattitude is offline
Developer Last Online: Feb 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (128 votes - 4.78 average) Installs: 1416
Released: 07 Jul 2008 Last Update: 27 Aug 2008 Downloads: 15355
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Re-usable Code Translations  

----------------------------------------
THE IMAGE RESIZER for vBulletin 3.7 v1.2.8
Powered with:
Lytebox / Highslide / Lightview / Slimbox / Thickbox
Floatbox / Shadowbox / Greybox / Roebox / AwesomeBox
LightWindow


based on nCode Image Resizer for vb3.6.x
----------------------------------------



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 (and group's pictures),
and in signatures (optional), which is larger than given dimensions.
Also, give (optional in admincp) options to the users, to set their own preferences
for resizing.

The Image Resizer acts in:
- External images embed in posts.
- Attachs images embed in posts.
- External images embed in blogs.
- Images in Albums / Group's pictures (optional).
- Signatures (optional) with a different width/height setting.

And 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
- Enlargement using Lytebox
- Enlargement using Highslide
- Enlargement using Lightview
- Enlargement using Slimbox
- Enlargement using Thickbox
- Enlargement using Floatbox
- Enlargement using Shadowbox
- Enlargement using Greybox
- Enlargement using Roebox
- Enlargement using AwesomeBox

It also adds an information bar when not using Lytebox/Highslide/etc (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.

See the AdminCP Screenshot below.


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/tcattd_imageresizer.js
forums/clientscript/lytebox/*.*
forums/clientscript/highslide/*.*
forums/clientscript/lightview/*.*
forums/clientscript/slimbox/*.*
forums/clientscript/thickbox/*.*
forums/clientscript/floatbox/*.*
forums/clientscript/shadowbox/*.*
forums/clientscript/greybox/*.*
forums/clientscript/roebox/*.*
forums/clientscript/lightwindow/*.*
forums/clientscript/awesomebox/*.*

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)
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 (changelog)
----------------------------------------
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).


v1.2.7 (August 26th, 2008)
- Added. Option to exclude certain styles from apply all the image-resizer thing.
That way you can exclude you "mobile" style (mobile style hack @ vb.org)
and not overload that with all the javascripts from lightboxes.
Down side: images in those excluded styles will not be resized.
- Added. CSS Class for resized images. You can easily customize your needs for HOW
to display a downsized image, borders, spacers, and many others only using
the defined CSS Class.
CSS class for img tags are:
tcattdimgresizer ->normal IMG tag
tcattdimglink -> IMGLINK tag
- Fixed. Proper fieldset in UserCP options for Image Resizer. Now really fixed (i hope).
- Fixed. Using "resize in same window" for signatures not downsize well the image
after user click to go back from full size to small size.
- Fixed. Not a fix really, but implemented the downsize of image attachments in vbadvanced
news module. I'm not using vbadv anymore, that's why i don't "see" that before.
- Fixed/Added. Fix the Not Valid XHTML 1.0 Transitional.
Added an option to choose a new javascript metod to resize images, that's
100% valid. Is optional, so you can keep the old and nice Ncode mode,
or change it to the new one.

To upgrade you need to:
- upload (and overwrite) the file /clientscript/ncode_imageresizer.js
- upload the new file /clientscript/tcattd_imageresizer.js
Then, re-import the new 1.2.7 product (allow overwrite = yes).
Check (and re-save) your AdminCP options.


1.2.6 (July 28th, 2008)
- Added. New autocreated on install BBcode: [IMGLINK]
This BBcode will "solve" the know issue number one, about embed images with a link
[URL] tag arround them to use as button for links.
For more details, refer to the AdminCP option and associated Help on that item.
- Added. Optional resizing of the new BBcode [IMGLINK]. If yes, images posted with
the new BBcode will be downsized, but no lightbox will be attached to them, so
links with [URL] still works and don't mess up your layout too.
- Added. A new option in AdminCP to "allow only change dimensions" in users profiles options.
So, now you have: allow all options, allow resize mode selecion, allow resize mode
selection and change dimensions, allow only change dimensions.
For more details, refer to the AdminCP option and associated Help on that item.
- Fixed. LightWindow was integrated in v1.2.5, but the option-item in the admincp was
missing. LOL
Working now.
- Fixed. Highslide image paths (css don't work properly and can't display loader and fullexpand images)
- Fixed. The layout of the UserCP -> Profile Options for The Image Resizer (now a proper "fieldset" is set)
- Updated. Highslide to v3.3.22
- Updated. Slimbox to v1.64

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


1.2.5 (July 22th, 2008)
- Added. New resizers: Floatbox, Shadowbox, Greybox, Roebox, LightWindow, AwesomeBox.
- Added. New options to set different width and height for Signature's image
resizing and Album's image resizing. Check the AdminCP options for configuration.
- Added. New option to exclude usergroups (by IDs) from Signature resizing.
- Added. An option to disable the Resizing of pictures in vb's albums / group's pictures.
Some people don't like and don't use that.
- Clean. Cleaned up "the function" for search/replace.
- Fixed. Removed the ugly border from the images in Albums and Group's Pictures
(forgot to put a border="0" in the img tag for the Lightbox's link).

To upgrade you need to upload all the new /clientscript/ files
and folders again. Overwrite the javascripts! (yes, overwrite the ncode_imageresizer.js).
Then, import the new 1.2.5 product (allow overwrite = yes).

And: check the readme! (Known issues)


1.2.4 (July 18th, 2008)
- Added. New resizers: Lightview, Slimbox, Thickbox.

To upgrade, you need to upload all the new /clientscript/ files
and folders!. Then, import the new 1.2.4 product (allow overwrite = yes).



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.
----------------------------------------
http://www.antronio.com/blogs/tc/hap...de-tiempos-36/
In vB's Blog.
http://www.antronio.com/album/constructora/a6-p30/
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 and license info for Highslide / Lytebox / etc).

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, Highslide and many more! (optional)

Support.
----------------------------------------
Will be given by me... and all the nice and beautiful community here at vb.org that is using this mod and be kind enough to help each other.
I have a work, a family and a small Cat that takes a lot of milk, so don't spec an immediate response for every problem. Bugs will be solved. Suggestions could be taken or not.
And obviously: don't ask or request things if you don't mark this mod as installed

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	admincpSS_127.jpg
Views:	5825
Size:	93.9 KB
ID:	86086  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Display Enhancements Image Resize using Lytebox ( 3.6.x ) Lost Heaven vBulletin 3.6 Add-ons 37 13 May 2009 22:37
Forum Display Enhancements Image Resize using Lytebox Lost Heaven vBulletin 3.7 Add-ons 73 18 Dec 2008 00:14

  #286  
Old 27 Aug 2008, 21:13
TCattitude's Avatar
TCattitude TCattitude is offline
 
Join Date: Oct 2004
Originally Posted by serpents.guild View Post
Updated my boards last night, seems that potential registers get an error in IE only when attempting to register ... Internet Explorer pops up with an "Operation Aborted" error ... problem only occurs in IE 6 or 7 ... disabled the product and I was able to register with IE fine ... anyone else see this happening?
Read the... readme.
Known issues.
Reply With Quote
  #287  
Old 27 Aug 2008, 21:58
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Originally Posted by TCattitude View Post
Read the... readme.
Known issues.
What about the questions I asked earlier ?

Thanks in advance
Reply With Quote
  #288  
Old 27 Aug 2008, 22:35
TCattitude's Avatar
TCattitude TCattitude is offline
 
Join Date: Oct 2004
Originally Posted by jambo_1969 View Post
PNG images files ?

Actually now I dig deeper, using Lytebox, it seems very hit or miss whether it actually works ?

Sometimes it opens in a new window, sometimes I get a hanging white box, other times, it does work...

What am I missing ?
Try with the default vb's style, and see whats happen.
Reply With Quote
  #289  
Old 28 Aug 2008, 00:04
gabrielt gabrielt is offline
 
Join Date: Apr 2007
Hello,

I loved the idea -- we've been using nCode Image Resizer for a while now. Nice upgrade.

However we bumped into a real problem. In our forums we have lots of people posting images like this:

[ URL=url_to_the_big_image][ IMG=little_thumbnail_image][ /IMG][ /URL]

(the spaces before the tag were added so this forum wouldn't try to convert them into HTML).

For obvious reasons this makes any of the "fancy" lightview options to recognize only what is inside the IMG tag, which is the thumbnail, not the big image. Thus when we enable any of these lightview options, they display only the small thumbnails, not the big images...

I was wondering how difficult it would be to hack your mod to allow it to detect this [URL][IMG] tag nesting and "fix" this behaviour.

I hope I was clear enough for you to understand what we are facing here.

Cheers,
Gabriel.
Reply With Quote
  #290  
Old 28 Aug 2008, 00:39
TCattitude's Avatar
TCattitude TCattitude is offline
 
Join Date: Oct 2004
Originally Posted by gabrielt View Post
Hello,

I loved the idea -- we've been using nCode Image Resizer for a while now. Nice upgrade.

However we bumped into a real problem. In our forums we have lots of people posting images like this:

[ URL=url_to_the_big_image][ IMG=little_thumbnail_image][ /IMG][ /URL]

(the spaces before the tag were added so this forum wouldn't try to convert them into HTML).

For obvious reasons this makes any of the "fancy" lightview options to recognize only what is inside the IMG tag, which is the thumbnail, not the big image. Thus when we enable any of these lightview options, they display only the small thumbnails, not the big images...

I was wondering how difficult it would be to hack your mod to allow it to detect this [URL][IMG] tag nesting and "fix" this behaviour.

I hope I was clear enough for you to understand what we are facing here.

Cheers,
Gabriel.
Readme, known issues, IMGLINK tag.
Reply With Quote
  #291  
Old 28 Aug 2008, 00:56
ExTincTi0N's Avatar
ExTincTi0N ExTincTi0N is offline
 
Join Date: Mar 2008
Location: Texas
Real name: Taylor Jones
Ok guess you didn't see my post. But I am "trying" to use this mod. I selected lytebox as my image thing. But it didn't work it just took me to a new window/tab/or in same window or tab with the image. Lytebox doesn't even work when I select it.
__________________
www.vbtree.com the newest and hotest vb skin site out.
www.artvenom.com where the venom of art resides.
Reply With Quote
  #292  
Old 28 Aug 2008, 01:07
TCattitude's Avatar
TCattitude TCattitude is offline
 
Join Date: Oct 2004
Originally Posted by ExTincTi0N View Post
Ok guess you didn't see my post. But I am "trying" to use this mod. I selected lytebox as my image thing. But it didn't work it just took me to a new window/tab/or in same window or tab with the image. Lytebox doesn't even work when I select it.
Other lightbox works for you?. Which?
Reupload all v1.2.8 files and re-import the product (overwrite). Then, try the vb's default style, and see what happen.
Reply With Quote
  #293  
Old 28 Aug 2008, 02:13
ExTincTi0N's Avatar
ExTincTi0N ExTincTi0N is offline
 
Join Date: Mar 2008
Location: Texas
Real name: Taylor Jones
Thank you very much, I got it to work with the update. Just wondering is there a way to select certain forums this mod will not work on like the gfx tutorial forums?
__________________
www.vbtree.com the newest and hotest vb skin site out.
www.artvenom.com where the venom of art resides.
Reply With Quote
  #294  
Old 28 Aug 2008, 05:18
verino verino is offline
 
Join Date: May 2008
thank's for the update
Reply With Quote
  #295  
Old 28 Aug 2008, 05:37
irishblue irishblue is offline
 
Join Date: Dec 2006
Originally Posted by Bansidhe View Post
Hello Irishblue -

I used Highslide and I actually installed this mod last night and updated it myself to version 4.0.4. Sorry TC it was before I woke up this morning to see that you have already done that in the lastest version.

With vbadvanced, Highslide works fine with [img] attachments. It auto downsized the images on the portal page. You can check it out here:

http://dpworldgaming.dpguild.net/

See more of the [img] tage here :

http://dpworldgaming.dpguild.net/for...ead.php?t=3358

And attachment look here (post #20):http://dpworldgaming.dpguild.net/for...?t=3358&page=2

I didn't do anything special for the [img] downsizing to work. I use the same mod. I just changed the way my Highslide looks when used.
thanks! I checked out ur site and realised I didn't have the latest vbadvanced cmps ver. I upgraded it and it's working like a charm now!
Reply With Quote
  #296  
Old 28 Aug 2008, 06:18
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Originally Posted by TCattitude View Post
Try with the default vb's style, and see whats happen.
Tried it and it was very sporadic.

Updated/Overwritten to 1.2.8, but more worryingly after the update, my server spiked to 157 load average....

After uninstalling the product, all calmed down a little....so not entirely sure what was going on there !
Reply With Quote
  #297  
Old 28 Aug 2008, 06:40
Bansidhe Bansidhe is offline
 
Join Date: Aug 2004
Originally Posted by irishblue View Post
thanks! I checked out ur site and realised I didn't have the latest vbadvanced cmps ver. I upgraded it and it's working like a charm now!

Don't you hate it when that happens? You rack your brain till all your hair falls out wondering wtf is going on, why it isn't working and then all of a sudden you see the problem and it's so small and under your nose the whole time.....for you it was just an older version that just needed to be updated.
Reply With Quote
  #298  
Old 28 Aug 2008, 09:00
Arjan Arjan is offline
 
Join Date: Jul 2005
Originally Posted by TCattitude View Post
Solved.
Added and option in v1.2.8 to downsize attachs with no thumbs.
Thanks, it works like a charm
Reply With Quote
  #299  
Old 28 Aug 2008, 09:08
Arjan Arjan is offline
 
Join Date: Jul 2005
I discovered one little problem while toying around with the options.
When you have a lightbox selected (both nCode and TCatted mode) then the attachment is not clickable to view the large version.
In the plain versions (which I use) where you have the bar above the image it works fine.
Reply With Quote
  #300  
Old 28 Aug 2008, 09:59
Arjan Arjan is offline
 
Join Date: Jul 2005
Originally Posted by TCattitude View Post
Other lightbox works for you?. Which?
Reupload all v1.2.8 files and re-import the product (overwrite). Then, try the vb's default style, and see what happen.
I didn't mention, but on one of my sites I had that with Shadowbox. While on the other it worked just fine. Maybe because I only uploaded the js files and nit the lightbox directories while installing 1.2.7 over 1.2.6?
After upgrading to 1.2.8 it worked fine for me. I uploaded the complete thing and I changed Add rel="nofollow" to Links pointing TO Member Profiles FROM Forumhome
in vbSEO to no to have it the same as on the board where it was working allready.

Hope this provides some things to try and solve it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:09.

Layout Options | Width: Wide Color: