PDA

View Full Version : Miscellaneous Hacks - Image Resizer - Using nCode Script


Pages : 1 [2] 3

slipkot
12-08-2010, 11:13 AM
I see more people ask but dont see the answer.

Your screenshot is diferent from reality.
I have installed 1.0.2, but see 1.0.1 in my adminpanel and options are different that your screenshot.
I want the option for dissabled in signatures.

Same problem! Any help?

Seven Skins
12-12-2010, 09:55 AM
^ Its just the I may have forgot to edit the version #.
Anyways new version is coming soon (may be this week) with loads more options ;)

sumampouw
12-12-2010, 01:47 PM
Waiting For new version :)

Thanks !

kfyonur
12-15-2010, 05:47 PM
waiting for new version.

nick682
12-18-2010, 08:31 PM
^ Its just the I may have forgot to edit the version #.
Anyways new version is coming soon (may be this week) with loads more options ;)

Sounds great! Will this fix issues with images not being resized in visitor messages? Seems like image resizing got messed up in vb 4.1

BUDIMAN
12-19-2010, 08:34 PM
waiting for new version too

Seven Skins
12-21-2010, 04:44 PM
This hack has been updated.

Merry Christmas + Happy New year :)

.

sadiq6210
12-21-2010, 04:59 PM
WoW, I am writting some suggestions when I see it is updated and all my suggestions there =)

Thanks

BadgerDog
12-21-2010, 05:09 PM
This hack has been updated.

Merry Christmas + Happy New year :)

.

Thanks for update .. :up:

I notice the new small PNG graphic with this version, so before I install this update, does that mean we'll lose the "yellow" bar image that says click to enlarge?

Regards,
Doug

sadiq6210
12-21-2010, 05:19 PM
Thanks for update .. :up:

I notice the new small PNG graphic with this version, so before I install this update, does that mean we'll lose the "yellow" bar image that says click to enlarge?

Regards,
Doug

The bar will be like this
https://vborg.vbsupport.ru/attachment.php?attachmentid=124693&d=1292956334

Note:
You can change the icon from the file (ncode_imageresizer), or just overwrtting the new image

BadgerDog
12-21-2010, 05:27 PM
The bar will be like this
https://vborg.vbsupport.ru/attachment.php?attachmentid=124693&d=1292956334

Note:
You can change the icon from the file (ncode_imageresizer), or just overwrtting the new image


Thank you ... :)

Installed (updated previous version) on vb4.04pl1 and seems to be working fine ..:up:

Regards,
Doug

EquinoxWorld
12-21-2010, 07:25 PM
Hello I have a brand new vb4.1.0 pl2 and I can get the top bar to show or resize any images. I'm using gd on a vps. Any ideas what's going on? Am I suppose to change some settings around on vb to get this to work?

ZexTasy
12-22-2010, 05:14 AM
Thank you very much for the update! (Y)

kfyonur
12-22-2010, 08:15 AM
oooo thanx.

Freddy.k
12-22-2010, 01:32 PM
Thank you very much for the update

Seven Skins
12-22-2010, 06:30 PM
Hello I have a brand new vb4.1.0 pl2 and I can get the top bar to show or resize any images. I'm using gd on a vps. Any ideas what's going on? Am I suppose to change some settings around on vb to get this to work?

No there is no need to change anything in vbulletin, this hack work as it is.
PS. This hack does not resize attachments only images in IMG tags.

AURFSCAN
12-23-2010, 03:55 AM
hello, seems to resize images in blog posts ok but doesnt resize an Image in blog post comments.

can someone please confirm. thanks

Antyrael
12-23-2010, 08:55 AM
Thanks a lot for making this great addon work with vB 4.1!

BadgerDog
12-23-2010, 10:02 AM
Thank you ... :)

Installed (updated previous version) on vb4.04pl1 and seems to be working fine ..:up:

Regards,
Doug

Update: The mod works great for IMG's re-sized during post views, but does not work during the "Preview" part of editing or creating a post? :confused:

Is there any way of adding that capability so the post creator sees the end result bedore he hits SUBMIT to save the post?

I believe the old version used to work during "Preview Mode"?

Thanks .. :)

Regards,
Doug

canyildiz
12-24-2010, 08:00 AM
Works great with v4.0.3

Thanks a lot...

Boss1
12-24-2010, 07:56 PM
Hi, Thanks For The Hack, but when i install this hack, when viewing thread and creating new thread, it gives me error

Fatal error: Class 'vB_Template' not found in /domain/global.php(607) : eval()'d code on line 4

I m using 3.8.6 :)
Help will be appreciated..when i disable this hack in plugins, the site is back to normal.. :(

Kyoshokid
12-25-2010, 01:24 AM
Hi, Thanks For The Hack, but when i install this hack, when viewing thread and creating new thread, it gives me error



I m using 3.8.6 :)
Help will be appreciated..when i disable this hack in plugins, the site is back to normal.. :(

Maybe because this is for vb4 and your trying to install it on a vb3 board.

You need the 3.8 image resizer.

@op thanks will be upgrading to this later tonight.

Boss1
12-25-2010, 08:33 PM
Maybe because this is for vb4 and your trying to install it on a vb3 board.

You need the 3.8 image resizer.

@op thanks will be upgrading to this later tonight.

Thnx for replying

sorry my bad :)
will search in 3.8.x section :)

Dutch_Boy
12-26-2010, 11:49 AM
Manny thanks !! Finally a images resizer that works for blogs ! :D

AURFSCAN
12-26-2010, 01:18 PM
Can someone try an Image in blog comments please, doesnt appear to resize in comments. ta

joomla
12-26-2010, 03:01 PM
At the end thank you :up:

sweetguy2004
12-26-2010, 06:51 PM
thanks installed :D

marcopolo
01-04-2011, 04:48 PM
Installed, but any way of using with img src and alt text?

Oh and within a <div> so I can have images side by side

marcopolo
01-07-2011, 06:27 AM
also, if you look at this (http://www.os-db.net/content.php?391-test-area) link you'll see the image is not in line with the area you click on, but ok in the article, why is this?

Seven Skins
01-07-2011, 02:48 PM
This hack work nicely with default skin.
If your skin is edited you may have to edit "ss_imageresizer" templates css definitions.

slipkot
01-10-2011, 10:34 PM
Hello,

I am using version 1.3. Is it possible to the next update you support vbadvanced? Images there are not resized.

Thanks in advance :)

thunderclap82
01-12-2011, 02:52 PM
It seems to work fine for image resizing in CMS Preview Articles and Articles themselves, but if there is an image in a comment it doesn't seem to work. (See here (http://www.fanedit.org/content.php?212-ANH-Revisited-To-Be-Released-in-HD-Coming-in-2016!).)

Any way to fix this?

zonaenlinea
01-12-2011, 09:17 PM
How do I change the color of the bar and change the explanation in Spanish

MaemoMeeGo
01-13-2011, 02:19 PM
It seems to work fine for image resizing in CMS Preview Articles and Articles themselves, but if there is an image in a comment it doesn't seem to work. (See here (http://www.fanedit.org/content.php?212-ANH-Revisited-To-Be-Released-in-HD-Coming-in-2016!).)

