The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Image Resizer Details »» | |||||||||||||||||||||||||
Modfication Unsupported: This modfication is now unsupported, due to lack of time to work on it. However, TCattitude has continued development and added many cool NEW features. You can see the updated version here: https://vborg.vbsupport.ru/showthrea...=Image+Resizer
Image resizer for vBulletin version 3.6 and 3.7. version: 1.0.2 Please remember to click Mark as Installed if you use this modification. Support questions from members who have not marked this as installed will be considered low priority. What is this? This resizes images in post that are bigger than the set dimensions in your AdminCP options. It also adds an information bar (which is not displayed when the image isn't resized) giving information about the original dimensions and filesize. Filesize is only supported on Internet Explorer, other browsers don't reveal this information through javascript. Configuration Please read the included readme.html A big thanks to Spleasure, who actually created this product. He has given me the rights to the code, so I will be keeping it going for future versions, fixing any bugs, and adding new features. Thanks, and Enjoy. Please report bugs, or feature requests into this thread. Thank you. Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
sodasusu |
Comments |
#222
|
||||
|
||||
Quote:
but what about edit this mod to support the blog and the albums without doing TCattitude steps ? |
#223
|
|||
|
|||
Ok, I'll release an updated version shortly to provide compatibility with the albums and blogs, as well as fixing the clear user options in AdminCP.
D.Baker, I'm still undecided yet. I'm either going to do mechanics on helicopters, train to become a Royal Marines Commando, a pilot. mines clearance diver, or Engineering Technician. Still deciding......... I'll see what I can do with the lytebox -- but images are resized with lytebox, right? |
#224
|
|||
|
|||
not working on 3.7.1 for me. I am no stranger to installing mods, just can't get it to do anything. I've followed instructions 100%, the product installed and is enabled and the file has been uploaded. Tried reuploading and re-installing. img tag images still huge..
|
#225
|
|||
|
|||
Hey Jase,
Sounds like the Navy would be fun. It's a big regret of mine. Anyway, as for Lightbox there are a bunch of different versions of it. Lytebox is a different version, but you should just concentrate on getting Lightbox working. This is the one that comes with vB 3.7. It doesn't actually resize the images, all it does is provide a nice way of opening images in a new window. Basically, any image that has a rel="Lightbox" tag in it's HTML link tag will open in a Lightbox window. Here is an example of the markup: HTML Code:
<a href="http://www.example.com/example.jpg" rel="Lytebox"><img src="http://www.example.com/example.thumbnail.jpg" height="100" width="100"></a> So, what I am asking is that you add an option to "open using Lightbox" in Image Resizer's options page Then your plugin simply adds a rel="Lightbox" into the HTML link tag. This way, it will open using Lightbox and fit the style of the rest of my site (see here for example). I actually figured out how to do this on my own and made a little mod to do it. See steps 12-14. I made it work with Lytebox (not Lightbox) but it's crude and requires some core file edits. I'd rather have Lightbox part of your mod so it's legit and not require so many hacks on my behalf. Of course, it would be ideal if it was somewhat easy to edit a variable in your code so that I could replace rel="Lightbox" with rel="lytebox", but this is just me being demanding (or would this be possible using Replacement Variable Manager? I'm not sure if that works for plugins/products). |
#226
|
|||
|
|||
One more thing I picked up on.
Your plugin's "resized" images don't have the 2px margin like all other embedded thumbnails do (at least that's how it is on my board). The best way to fix this would be to define a unique CSS class (eg. class="imageresizer") in the img tag, rather than just the ID. That way we could style the images anyway we wanted (like fix the 2px margin problem I mentioned above). I'd say this is a critical thing to implement. Thanks for putting up with my nagging! |
#227
|
|||
|
|||
sross, I'm having no problems whatsoever, neither is anyone else. Maybe you're using an image that isn't bigger than the set dimensions?
D.Baker, do you mean having an option in ACP where you can set the colour code ect. for the top bit where it gives image dimensions ect?... I like that idea -- will look into it. |
#228
|
|||
|
|||
Thanks
|
#229
|
|||
|
|||
Great mod, works well. One thing that might be a good feature, is to allow certain dimension limits for signatures per usergroup. I want to allow all my users to use the IMG tag but often they're way above the dimensions I have set for SIGPIC, so have the IMG tag's diabled. I allow staff to have larger signatures then a registered member and would be great to set a limit per usergroup.
Regardless, nice mod |
#230
|
|||
|
|||
I'm getting a javascript error for some reason. Anyone else get this? The item in the ' ' changes based on the setting in the AdminCP.
NcodeImageResizer is not defined: Code:
NcodeImageResizer.MODE = 'enlarge'; |
#231
|
|||
|
|||
Hey Jase,
I'm pretty sure you can already style the resize text box thing to a different color using the class ncode_imageresizer_warning. What I'm talking about is giving the actual image a class, so that you can style it with boarders, margins and paddings etc. At the moment you give the image an ID, but no class. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|