![]() |
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 { 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). |
Installed!
i was testing it out and the information on the bar says "The original image is sized %1%2." What is that? |
Using this but its not resizing images even though the image is double the size the limit is set at?
|
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 :rolleyes: Alliya |
Jase2, just PM you the packed mod ;)
|
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> |
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. |
Yea i would love a mouse over instead of the yellow bar tooo. thankssss
|
If you want a mouse over instead of a yellow bar read post 271, I provided a hack to do it.
|
Quote:
Thank you. |
All times are GMT. The time now is 11:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|