Any way to fix this?
Same problem here..


Thanks For The Hack :)

Seven Skins
01-13-2011, 02:40 PM
How do I change the color of the bar and change the explanation in Spanish

Edit ss_imageresizer template for the color and for the text seracrch for "sevenskins" in the phrases.

It seems to work fine for image resizing in CMS Preview Articles and Articles themselves, but if there is an image in a comment it doesn't seem to work. (See here (http://www.fanedit.org/content.php?212-ANH-Revisited-To-Be-Released-in-HD-Coming-in-2016!).)

Any way to fix this?

I will see if I can fix this.

AURFSCAN
01-13-2011, 05:54 PM
<i>
It seems to work fine for image resizing in CMS Preview Articles and Articles themselves, but if there is an image in a comment it doesn't seem to work
</i>

also blog comments too please SS if you can.. I'm trying to find a fix but no joy yet.

PGTycoon
01-14-2011, 12:46 PM
doesn't seem to work on 4.1.1 in topics, please look into this.

Athena1984
01-14-2011, 11:10 PM
This is not working for blogs, I am unsure if it is working for CMS yet. I've tried editing the post and then saving but, the images still aren't being resized.

Gleedo
01-19-2011, 04:52 PM
This is not working for blogs, I am unsure if it is working for CMS yet. I've tried editing the post and then saving but, the images still aren't being resized.

Same here for blogs on 4.1.1

horussjr
01-19-2011, 05:13 PM
have you tried posting than having the page forced refresh? like CTRL+F5?

yin9
01-22-2011, 03:15 AM
Don't work for me in 4.1.0 PL2.

thunderclap82
01-22-2011, 11:34 AM
Don't work for me in 4.1.0 PL2.

Works fine for me in 4.1 PL2 with the exception of the minor bug I mentioned previously.

BadgerDog
01-23-2011, 03:36 PM
Does anyone use, or know why this excellent mod doesn't work with Datho's....

A Very Lightweight Style for Small Screen Devices (cell phone/iphone/mobile/android) (https://vborg.vbsupport.ru/showthread.php?p=2153384)

The code templates appear under that style, but large pics aren't resized and the bar doesn't appear at the top of each pic. The mod works fine for ALL other styles. :confused:

Thanks for any help ... :)

Regards,
Doug

horussjr
01-24-2011, 04:33 PM
mobiles are not supposed to work well with instant modification of the page in the default browser (of the cellphone) so that i think it would be

DaffyDuck
01-28-2011, 09:06 AM
mobiles are not supposed to work well with instant modification of the page in the default browser (of the cellphone) so that i think it would beWell, the mobiles *that matter* (ie iPhone or Android) do handle javascript modifications of images well enough), so is there any way for having this adjusted so it works? Please?

Also, could some sort of highslide / lightbox / fancyzoom (preferably fancyzoom) functionality be added?

BadgerDog
01-28-2011, 03:59 PM
Does anyone use, or know why this excellent mod doesn't work with Datho's....

A Very Lightweight Style for Small Screen Devices (cell phone/iphone/mobile/android) (https://vborg.vbsupport.ru/showthread.php?p=2153384)

The code templates appear under that style, but large pics aren't resized and the bar doesn't appear at the top of each pic. The mod works fine for ALL other styles. :confused:

Thanks for any help ... :)

Regards,
Doug

Seven Skins :)

Update ....

Thanks for your work which we've been using on our site on regular styles. We just sent you a PayPal donation as an expression of thanks. :up:

Working with Dartho, we have managed to partially integrate it with some success into his Lightweight mobile style as well.

It seems to work fine, except there's an anomaly with the text phrases that appear in the yellow bar next to the magnifying glass (see pic attached). The phrase seems to come up blank initially, then when you click on the bar of a pic to enlarge it, the word undefined appears and stays, regardless if you click it again to make it smaller,

Dartho says it's in the JS code which he's not that good with and suggested we see if you can have a look at your JS script and perhaps provide a solution?

Regards,
Doug

DaffyDuck
01-29-2011, 03:29 AM
Can you share those mods, as I'm using the lightweight script as well?

dnk.it
02-03-2011, 09:33 PM
don't work with attach image in forum post, works fine with external image with bbcode. Unistalled and wait for a fix ;(

vbulletin 4.1.1

Semmi
02-03-2011, 11:12 PM
haha everything works fine for me! and i have translated it to german. if "Seven Skins" accept that germanversion you will get it soon!

Seven Skins
02-04-2011, 09:02 AM
Seven Skins :)

Update ....

Thanks for your work which we've been using on our site on regular styles. We just sent you a PayPal donation as an expression of thanks. :up:

Working with Dartho, we have managed to partially integrate it with some success into his Lightweight mobile style as well.

It seems to work fine, except there's an anomaly with the text phrases that appear in the yellow bar next to the magnifying glass (see pic attached). The phrase seems to come up blank initially, then when you click on the bar of a pic to enlarge it, the word undefined appears and stays, regardless if you click it again to make it smaller,

Dartho says it's in the JS code which he's not that good with and suggested we see if you can have a look at your JS script and perhaps provide a solution?

Regards,
Doug

Thank you for your kind donation.
I will see if I can come up with something to correct this error.


don't work with attach image in forum post, works fine with external image with bbcode. Unistalled and wait for a fix ;(

vbulletin 4.1.1

Mod description: This hack resizes external images (not attachments) in cms, blogs, posts, new thread preview, signatures, private messages and visitor messages.


haha everything works fine for me! and i have translated it to german. if "Seven Skins" accept that germanversion you will get it soon!

I will check and put this in the first post :)


.

thunderclap82
02-04-2011, 03:44 PM
It seems to work fine for image resizing in CMS Preview Articles and Articles themselves, but if there is an image in a comment it doesn't seem to work. (See here (http://www.fanedit.org/content.php?212-ANH-Revisited-To-Be-Released-in-HD-Coming-in-2016!).)

Any way to fix this?

Any updates on this problem? Any fixes?

Eduardo Leon
02-04-2011, 08:20 PM
Hi !

Well , when i install this in my forum i get this error :S



Parse error: syntax error, unexpected '}' in /home/jy000030/public_html/foro/includes/class_bootstrap.php(412) : eval()'d code on line 11



Help !

gopherhockey
02-06-2011, 07:16 PM
This mod works with vb4.0.8 with a little help.

With vb 4.0.5 and 4.0.6 you had to do:
Admin cp > stylemanger > your theme > style vars > postbit > postbit_content_max_image_width > and set it to a high number for the mod to work.

Now in vb 4.0.8 they removed postbit_content_max_image_width, now you have to edit:

Admin cp > stylemanger > your theme > style vars > common > image_medium_max > and change this to a high value and the mod will work once again.

Hope this helps you guys out.

Am I missing something in the new version? The above isn't valid for 4.1, and the installed hack says to modify the "Image Medium Max" stylevar... but I don't have that stylevar.

If I set it to resize in same window, it doesn't resize anything... it just sits and toggles itself at the same width. The size it reports for the image is also wrong.

It works if I have it use a different window, just not same.

MaemoMeeGo
02-08-2011, 12:05 PM
Work fine with image attachments with bbcode [img]!!
Fixes bug for comments cms and this addon will be perfect!

geckoz
02-17-2011, 06:00 AM
How to remove "Image resizer by SevenSkins" line on footer? Is it allowed?

Trumpetrhapsody
02-17-2011, 04:22 PM
Still would love to be able to resize my signatures independently from other pics on the forum! This is the best resizing hack out there IMO other than that deficiency.

PvPCrew
02-22-2011, 11:48 AM
I can't find it on AdminCP^^
VB4SUITE

Kadi
03-01-2011, 08:01 AM
How to remove "Image resizer by SevenSkins" line on footer? Is it allowed?

I'd like to know how too.

thunderclap82
03-02-2011, 02:14 PM
How to remove "Image resizer by SevenSkins" line on footer? Is it allowed?

Look in the footer template, but I don't think you're allowed to remove it.

Internetcafe
03-12-2011, 01:17 PM
Working fine on 4.1.2 .. very useful addition .. thanks.

giaguaro
03-12-2011, 01:43 PM
sorry, where can i find in the admin cp the choice to reduce, etc. for the mod? thanks!

EDIT: found.

Now: no errors. Set up at 400. But.. IF it works i cant see any click to enlarge.. :( http://www.jtv.cc/forum/showthread.php?20398-prova&p=496840#post496840

mautofied
03-16-2011, 06:47 PM
This mod only seems to work on certain threads. It will throw javascript errors saying that the image resizer is not defined, thus causing other javascript on the page not to function properly.

giaguaro
03-16-2011, 07:18 PM
mine doesnt work at all :(
And no error

LoveStream
03-17-2011, 07:46 AM
Any updates on this problem? Any fixes?

I sure that.

giaguaro
03-17-2011, 08:00 AM
no support at all??

tarionyx
03-20-2011, 12:06 PM
works perfect on 4.1.2 thanks!

giaguaro
03-20-2011, 12:56 PM
why is not working for mine? Did u do some adjustement?

F1-Gears
03-20-2011, 09:45 PM
Not working 100% for me in 4.1.2 too. Does someone knows a solution?

I can use it open the image in a new window, but not in the same of the forum.

Thanks

tarionyx
03-20-2011, 09:58 PM
No, just uploaded files, and installed the XML. I have it set to open in new window. You can see it working here: www.nyfirearms.com/forums

HMBeaty
03-24-2011, 10:18 PM
Is there a branding free option for this modification? Or how can I remove the copyright link in the footer on my board? Thank you.

beatyourtruck
03-26-2011, 02:00 AM
Installed 4.1.2. Works great! 8) Thank you!

rasp187
03-28-2011, 07:46 PM
Yeah how can I change how this is displayed in the footer?

beatyourtruck
03-29-2011, 12:13 AM
Installed 4.1.2. Works great! 8) Thank you!

Ok - found an issue. I see the resize bar in the blogs but not the forum? It resizes the image in the blog per my specs (640 wide) however it resizes it to 600 wide in the forum? The resized forum image is also not clickable.

I know 600 is the same as my "medium" image spec....any correlation there?

I do have the forum and blog selected in vbulletin control panel options.

Freewings2
03-29-2011, 02:21 AM
installed and donated. Thanks! Works great in 4.1.2

Sworm
03-29-2011, 09:24 PM
Don't work well :S

Seven Skins
04-01-2011, 07:13 AM
installed and donated. Thanks! Works great in 4.1.2

Thank you :)

Seven Skins
04-01-2011, 07:15 AM
Ok - found an issue. I see the resize bar in the blogs but not the forum? It resizes the image in the blog per my specs (640 wide) however it resizes it to 600 wide in the forum? The resized forum image is also not clickable.

I know 600 is the same as my "medium" image spec....any correlation there?

I do have the forum and blog selected in vbulletin control panel options.

I havent tested tis in 4.1.2 yet I will test it soon. But as far as I know it works.

Bajek
04-03-2011, 04:13 PM
I installed in on vB 4.1.2 and this mod resize images to desire width (800px) but I cannot open it in original size. I try all possibilities (in new window, in the same window, enlarge). Any suggestion?

Dennis B
04-04-2011, 03:26 PM
This hack is resizing images in the same window in 4.1.2 to image_medium_max only, not their original size. I believe this mitigates the usefulness of this hack, if I must open a new window to display the image in its original size anyway, why not just stick with the default thumbnail system.

Webbstre
04-16-2011, 12:10 AM
Finally, a resizer that doesn't load a bunch of icons and works on everything, including the CMS. Installed, and thanks for this!

JVSP
04-17-2011, 04:22 PM
Is there a branding free option for this modification? Or how can I remove the copyright link in the footer on my board? Thank you.

bump

paradoxx109
04-20-2011, 03:29 AM
Installed and working perfectly!!!

I just wonder, what do I have to edit to change the text to spanish??

Juggernaut
04-25-2011, 02:19 AM
Installed and working perfectly!!!

I just wonder, what do I have to edit to change the text to spanish??
I think it's one of the templates, I forgot how I did it, but it's done in the admin control panel.

Seven Skins
04-25-2011, 10:26 AM
Installed and working perfectly!!!

I just wonder, what do I have to edit to change the text to spanish??

Search for "sevenskins_imageresizer_warning" in phrases and edit it.

woodburyMan
04-26-2011, 02:50 PM
Awesome product!!!

Is there any way to add on to it or edit it so that you can specify different maxium height/width for different areas? Ex I only want to allow 600x200 for signiture images, where as I would like to allow 1024x768 for user's posts and Private Messages.

Seven Skins
04-26-2011, 09:08 PM
^ I might include this in the next release of this hack. But there is no set date for it yet.

Hawk7173
04-28-2011, 09:44 PM
How does one get rid of the advertisement link in the copyright at the footer?

oatsy
05-02-2011, 02:14 PM
Awesome product!!!

Is there any way to add on to it or edit it so that you can specify different maxium height/width for different areas? Ex I only want to allow 600x200 for signiture images, where as I would like to allow 1024x768 for user's posts and Private Messages.
You can set Signature image limits in each Usergroup setting.

Trumpetrhapsody
05-02-2011, 02:44 PM
Not for linked images, just uploaded ones. I want this feature as well, VERY BADLY haha.

Sai01
05-04-2011, 08:52 AM
where do i change the settings on this? i can't find it in my adminCP.

The Rocketeer
05-10-2011, 04:04 PM
nice mod, however I was wondering, if this this a bug.. when the yellow bar is clicked the user is taken on a new tab to display the image instead or the forum itself...

is there any better way to have it display within the forums itself rather then having the user leave the site? And when can we expect a new update, not that we need one since it works fine with the latest vb. Good job guy.

Seven Skins
05-11-2011, 05:24 PM
You can select the "default resize mode" in the adminCP.

The Rocketeer
05-12-2011, 01:31 PM
works like a charm, love your modifications... many thanks pal :)

threethrees
05-12-2011, 03:21 PM
Many Thanks.
Installed.
Just what I needed.

TundraSoul
05-14-2011, 04:47 PM
Very effective, installed in 4.13.

Pvtiste
05-16-2011, 05:17 PM
Hi,
Thanks for this good mod and for sharing!
Also, I was wondering if there is a way to add this function in the members album pictures?

magiccen
05-16-2011, 11:47 PM
No funciona en VB4.1.3

Mikevet1984
05-17-2011, 08:56 AM
It works great in vBulletin version 4.1.3.
Thank you!

Luis
05-22-2011, 03:01 AM
thx

BCP Hung
05-22-2011, 04:54 AM
It works great in vBulletin version 4.1.3.
Thank you!
Not only 4.1.3, also 4.1.4, working nice !

TundraSoul
05-22-2011, 09:25 PM
Would there be any reason why it would not re-size some images?

I have a few like this (http://www.avatar-forums.com/signaturepics/sigpic4541_3.gif) which are 499px wide, and my re-size width is 450px. However the script ignores them and doesn't re-size.

Any suggestions?

dai-kun
05-23-2011, 05:43 AM
Users that use the in-browser page zoom have trouble with the addon activating on some images since the scaled size triggered the script. How can we make it so that it uses the original image size?

Seven Skins
05-23-2011, 10:08 AM
Users that use the in-browser page zoom have trouble with the addon activating on some images since the scaled size triggered the script. How can we make it so that it uses the original image size?

This hack used size in pixels .. and zoon in browser is in % .. hence this will not work with zoomed browser windows.

Defkalion
05-24-2011, 09:35 PM
Are there any plans to make this resize also images that are inside CMS comments?

tomoyo23
05-25-2011, 03:31 PM
is possible in advanced portal? http://www.vbadvanced.com/ ..greetings

raagaswaram
06-06-2011, 01:52 AM
I have images which is 1920x1080 but it shows as click this bar to view the original image of 800x 340.Its limiting to this size why so?.where can i edit it?.

ia7
06-11-2011, 01:58 PM
Make sure when using this that you change the sizes of the image_small/medium/large_max definitions under your Stylevars (search for 'max') otherwise the browser will take over the resizing, but not allow for the viewing of the fullsize images.

I removed the values and units completely and it appears to be working as expected.

Sarteck
06-17-2011, 08:43 PM
I made a very simple one that used to work like the in-place-enlargement/shrinking this Mod does.... But 4.1.4 borked it. XP I found this a few days ago, and it works great. Easier to modify than my hand-made one, too. XD

/me marks installed.

haidm
06-18-2011, 06:47 PM
I have the problem when centered the images in 4.1.4 (see the attach), how can I fix this?

morgano
06-18-2011, 11:29 PM
I have the problem when centered the images in 4.1.4 (see the attach), how can I fix this?

Me too :)

Seven Skins
06-19-2011, 03:05 PM
For some reason vBulletin added P tags around the images and this P tag is causing issue with this hack. For now keep your images aligned to left while I try to fix this, if I can.

Sworm
06-19-2011, 03:46 PM
I hope that you'll able to solve this issue.... this is the best resize for vb 4

Josjua
06-22-2011, 03:11 PM
I have the problem when centered the images in 4.1.4 (see the attach), how can I fix this?

I have the same problem, fix please! thanks!

morgano
06-26-2011, 07:59 PM
If you could show me how to call the Java part and tell it to align: left, center or right I'll be able to code the PHP part to find out if the image is encased in a P tag and to what alignment it's justified and then call the appropriate Java.

BUDIMAN
06-26-2011, 08:35 PM
I have the problem when centered the images in 4.1.4 (see the attach), how can I fix this?

me too..waiting for update

Seven Skins
06-28-2011, 04:29 PM
Update coming soon, Just need to optimize the code and then I will release it, may be tomorow.

morgano
06-29-2011, 05:15 PM
Thanks, waiting eagerly as this is a real pain for the look of the site :)

Sworm
06-29-2011, 05:32 PM
Is it ready? :D We have need of this great hack :)

Seven Skins
06-29-2011, 08:08 PM
This has been updated.

AusPhotography
06-29-2011, 10:24 PM
Can I suggest a fix to the .js file...

Added if(NcodeImageResizer.MAXWIDTH > 0 && this.img.width > NcodeImageResizer.MAXWIDTH) {
this.img.height = (NcodeImageResizer.MAXWIDTH / this.img.width) * this.img.height;
this.img.width = NcodeImageResizer.MAXWIDTH;
} // keep proportions if both options set

Giving....
NcodeImageResizer.prototype.scale = function() {
this.img.height = this.originalHeight;
this.img.width = this.originalWidth;

if(NcodeImageResizer.MAXWIDTH > 0 && this.img.width > NcodeImageResizer.MAXWIDTH) {
this.img.height = (NcodeImageResizer.MAXWIDTH / this.img.width) * this.img.height;
this.img.width = NcodeImageResizer.MAXWIDTH;
}

if(NcodeImageResizer.MAXHEIGHT > 0 && this.img.height > NcodeImageResizer.MAXHEIGHT) {
this.img.width = (NcodeImageResizer.MAXHEIGHT / this.img.height) * this.img.width;
this.img.height = NcodeImageResizer.MAXHEIGHT;
}
if(NcodeImageResizer.MAXWIDTH > 0 && this.img.width > NcodeImageResizer.MAXWIDTH) {
this.img.height = (NcodeImageResizer.MAXWIDTH / this.img.width) * this.img.height;
this.img.width = NcodeImageResizer.MAXWIDTH;
} // keep proportions if both options set

this.warning.width = this.img.width;
this.warning.onclick = function() { return this.resize.unScale(); }

if(this.img.width < 400) {
this.setText(vbphrase['ncode_imageresizer_warning_small']);
} else if(this.img.fileSize && this.img.fileSize > 0) {
this.setText(vbphrase['ncode_imageresizer_warning_filesize'].replace('%1$s', this.originalWidth).replace('%2$s', this.originalHeight).replace('%3$s', Math.round(this.img.fileSize/1024)));
} else {
this.setText(vbphrase['ncode_imageresizer_warning_no_filesize'].replace('%1$s', this.originalWidth).replace('%2$s', this.originalHeight));
}

return false;
}

BUDIMAN
06-29-2011, 11:18 PM
This has been updated.



Doesn't work for me. Tested on custom & default style VB 4.1.4 https://vborg.vbsupport.ru/external/2011/06/1.gif

See here :

The Dawg
06-30-2011, 12:19 AM
Installed. :up:

The yellow bar across the top is missing on all my skins. (including default)

haidm
06-30-2011, 08:14 AM
Installed. :up:

The yellow bar across the top is missing on all my skins. (including default)

The same here.

axix20xx
06-30-2011, 10:19 AM
Thanks.but Doesn't work for me too. Tested on custom & default style VB 4.1.4

The Dawg
06-30-2011, 11:30 AM
Thanks.but Doesn't work for me too. Tested on custom & default style VB 4.1.4
Make sure you set the height & width in the settings for it to work. I am using it on 4.1.4 also.

Seven Skins
06-30-2011, 12:56 PM
Can I suggest a fix to the .js file...

Thanks will test and add this to the code.


Doesn't work for me. Tested on custom & default style VB 4.1.4 https://vborg.vbsupport.ru/external/2011/06/1.gif

