vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Image Resizer - Using nCode Script (https://vborg.vbsupport.ru/showthread.php?t=237650)

TeamSempoi 01-28-2012 08:01 AM

sorry something wrong on my forum image does not resize

AusPhotography 01-28-2012 08:37 AM

Quote:

Originally Posted by TeamSempoi (Post 2293362)
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

Quote:

Originally Posted by gorman (Post 2293062)
I am not using it with expand on the same window. Check this thread:

http://www.dailyrando.it/showthread....ighi-nel-Mondo

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



Quote:

Originally Posted by TeamSempoi (Post 2293362)
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:
HTML 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

Quote:

Originally Posted by Bulbucan (Post 2296774)
How to change background of "Click here to see original size" ??

You can edit the css in ss_imageresizer template.

Quote:

Originally Posted by Emeralda (Post 2298417)
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?

sportsfroma2 03-06-2012 04:46 AM

still working great in 4.1.11

soaringpine 03-08-2012 10:40 PM

Image resizer is working great in threads but doesn't work for Avatars? Should it resize according to my avatar settings in the various usergroups? I am using 4.1.10.

Thanks.

Hippy 03-09-2012 02:16 AM

Quote:

Originally Posted by soaringpine (Post 2307675)
Image resizer is working great in threads but doesn't work for Avatars? Should it resize according to my avatar settings in the various usergroups? I am using 4.1.10.

Thanks.

your forum takes care of avatars .. not this mod

BadgerDog 03-14-2012 04:45 PM

We're running vBulletin 4.1.3pl5 and v1.3 of Image Resizer, which we didn't upgrade past dues to reasons discussed in old posts.

Has anyone experienced problems with the code not being able to open a pic that exists and is properly stored on the server?

All I (and other members) see the thread is a "Not Found" error, when in fact the pic is store properly on the server and can be displayed by cutting and pasting the link into the browser directly.

When I use "Firebug" in FireFox to check the code execution, I get this...

<img border="0" onload="NcodeImageResizer.createOn(this);" alt="" src="http://www.xxxx.com/images/imported/2012/03/M14-1.jpg" original="http://www.xxxx.com/images/imported/2012/03/M14-1.jpg" style="">

... but, it's highlighted in RED and says it "Failed to load the given URL"? :confused:

It appears to just be happening with pics in the last month or so.

Regards,
Doug

ps: I substitiued XXX's in the link above for privacy and security reasons .. ;)

BadgerDog 03-14-2012 05:22 PM

Follow up .... :)

Think I might have an answer ...

Note that NcodeImageResizer is reading the filename as M14-1.jpg (upper case M) when in fact the file is store on the Unix server as m14-1.jpg (lower case m) and the IMG code refers to is as m14-1.jpg (lower case m). So, for whatever reason NcodeImageResizer is converting it to an UPPER case and so it doesn't match.

Why is NcodeImageResizer doing this? :confused:

Thanks .. :)

Regards,
Doug
PayPal Donator to this mod ....

Edit: I changed the file name from m14-1.jpg to m141.jpg on BOTH the server under Unix and also within the IMG tags in the post… It works now …. :confused: I don't understand why removing the dash made any difference?

Seven Skins 03-14-2012 08:41 PM

Quote:

Originally Posted by BadgerDog (Post 2309422)
ps: I substitiued XXX's in the link above for privacy and security reasons .. ;)

Without the link to your site it is not possible to find out what,why,how???

You may send the link via pm or email from my site.

BadgerDog 03-15-2012 12:28 PM

Quote:

Originally Posted by Seven Skins (Post 2309478)
Without the link to your site it is not possible to find out what,why,how???

You may send the link via pm or email from my site.

Thanks ... sent emails ...

Regards,
Doug

Dr.osamA 03-16-2012 05:38 PM

thank you for update bro

i test it

MattGarner 04-13-2012 11:45 AM

Any way to give the users the choice of the options on what happens when you click enlarge?

RapidRippeR 04-14-2012 04:32 AM

wrks gr8 ...thanks :)

K!nG 05-11-2012 11:52 AM

Great mod ... working just fine on 4.1.12 .... thanks :)

cloferba 06-07-2012 04:29 PM

Does this work with vBadvanced??

Hippy 06-07-2012 07:46 PM

Quote:

Originally Posted by cloferba (Post 2337506)
Does this work with vBadvanced??

no it doesn't

kevin.kool 08-03-2012 05:27 AM

Hi, could you make it to works with vBadvanced CMPS ?

thedukeboard 08-04-2012 06:20 PM

1 Attachment(s)
I'm getting an extra line break every time someone posts an image, with text or without. Help would be greatly appreciated.

zascok 08-05-2012 02:45 PM

1 Attachment(s)
Did anyone note that this plugin is placing a copyright link to sevenSkins into your forum? I don't mind to but it has to be mentioned in the hack's description

Seven Skins 08-05-2012 08:22 PM

Quote:

Originally Posted by cloferba (Post 2337506)
Does this work with vBadvanced??

Quote:

Originally Posted by kevin.kool (Post 2353924)
Hi, could you make it to works with vBadvanced CMPS ?

I am in the process of implementing this and it should be released shortly.

Quote:

Originally Posted by thedukeboard (Post 2354456)
I'm getting an extra line break every time someone posts an image, with text or without. Help would be greatly appreciated.

This hack adds a line break of 0px height. But your browser or other css code can make it a normal line break.

tkr reptiles 08-09-2012 08:56 PM

1 Attachment(s)
I have this installed and it is not working... I am at a loss as to what to do... Here is a link to a post showing the images that are too wide... http://www.1911addicts.com/showthrea...7-31-2012-misc.

I uploaded the xml file through the admin cp like the thread said to do.. I didn't do anything with the other files in the .zip file...

Also here is a screen shot of the settings...

tkr reptiles 08-09-2012 08:59 PM

Okay I am dumb... I uploaded the .js file and it works!!! Thanks!!! Awesome mod!!!

Syxguns 08-10-2012 12:59 AM

Installed and working vB 4.2.0 PL2, thanks for the share!


All times are GMT. The time now is 12:37 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01816 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete