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)

Nano_ 06-06-2013 03:26 AM

Quote:

Originally Posted by djbaxter (Post 2426050)
The problem is the image on your site, not the plugin. Look again at that warning message. Where is that image posted? Delete it.

True. I can't see this before (a lot of people call to me to know why) :(
Sorry, i'll edit first post. And thak you. :)

War Machine 06-20-2013 06:47 PM

I've a problem, image stretch if i reduce my window browser, can i set auto height somewere to fix this problem?

datoneer 07-22-2013 01:03 PM

Quote:

Originally Posted by DaRK mAN306 (Post 2060317)
Go to Styles & Templates >> Style Manager >> StyleVars >> Postbit >> Max width for postbit images and set it to a high value (e.g 1000) ..

That shouldmake it work ..

I don't see this in vb version 4.2.1 and it doesn't work

datoneer 07-22-2013 01:43 PM

And also tell me can this work in custom templates?

Seven Skins 08-02-2013 05:35 PM

Quote:

Originally Posted by datoneer (Post 2434788)
I don't see this in vb version 4.2.1 and it doesn't work

Edit this stylevar: Image Maximum Size

Quote:

Originally Posted by datoneer (Post 2434792)
And also tell me can this work in custom templates?

It does

Quote:

Originally Posted by bankcroft (Post 2436196)
Is it possible to increase images that are smaller than the "Default Maximum Width"? I have included a message regarding external images on my board, and I want it to be displayed always, even, if images are smaller then the "Default Maximum Width", which is 500 pixels in my case. In order to ensure this, the mod needs to work too, if images are smaller than 500 pixels.

BTW: Great mod, bought it.

Not good idea, as it will enlage smilies in the posts.

datoneer 08-04-2013 10:09 AM

Quote:

Originally Posted by Seven Skins (Post 2436760)
Edit this stylevar: Image Maximum Size

I don't see this i don't understand now where is the problem

datoneer 08-07-2013 03:16 PM

This mod doesn't work in 4.2.1 at least on my board or maybe is a conflict with another mod

kylek 08-18-2013 07:01 PM

Works good in advanced mode but for me it does not work in quick reply.

Bubble #5 08-24-2013 04:24 PM

Can someone please explain what the advantage of using this mod instead of the built-in thumbnail option is? :confused:

We have it installed in 4.2.1 but see nothing like in the screenshots. Will delete for now, unless someone can explain a good reason for having it.

xtragic 09-02-2013 02:58 AM

How do you prevent this from resizing signatures?

Ba'al 09-02-2013 04:20 AM

Quote:

Originally Posted by xtragic (Post 2442463)
How do you prevent this from resizing signatures?

admincp>options just take the check out of the box for signatures

Ba'al 09-02-2013 04:22 AM

Quote:

Originally Posted by Seven Skins (Post 2436760)
Edit this stylevar: Image Maximum Size



It does



Not good idea, as it will enlage smilies in the posts.

Can you point to the variable where i can change the color of the header from yellow to whatever,i am sure it is vb default but i am just not seeing it.

dougdirac 09-02-2013 12:59 PM

What the purpose of this mod? I find that images already just scale with the size of the browser window.

Bubble #5 09-02-2013 04:14 PM

Quote:

Originally Posted by dougdirac (Post 2442524)
What the purpose of this mod? I find that images already just scale with the size of the browser window.

That's what I asked before and no one answered. I didn't see any advantage over the built-in vB resizing.

dougdirac 09-02-2013 04:35 PM

Quote:

Originally Posted by Bubble #5 (Post 2442567)
That's what I asked before and no one answered. I didn't see any advantage over the built-in vB resizing.

Well, this used to be an issue for us a couple years ago. And we had to use this mod or similar. But that's no longer the case. I think it's more that the modern web browsers got smarter about resizing images rather than anything vB did. When I asked about it on vB.com, the staff person that responded was clueless.

Ba'al 09-04-2013 04:09 AM

Quote:

Originally Posted by Ba'al (Post 2442473)
Can you point to the variable where i can change the color of the header from yellow to whatever,i am sure it is vb default but i am just not seeing it.

Nevermind, i found it.

nisanboard 09-05-2013 05:01 PM

teşekkürler

ozzy47 09-05-2013 08:48 PM

Quote:

Originally Posted by nisanboard (Post 2443486)
teşekk?rler

All posts must be in English please.

Ba'al 09-06-2013 04:32 AM

Quote:

Originally Posted by ozzy47 (Post 2443546)
All posts must be in English please.

He says Thanks lol

katie hunter 11-13-2013 08:35 PM

Thanks! It works great but there is a bug :)

After you post a pic using quick editor, the image doesn't get resized, i have to refresh the page to see it re-size, with Tcat mod https://vborg.vbsupport.ru/showthread.php?t=184571 this didn't happen.