See here :

Installed. :up:

The yellow bar across the top is missing on all my skins. (including default)

It is working as designed seee the screen shot (https://vborg.vbsupport.ru/attachment.php?attachmentid=130558&d=1309381461) and read the hack info.

The Dawg
06-30-2011, 01:50 PM
It is working as designed seee the screen shot (https://vborg.vbsupport.ru/attachment.php?attachmentid=130558&d=1309381461) and read the hack info.
I see. How can I change the bar around the 'Click Here'? On my dark skin the text is not showing.

axix20xx
06-30-2011, 02:33 PM
Make sure you set the height & width in the settings for it to work. I am using it on 4.1.4 also.

yes. i set but does not work in this mode or other options (new window & ...)

Seven Skins
06-30-2011, 03:07 PM
I see. How can I change the bar around the 'Click Here'? On my dark skin the text is not showing.

Edit "ss_imageresizer" template and change the property like this "color: #ffffff;" this will make the text white.

Sworm
06-30-2011, 03:11 PM
Make sure you set the height & width in the settings for it to work. I am using it on 4.1.4 also.


It working well for you?

BUDIMAN
06-30-2011, 03:41 PM
Now it's working.

if you're upgrading to 1.4, just clear the cache & cookies after that

Sworm
06-30-2011, 04:14 PM
In a next future it will possible to re-add the yellow bar?

The Dawg
06-30-2011, 10:44 PM
Edit "ss_imageresizer" template and change the property like this "color: #ffffff;" this will make the text white.
Thanks. It would be cool if you could bring the yellow bar back.

BadgerDog
06-30-2011, 11:11 PM
Can we upgrade to the latest version, even if we're still using 4.1.3?

Regards
Doug
PayPal Donator for this mod....:up:

AusPhotography
07-01-2011, 10:02 AM
Can we upgrade to the latest version, even if we're still using 4.1.3?


Works on 4.1.3 for me

Lautaro
07-02-2011, 04:55 AM
installed, it works well.

my suggestion:
add different image resize values for each forum area - posts, signatures, cms etc.. -

Sworm
07-02-2011, 06:07 AM
If the text language is translated from english to another language with vbulletin translator, the hack stop to work.

Edit:
after install this mod, i have losed all the cunstomizations of my postbit_legacy'style :S.

Uninstalled, not work if translated from vb or from xml in other languages

Seven Skins
07-02-2011, 11:19 AM
Should work with 4.1.3. but without yellow bar.

@Lautaro: I am working on JQury image resizer if I am successful it will have the option to choose different sizes for different parts of the forums.

Kaspersku
07-04-2011, 01:00 AM
It has a serious error, if for two pairs of tag [IMG] [/ IMG] [IMG] [/ IMG] it will happen after the link demo (http://itvnn.net/showthread.php?31597-Image-Resizer-Using-nCode-Script-v1.4&p=62681&viewfull=1#post62681)
Why in this 1.4 version does not show up as a traditional 1.3

BadgerDog
07-05-2011, 03:55 PM
Just for clarity ...

I'm currently running vBulletin 4.1.3 ...

Will the new Version: 1.4 still work for me, or do I have to stay with Version 1.3 of Image Resizer?

Thanks ... :)

Regards,
Doug

Sworm
07-05-2011, 05:03 PM
If you're with 4.1.3 , the ncode 1.3 is better

MagicThemeParks
07-09-2011, 05:21 PM
Is there an option to remove or recolor the yellow bar? Against dark skins it shows up too much.

EDIT: Found where to do the edits. Go to the "ss_imageresizer" template and make the changes there.

LifesGreatestGift
07-10-2011, 05:10 PM
1.4 isn't showing the proper size of full sized image when it has resized it.

AusPhotography
07-12-2011, 06:38 AM
Is there an option to remove or recolor the yellow bar? Against dark skins it shows up too much.

EDIT: Found where to do the edits. Go to the "ss_imageresizer" template and make the changes there.

For those not sure what to change...

span.ncode_imageresizer_warning {
font-size: 11px;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000000;
cursor: pointer;
line-height: 200%;}


Becomes...
span.ncode_imageresizer_warning {
font-size: 11px;
font-family: Verdana, Arial, Helvetica, sans-serif;
background: #FFFACD;
color: #000000;
border: 1px solid #EADB9D;
margin-bottom: 3px;
margin-top: 10px;
cursor: pointer;
line-height: 200%;}

hugh_
07-13-2011, 05:51 AM
Nice mod, thanks! Have you considered resizing Calendars, Albums and Social Groups too? :)

F1-Gears
07-13-2011, 10:31 AM
Thanks. Installed and goes well now in my forum :up:

dej
07-21-2011, 09:05 PM
On 4.1.3 - did not work for me.

I set signature size to 500 x 200 via the mod settings and uploaded a sig image.

Then, added a 700 x 400 sig image and the mod allowed it.

This was using the Default style with IMG tags.

fukdawrld
07-23-2011, 12:38 AM
4.1.4 here...Works for me but only after you refresh page.

Thank you.

marianoblesa
07-25-2011, 02:26 PM
Please, update to to rezise vbadvanced.

Thanks.

Seven Skins
07-29-2011, 10:55 AM
On 4.1.3 - did not work for me.

I set signature size to 500 x 200 via the mod settings and uploaded a sig image.

Then, added a 700 x 400 sig image and the mod allowed it.

This was using the Default style with IMG tags.

You need to upload the javascript to the correct folder for this to work.

Seven Skins
07-31-2011, 08:26 PM
Updated to version 1.5.

Yellow bar is back and supports top round corners. :)

BCP Hung
08-01-2011, 01:12 AM
Nice work.
---
I have one question, why do you use "textarea" ?
Look at my attachment, we can enter any text in resize bar.

Seven Skins
08-01-2011, 09:56 AM
You cannot align a block element within another block element so textarea is used.

Textarea is not editable and you should not be able to edit it unless you have some javascript conflict or disable it using another script.

You can see it working here: http://www.atoztalk.com/threads/3032-11-Most-Beautiful-Castles-In-The-World

BadgerDog
08-01-2011, 10:56 AM
Hi .. :)

I'm PayPal donator for this mod and we're currently using v1.3 of it with vBulletin 4.1.3 and it seems to work fine ... :up:

Question: Should we upgrade to the latest release and will it operate fine with our version of vBullletin? What are the cosmetic changes a member will notice, if any?

Thanks for any feedback ... :)

Regards,
Doug

stwan
08-01-2011, 11:32 AM
vBulletin 4.1.3 ; Mod Version: 1.5
Bugs:

1. Incorrect size of the original image size (Mode "open in new window")
http://img225.imageshack.us/img225/3527/imageresizer15.jpg

2. Image Resizer does not work in the preview post and preview blog. (when edit post ; new reply ; blog post ; update blog; )

3. Not working properly with [YUI] VSQ - Spoiler https://vborg.vbsupport.ru/showthread.php?t=240674 (when the image is in the spoiler)

4. Image Resizer does not work comments BLOG and CMS

Please fix in next version.

Seven Skins
08-01-2011, 01:05 PM
Hi .. :)

