![]() |
Hey guys, a quick question.
I would like my members to upload larger images than my forum width. So I have set the max image size to 1024x768. Is there anyway to have the resizer resize to my forum width? Or a but smaller? |
I admit not reading the whole thread, but will someone please tell me if this works in blog posts and such, or is it only for forum posts?
|
Quote:
|
Thank you! I did start back through the thread and found some references, but the post you linked to was what I needed. I appreciate your help!
|
Quote:
Quote:
i am also having this problem.. i uninstalled my old ncode and installed this new one.. uninstall reinstall use old one again and so forth.. until i dun remember which version of ncode i have on now :o but still coming out with %1%2.. googled out what could be wrong.. saw in Spleasure's thread, KURTz mentioned it most likely is due to vbadvanced.. well i disable vbadvanced for a while, load a page.. and the numbers were there.. enable vbadvanced.. and it became %1%2 and weight %3 tested with IE & firefox.. any ideas how to get around this.. or where to edit the top bar text so i can remove the image original size thingy text.. Much Appreciated, kambing |
Yes, that is down to vbadvanced (I think).
Hmm...not too sure what could be causing that atm. I don't use vbadvanced, either. I'll take a look shortly. |
Hi,
We've got a problem with the image resizer on our forum. I wanted to set the size a little lower than 650 pixels, but when I tried to change it to 600 pixels. I got this error: Fatal error: Call to a member function query_write() on a non-object in /var/www/includes/adminfunctions_options.php(490) : eval()'d code on line 64 The funny thing is that I can change it to a higher value and now it?s up to 700 pixels... oops :D Any clues? Using vbulletin 3.7.1 |
great mod thanks, is there any way to stop the resized image centering as its throwing the formatting off ?
|
Same here. I'm running vbadvanced and I also have %1%2 and weight %3. Any fix?
|
works great however doesn't resize if an image is within spoiler tags
here is the BB code for my spoiler tags - what would i need to change to sort this ? many thanks :) Code:
<div style="margin:5px 20px 20px 20px"> |
Work on 3.7.2?
It doesnt work, i have the ald attachements and no image resizer, in acp i have the Add on and i can choose any options. Thx |
Perfect for every board out there!!
|
Fatal error: Call to a member function query_write() on a non-object in /public_html/forums/includes/adminfunctions_options.php(490) : eval()'d code on line 11
|
Quote:
Quote:
Open the xml product file. Search for: Code:
<plugin active="1" executionorder="5"> Code:
<plugin active="1" executionorder="5"> |
will this resize signature Pictures also??
|
Quote:
|
Does it work on 3.7.2
|
Quote:
And works perfectly with 3.7.2:up: |
Hey, just need to check - once this is added it won't give birth to the security token error?
Has the line of code been added so that it works with the security token feature? Just been having a lot of issues with this + mods Thanks! |
Thanks, installed on 3.7.2 and working nicely ;-)
Noticed a minor CSS-flaw that caused the text-alignment of the warning to behave differently in Firefox and MSIE 7. In MSIE it was centered, in FF it was not, fixed it this way: In product-imageresizer.xml search for Code:
table.ncode_imageresizer_warning td { add after: Code:
text-align: center; The just upgrade the product and choose overwrite. That's all ;-) Ingress |
Hey Jase, any luck getting it to work with Lightbox?
|
Quote:
Quote:
|
Quote:
|
I make it work with Lytebox and Highslide. You need some changes in the function that parse the "img tag" in the html, but is really simple.
Is a fork of this, so... Jase2, if you want, i can give you the details yo include those in the product. I don't want to release a separate one, cause still using the ncode's javascript to resize large images, i just change the way they open for the user. |
TCattitude, feel free to private message me the changes and I will review when time permits.
|
No probs Jase. I've PM'd tCat, maybe he can help.
Could you please add the 2px margin around the thumbnails at least? You images sit flush on top of each other, rather than have a 2px margin like attached images do. See here for example. |
I've just installed this and the images aren't resizing at all. What can I do to debug the problem?
|
Hmmm.... what version of vBulletin are you running? Also, are you sure the image is bigger than the set dimensions in ACP?
|
Quote:
|
Is it possible to use this without the information bar on top of the image?
|
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 07:43 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:
|