Can we also add the different styles of image resizers, some of them load nicely and look quite fantasy.

Quote:

I also use this pretty image resizer on my homepage and it looks really good style and function wise. Ex http://www.nihonomaru.com/profile/rina-touin.1/wall or http://www.nihonomaru.com/profile/yuneko.52/wall click on the image or gif (it works on gifs too!) I have never seen this on any vb mod before.

fxdigi-cash 07-25-2014 06:13 PM

I'm just curious, is there a solution for the issue of not resizing when advanced reply is used??

The image shows up there with full size... any fix for that?

fxdigi-cash 08-04-2014 06:30 AM

I want to add an extra class to ncode_imageresizer_warning, how do I do that??

from the script!!!

Seven Skins 08-04-2014 08:04 AM

Quote:

Originally Posted by fxdigi-cash (Post 2508257)
I'm just curious, is there a solution for the issue of not resizing when advanced reply is used??

The image shows up there with full size... any fix for that?

Need to refresh the page.

Quote:

Originally Posted by fxdigi-cash (Post 2509621)
I want to add an extra class to ncode_imageresizer_warning, how do I do that??

from the script!!!

Edit ncode_imageresizer.js in clientscripts folder and add class near line 120.

leclownos 08-04-2014 02:34 PM

thank you, great mod!!

Nirjonadda 08-04-2014 02:51 PM

Quote:

Originally Posted by Seven Skins (Post 2509631)
Need to refresh the page.

Please can you make its work via AJAX?

fxdigi-cash 08-04-2014 10:33 PM

Quote:

Originally Posted by Seven Skins (Post 2509631)
Edit ncode_imageresizer.js in clientscripts folder and add class near line 120.

Thanks a lot. That what I thought actually, but didn't work for me... possibly because I'm using a Java script combiner to combine all js files. I guess there is a conflict with some other script...

Thanks again, :)

fxdigi-cash 08-10-2014 04:44 AM

Quote:

Originally Posted by Seven Skins (Post 2509631)
Need to refresh the page.

Edit ncode_imageresizer.js in clientscripts folder and add class near line 120.

sorry, maybe I wasn't clear enough. I want to place the Class inside the <img> tag

how do I do that?

Thanks
Edit: Is it possible to replace also the tag src with data-original because I want to use Lazy load on that??

Seven Skins 08-10-2014 06:49 PM

You can add additonal class using jquery (I tried this couple of years back and it works). I have not tried data-original though.

fxdigi-cash 08-11-2014 05:37 AM

Quote:

Originally Posted by Seven Skins (Post 2510726)
You can add additonal class using jquery (I tried this couple of years back and it works). I have not tried data-original though.

I just added a class through Jquery, but still don't know how to replace src with data-original... is there a part of the script or anywhere in the template to change the code from src to data-original??

I tried to use jquery to override the src replacement with data-original, but didn't work only for this mod. The other attachments work fine though...

any idea?

[S]Update: It is ok, I fount it in the plugin itself. Thanks.[/S]

Update 2: I tried many times and different ways, but not working... any idea??

Seven Skins 05-18-2015 01:21 PM

I haven't got downloadsII installed on my server so I cannot test it.
Make a plugin and see if you can preg_replace in downloadsII templates.

PS: This hack works with only external images, not with attachments.

Kwikms 07-24-2015 03:31 AM

Anyone getting this to work with 4.2.2?

Emad ELsayed 08-26-2015 01:05 PM

Thank you very much
Wonderful product

akz645 08-31-2015 01:54 AM

Quote:

Originally Posted by Seven Skins (Post 2545770)
...

It doesn't work in social groups...
Can you please add in an option in the adminCP for this mod to be enabled/disabled within social groups?

Bastien 10-21-2015 01:06 PM

1 Attachment(s)
I added it tinking it could stop my problems image in the galery, but it doesn't.

Any idea ?

BlooD 04-09-2016 04:15 AM

Hello,

Post how a sample image in the '' Rules '' without making resize?

cordially

The Dawg 10-08-2016 02:03 PM

The plugin works on the default theme, but it isn't being applied to my custom skins (purevb.com).

Any hints on why it might not have been applied to those folders?

Thanks.

Seven Skins 10-08-2016 03:21 PM

The style in question may be adding another tag to images hence this mod does not work in the style in question. Link to your site will be helpful.

elsa23 12-22-2016 04:12 PM

Hi, is it possible to align resized images in a line because we have only one resized image per line.
Thanks.

lushot 12-18-2017 12:35 PM

thanks for this mod

krustyx 12-20-2017 10:17 AM

Doesnt seems to work on 4.2.5


All times are GMT. The time now is 07:24 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.01986 seconds
  • Memory Usage 1,827KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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