I'm PayPal donator for this mod and we're currently using v1.3 of it with vBulletin 4.1.3 and it seems to work fine ... :up:

Question: Should we upgrade to the latest release and will it operate fine with our version of vBullletin? What are the cosmetic changes a member will notice, if any?

Thanks for any feedback ... :)

Regards,
Doug

There is not much change in the design of the hack. When you upgrade to 4.1.4 or higher then you will have to update this hack.



vBulletin 4.1.3 ; Mod Version: 1.5
Bugs:

1. Incorrect size of the original image size (Mode "open in new window")

On that website they have "Image Medium Max" set to 800px;

2. Image Resizer does not work in the preview post and preview blog. (when edit post ; new reply ; blog post ; update blog; )

Read the info please it does not say this hack will do this.

3. Not working properly with [YUI] VSQ - Spoiler https://vborg.vbsupport.ru/showthread.php?t=240674 (when the image is in the spoiler)

Read the info please it does not say this hack will do this.


4. Image Resizer does not work comments BLOG and CMS

It works.

Please fix in next version.


Working as designed.

stwan
08-01-2011, 03:21 PM
On that website they have "Image Medium Max" set to 800px;
The site (http://www.atoztalk.com/threads/3032-11-Most-Beautiful-Castles-In-The-World) includes mode "open in new window" => should be used phrase sevenskins_imageresizer_warning_filesize (and when it is on "open in same window" should be used that phrase).

2. Image Resizer does not work in the preview post and preview blog. (when edit post ; new reply ; blog post ; update blog; )

Read the info please it does not say this hack will do this.

Please add this feature in next version.

haidm
08-03-2011, 04:08 AM
When I upgrade the new version, I don't see the maximum heigh option in ACP option, why do you remove this?

Seven Skins
08-03-2011, 10:14 AM
That was removed because it was causing issues with the warning bar size.

haidm
08-03-2011, 02:20 PM
So, does the heigh resized in the same time when the witdth is resized?

Seven Skins
08-03-2011, 02:52 PM
Image proportion are kept the same after resize.

cameraguru
08-11-2011, 04:43 PM
installed

Domy
08-11-2011, 09:11 PM
If I translate the sentences of the bar, the product does not work.
How do I fix?

max2008
08-12-2011, 01:54 AM
thanks , very nice mod

Seven Skins
08-12-2011, 07:49 AM
If I translate the sentences of the bar, the product does not work.
How do I fix?

Search for "sevenskins_imageresizer_" in the phrases and edit. There are 7 phrases you have to edit.

joeycannoli
08-12-2011, 02:18 PM
4.1.4 here...Works for me but only after you refresh page.

Thank you.

Same issue here on 4.1.5.

Any ideas?

Domy
08-12-2011, 02:31 PM
Search for "sevenskins_imageresizer_" in the phrases and edit. There are 7 phrases you have to edit.
I know how to translate the sentences.
But if I do this, the product does NOT work...

Seven Skins
08-12-2011, 05:15 PM
I know how to translate the sentences.
But if I do this, the product does NOT work...

I just tried editing the phrases on one of my site see screenshot. I added my my name at the end of the phrase.

http://img89.imageshack.us/img89/2698/2352.png (http://imageshack.us/photo/my-images/89/2352.png/)


Same issue here on 4.1.5.

Any ideas?


When you post the image first time this hack does not resize image you have to refresh the page to view resized image.

W!cKeD
08-12-2011, 09:15 PM
Any Options for resize in Project tools? :)

ryohnosuke
08-14-2011, 05:55 AM
I don't know why but only with IE8 I have this problem

http://img843.imageshack.us/img843/3959/overredime.png

Firefox, Chrome, Opera works like a charm.

Saludos.

Seven Skins
08-14-2011, 02:02 PM
There is conflict somewhere ... try this hack in defualt skin and see if this error goes away.
Send a link to the thread where you have this issue.

Juggernaut
08-14-2011, 06:45 PM
Images resize with a horizontal scroll bar in the postbit, is this normal?.

ryohnosuke
08-15-2011, 04:49 AM
There is conflict somewhere ... try this hack in defualt skin and see if this error goes away.
Send a link to the thread where you have this issue.

http://www.inkatech.net/forums/showthread.php?t=435&styleid=1&langid=1

The same problem with default style and all products disabled except image resizer.

Saludos.

archet1337
08-15-2011, 05:15 AM
Images resize with a horizontal scroll bar in the postbit, is this normal?.

I get this as well. Is there a way to remove the scroll bar?

Seven Skins
08-15-2011, 08:55 PM
http://www.inkatech.net/forums/showthread.php?t=435&styleid=1&langid=1

The same problem with default style and all products disabled except image resizer.

Saludos.


This is how I see it in IE8
http://img51.imageshack.us/img51/7453/2356g.png (http://imageshack.us/photo/my-images/51/2356g.png/)



Images resize with a horizontal scroll bar in the postbit, is this normal?.

No there sholud be no scroll bar. Post link here or send it in PM.

Juggernaut
08-16-2011, 03:47 AM
Thank you for your quick response Seven Skins, but actually the idea of having the images resize in a new brower tab o window has grown on me, and that's how I have my set up now. Thanks for a great mod. :D

archet1337
08-16-2011, 04:28 AM
No there sholud be no scroll bar. Post link here or send it in PM.

See attachments for example

ryohnosuke
08-16-2011, 06:24 AM
This is how I see it in IE8
http://img51.imageshack.us/img51/7453/2356g.png


I'm so sorry!!! was my browser, is fu**d

