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 |
#272
|
|||
|
|||
Hey Alliya, to remove the yellow warning box from images embedded using IMG tags, add the following CSS to your style.
Code:
.ncode_imageresizer_warning { display: none; } Using FTP, browse to /includes/ and edit the following line of PHP code in the file "class_bbcode.php". PHP Code:
PHP Code:
This should get it working, but you will then notice that the images sit flush on top of each other (they have no margin), which looks bad when they are posted in that way (see here for an example of what I am talking about, note that I have not disabled the warning box). |
#273
|
|||
|
|||
Installed!
i was testing it out and the information on the bar says "The original image is sized %1%2." What is that? |
#274
|
|||
|
|||
Using this but its not resizing images even though the image is double the size the limit is set at?
|
#275
|
|||
|
|||
Hi Baker,
thanks thats fine, we don't use many pictures so only the first code is fine just in case someone doesn't know how to resize them Alliya |
#276
|
||||
|
||||
Jase2, just PM you the packed mod
|
#277
|
|||
|
|||
Just messed with the code again, I'm really sorry ;-)
I regularly copy my complete live-board into a test-environment, which resides under testboard.domain.com. There is a problem with the code in product-imageresizer.xml (line 122) which is Code:
<script type="text/javascript" src="$vboptions[bburl]/clientscript/ncode_imageresizer.js?v=1.0.1"></script> Since I don't update my bburl when I copy (and never had to with other mods) your mod didn't work any more with that absolute link. I just made the link relative which eliminates the obligation to alter bburl in ACP-Options when you do such a copy (or when people just move their board and are lazy ...). Making it relative won't hurt and is the best way in my opinion; if you also think so you will change line 122 to Code:
<script type="text/javascript" src="clientscript/ncode_imageresizer.js?v=1.0.1"></script> in your next release ;-). Kind regards and thanks for maintaing this fine mod, Ingress <edit> Just noticed you also need to change the URL to the tiny symbol in js-file to achieve full relativity ;-) Change line 119 of ncode_imageresizer.js Code:
mimg.src = NcodeImageResizer.BBURL+'/images/statusicon/wol_error.gif'; to Code:
mimg.src = 'images/statusicon/wol_error.gif'; and the job is fully done. </edit> |
#278
|
|||
|
|||
I installed and so far so good. One question, instead of the information bar how about adding an option to have a "mouse over" info bar. In members Sigs my members don't go for anything like this cluttering up their Siggie. So why not have it that when you roll your mouse over the image the pointer changes and an info box pops up. One of the older Image Resizer hacks have that....https://vborg.vbsupport.ru/showthrea...=image+resizer. But It is an older hack and It was one of the hacks I think gave me problems with "security-token" error messages several of my members were getting.
Just wondering if a mouse over is doable. Thank you. |
#279
|
|||
|
|||
Yea i would love a mouse over instead of the yellow bar tooo. thankssss
|
#280
|
|||
|
|||
If you want a mouse over instead of a yellow bar read post 271, I provided a hack to do it.
|
#281
|
|||
|
|||
Quote:
Thank you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|