:(

Saludos.

06fg2
08-20-2011, 03:01 PM
I know it says it works in 4.0.5..But does that mean it'll work in 4.0.2?

I've followed the steps on installing it and everything..But it doesn't work :(

Seven Skins
08-20-2011, 04:06 PM
it doesn't work :(

That does not tell me anything. Send URL etc...

iRoush
08-20-2011, 10:29 PM
not working in 4.0.2 for me either.

link to site page I'm testing with: http://www.wmdracing.net/forum/showthread.php?1673-Project-e85-Torpedo

max image width set at 600...

beatyourtruck
08-20-2011, 11:57 PM
seems to be working great with 4.1.2. thanks!

Seven Skins
08-21-2011, 09:14 AM
seems to be working great with 4.1.2. thanks!

:)

not working in 4.0.2 for me either.

link to site page I'm testing with: http://www.wmdracing.net/forum/showthread.php?1673-Project-e85-Torpedo

max image width set at 600...


All your images has this style="max-width: 800px; max-height: 600px;" added to them with some other hack. Remove this and this image resizer should work after that.

vBNinja
08-25-2011, 10:05 PM
hey i just got a new style and i dont like the color of the background of the resizing bar, how can i change it?

here is a screenshot:
https://vborg.vbsupport.ru/external/2011/08/9.png

Thank you!

j3suss
08-29-2011, 07:25 PM
not working in my forum.. :(

Why? Should you give me a solution?

Thank you!!

Seven Skins
08-29-2011, 08:01 PM
hey i just got a new style and i dont like the color of the background of the resizing bar, how can i change it?

here is a screenshot:
https://vborg.vbsupport.ru/external/2011/08/9.png

Thank you!

edit "ss_imageresizer" template.

Find: background: #FFFACD url(images/misc/nCode.png) 6px 6px no-repeat;
And edit to the choice of your color.


not working in my forum.. :(
http://www.forodelvapeador.es/showthread.php?68-Prueba-imagen

Why? Should you give me a solution?

Thank you!!

Product is not installed/enabled so I cannot tell what needs editing.

j3suss
08-29-2011, 08:59 PM
Now It´s available!!! =) It´s good!! =)

Thank you!

j3suss
09-02-2011, 08:40 AM
Hello!
Images that I upload to my server not working... If I use images with link (for example: imageshack) if it work...

Why? :(

Seven Skins
09-02-2011, 10:29 AM
This hack resizes external images (not attachments) in cms, blogs, posts, new thread preview, signatures, private messages and visitor messages.

This hack does not work for attachments.

DonosOdD
09-02-2011, 10:44 AM
This will help me an awful lot...tagged!

I also hope you don't mind if I translate this to PT-BR. It's my native language.

j3suss
09-02-2011, 12:23 PM
This hack does not work for attachments.


Ahmm oK!!

And in future?

Thank you!

Hippy
09-03-2011, 04:36 PM
is there a way to get this to work in vbadvanced ??

thanks

I searched the thread but came up empty handed

misericorde
09-07-2011, 12:25 AM
Thanks

Installed Nominated https://vborg.vbsupport.ru/external/2011/09/19.gif

morgano
09-07-2011, 03:20 PM
One thing I'd like to see is for this to be integrated with the lightbox.

Basically for the image to be resized as it is now, but having the image a click-able link (like an attachment) which opens the fullsize image using the current Vbulletin lightbox solution.

tpearl5
09-08-2011, 08:16 PM
Has anyone figured out how to only apply this to a specific section in the CMS? I realize it would involve putting an if condition in the hook for the CMS.

Kerdh
09-09-2011, 07:58 PM
Thanks for the mod!

But I have a noob question:

If you want to use "Enlarge in the same window" option you must edit "Image Medium Max" stylevar for the style you are using. Set this stylevar to high number e.g. 2000px or more if needed.
Hum... how?

Thanks ^^

tstevens
10-07-2011, 02:37 PM
I'm getting the same problem with the scrollbar - this mod just doesn't seem to work at all for some reason. What am I doing wrong?

*issue resolved - just had to make sure I had the javascript in the right place*

We recently had an issue where the CKEditor was attaching images instead of using the IMG BB Code, but that's resolved. Now this resizer doesn't work. Help!

Seven Skins
10-07-2011, 03:05 PM
Please make sure the javascript has been uploaded to the correct location.

tstevens
10-07-2011, 03:40 PM
How odd - I thought it had been (was in the same place as the original version I had). I uploaded it to the root /clientscript directory and all is well. I should have caught that, but thanks for your time.

davut_c20
10-16-2011, 12:54 AM
thank you very much ;)

elcoxx
10-16-2011, 03:11 AM
Thanks mate, works like a charm :D

shahryar_neo
10-19-2011, 09:21 AM
Thanks man ! works fine on 4.1.7 .

But all of these image resizer mods have a serious problem :

They don't limit the user to post an image with high sized image . they just resize the picture . I mean for example I send a post with an image with dimension of 2000*2000 and size of 5MB . they just resize its dimensions but users have to load 5MB for that picture .

If coders add a option for this , it would be great .

Scalemotorcars
10-19-2011, 01:30 PM
I have an external page I would like to add this to. Is there a way to run it using "THIS SCRIPT" or ???

I tried adding the variable to the global start hook in the mod where the other array of THIS SCRIPT's were placed without any change.

Any help would be great. Thanks...

CrashOverrideSE
10-21-2011, 12:01 PM
What is with a Lightbox Sulution is it Possible ?

Hippy
10-22-2011, 10:26 PM
I have an external page I would like to add this to. Is there a way to run it using "THIS SCRIPT" or ???

I tried adding the variable to the global start hook in the mod where the other array of THIS SCRIPT's were placed without any change.

Any help would be great. Thanks...

yes wolud be nice for it to work in vbadvanced....
hope someone can help

hhumas
11-08-2011, 08:40 AM
is there any way how to remove the copyright on this product

Juggernaut
11-11-2011, 01:23 AM
is there any way how to remove the copyright on this product
I'm sure there is, but you can't remove the copyright unless you get permission from the mod author or you could just uninstall the product. :)

Seven Skins
11-11-2011, 11:37 AM
is there any way how to remove the copyright on this product

You can make samll donation. Send me a PM/or contact me at my site for more info.

Hippy
11-18-2011, 11:01 AM
great mod .. still working with vb4.1.8

thanks for your efforts

Sworm
12-04-2011, 07:56 PM
Hi Seven Skins, it look a great job with the yellow bar back....really.....

Should be problems if i try to translate the phrase "Click here to view the original image of xxxx X xxxx" ..... My forum is not english and a lot of user knowing only the italian language .... Thanks

Seven Skins
12-06-2011, 08:27 AM
You can translate phrases into Italian.

Mooff
12-14-2011, 11:38 AM
don't know whether it has been posted before, but there is a nice and easy way to include different resize sizes for cms and forums. :)

just check the ss_imageresizer template and extend the if vbmcs part (i won't post code, cause we are on 1.3 and haven't found time to upgrade yet - not sure if that template looks different now ;) ).

So as an improvement idea/ feature request: I think many sites do need different resize sizes for cms and boards, so adding another cms resize option in the next version would be nice. Until then (for site admins) change the template above and do it manually. :)


Great addon :)

Sworm
12-19-2011, 08:46 PM
Hi SevenSkins..... can i ask you if there's a way to remove this gap from the last phrase in the post and the yellow bar?
http://img818.imageshack.us/img818/8156/gapz.jpg

No Gap in the editor phase
http://img585.imageshack.us/img585/2452/gap1i.jpg

Seven Skins
12-20-2011, 09:39 PM
This hack only adds 12 px margin on top of image. According to your 1st screenshot gap is way too big and it must be coming from somewhere else.

Anyways you can edit "ss_imageresizer" template and edit the margin-top: 12px ...

Luca_ITA
12-23-2011, 08:36 PM
Great mod! Installed on 4.1.9
+
italian translate

______
Fixata la traduzione

fromtheflames
12-30-2011, 07:15 AM
Hi and thank you for the mod.

I'm not sure if it's only a problem of mine, but if I translate this mod, it won't work anymore.

Luca_ITA
12-30-2011, 11:20 AM
I,m so sorry fromtheflames!
i have fixed the issues

fromtheflames
12-30-2011, 11:33 AM
I wasn't talking about your translation :-)

I was talking about translate the phrase using the internal vbulletin system

RetroDreams
01-12-2012, 06:15 AM
Does this not work in 4.1.9?

Seven Skins
01-12-2012, 01:20 PM
What does not work?
Have you uploaded the javascript?

Adek
01-14-2012, 06:39 PM
I've got problem on vb 4.1.10 board. Full images are cropped. Do you have vb 4.1.10 with this mod?

Hippy
01-14-2012, 11:46 PM
I've got problem on vb 4.1.10 board. Full images are cropped. Do you have vb 4.1.10 with this mod?

works find here .. weird try to reinstall it

Power_user_EX
01-20-2012, 06:59 AM
Need some help...
1st I'd like to say that this plugin is very useful and we have it installed on our forums at www.ocfreaks.com

We have also installed another plugin called vaultwiki (https://vborg.vbsupport.ru/showthread.php?t=239377) alongside with your plugin. We just need your help to make it work with vaultwiki. Vaultwiki uses a custom template to show posts as articles and so other normal plugins like Image resize dont work.

AFAIK its because the custom template is not using the necessary hooks which invokes Image Resizer. I tried editing the vaultwiki template and adding the hooks manually and some other changes as well but i cannot get it work... hence i need you help... :)

stwan
01-21-2012, 09:54 AM
Not valid xhtml 1.0 code:
onload="NcodeImageResizer.createOn(this);"

14DH01
01-23-2012, 10:04 AM
Hello,
Thank you.
very good Mod's
Unfortunately not work with the hacks v1.0.0 (https://vborg.vbsupport.ru/showthread.php?p=2293043#post2293043)

sorry if the question is already asked

my vb v 4.1.10
good day

gorman
01-26-2012, 05:18 PM
Hi and thank you for the mod.

I'm not sure if it's only a problem of mine, but if I translate this mod, it won't work anymore.Exactly the same here.

Also, it doesn't provide the right info for the picture dimension in the "Click here to view the original image of 767x575px" as, instead, the right dimension, in this case... was 1185x889...

Seven Skins
01-27-2012, 01:10 PM
Hello,
Thank you.
very good Mod's
Unfortunately not work with the hacks v1.4 (https://vborg.vbsupport.ru/showthread.php?t=264966)

sorry if the question is already asked

my vb v 4.1.10
good day


Hack description: This hack resizes external images (not attachments) in cms, blogs, posts, new thread preview, signatures, private messages and visitor messages. thishack will not work anywhere else apart from the place mentioned.





Also, it doesn't provide the right info for the picture dimension in the "Click here to view the original image of 767x575px" as, instead, the right dimension, in this case... was 1185x889...


If you want to use "Enlarge in the same window" option you must edit "Image Medium Max" stylevar for the style you are using. Set this stylevar to high number e.g. 2000px or more if needed.

14DH01
01-27-2012, 01:34 PM
Hack description: This hack resizes external images (not attachments) in cms, blogs, posts, new thread preview, signatures, private messages and visitor messages.


yes I know very well thank you again
5X1000 Star for you ;)

Did you install the 'Linked Images'? try so you will see that your hacks no longer work.
https://vborg.vbsupport.ru/showthread.php?t=277033

Add Alt Text to Linked Images (https://vborg.vbsupport.ru/showthread.php?t=277033)
+"Image Resizer"="Image Resizer" no found

Thank you

gorman
01-27-2012, 02:21 PM
I am not using it with expand on the same window. Check this thread:

http://www.dailyrando.it/showthread.php/1916-Posti-Fighi-nel-Mondo

14DH01
01-27-2012, 03:56 PM
I too used to reduce image.
http://cibiforum.org/threads/242-Vos-installations-Fixe-photos
it is also good to have the name of the image for SEO.

Why not work together? (two hacks )

TeamSempoi
01-28-2012, 08:01 AM
sorry something wrong on my forum image does not resize

AusPhotography
01-28-2012, 08:37 AM
sorry something wrong on my forum image does not resize

You may need to increase the vB stylevar image_max_size

Seven Skins
01-28-2012, 02:20 PM
I am not using it with expand on the same window. Check this thread:

http://www.dailyrando.it/showthread.php/1916-Posti-Fighi-nel-Mondo

Edit this "Image Maximum Size" stylevar to higher value e.g. 3000px from 100%.



sorry something wrong on my forum image does not resize

Make sure you have uploaded the javascipt in the correct location and as snoopytas said edit the stylevar.

Sunka
01-29-2012, 06:02 AM
Nice mod...
Have to uninstall some other Picture MOD and install this one because old mod is not longer supported.

I have 2 questions sir.

Is it possible to remove yellow bar across the top, so image will enlarge when user click on it?

With previous MOD, resized picture width in post give me chance to have 2 or even 3 picture in one row.
If my resolution is 1024px width, and if default maximum width of images is 400px, when I put BBcode for image one after another without enter, then pictures will be side by side, not one below another. And when click on picture, that enlarge picture (lytebox sistem)

[*img]image code[*/img] [*img]image code[*/img]

Not this one:

[*img]image code[*/img]
[*img]image code[*/img]

P.S. There is some error on vB.org, so I can not click on Installed, but when ths error gone, I will click on Installed!

Hippy
01-29-2012, 12:50 PM
search for textarea.ncode_imageresizer_warning in ss_imageresizer template and look for background: #FFFACD url(images/misc/nCode.png) 6px 6px no-repeat;
and change #fffacd to what ever color you like it to be

Sunka
01-30-2012, 02:34 AM
Thanks Hippy, but I do not want to change color of bar, I want to remove complete bar

Hippy
01-30-2012, 02:41 AM
then what are you going to click on to make the image larger ?? I will look into it for you tomorrow ..

Sunka
01-30-2012, 05:06 AM
On picture of course :)
Click on picture will elarge picture it self

Seven Skins
01-31-2012, 05:14 PM
@Sunka ... there be nothing to click to enlarge the image if you remove yellow bar.

You can add display: none to textarea.ncode_imageresizer_warning class.

Sunka
01-31-2012, 06:31 PM
Uh...
So that is the end of the road....

Thanks anyway

stwan
02-06-2012, 11:03 AM
Seven Skins,

Not valid xhtml 1.0 code:
onload="NcodeImageResizer.createOn(this);"

Bulbucan
02-06-2012, 01:11 PM
How to change background of "Click here to see original size" ??

Emeralda
02-10-2012, 11:07 PM
Where is that "Image Medium Max"? All I found was this: http://prntscr.com/613m3

davijp
02-11-2012, 02:19 PM
a question for version 4.1.10 works?

Emeralda
02-11-2012, 03:36 PM
Works, or at least, the first 2 options work correctly.

Seven Skins
02-11-2012, 06:09 PM
How to change background of "Click here to see original size" ??

You can edit the css in ss_imageresizer template.

Where is that "Image Medium Max"? All I found was this: http://prntscr.com/613m3

This tylevar has been renamed to image_max_size

Emeralda
02-11-2012, 06:40 PM
Ok, I changed it to 2000px but now it cuts of the image: http://prntscr.com/61vku

Dwarden
02-17-2012, 09:33 PM
any chance this mod may in future convert images bigger than size X bytes into URL ?
(or there is other mod for it?)

CnB
02-18-2012, 02:20 PM
Sorry if i misunderstood this part but, is it in image_max_size you can change the size of the image in the posts?
Because right now its just way to small, some images could fit the post easily.
But are made thumbnail size.

KProjects
02-29-2012, 07:58 PM
Is there a way to make this work w/ album pics?