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)

Seven Skins 02-19-2013 02:43 PM

Quote:

Originally Posted by Mikhael_ (Post 2404591)
I would like to set the "Default Maximum Width" less then 400

Is it possibile? in case I can do that?

Thanks a lot for any answer .. great mod! ;)

Close your forums.
Enable debug mode.
And edit this setting: ss_ncir_maxwidth and remove return $data >= 400; from validation code.

deltahawk5 02-26-2013 05:55 PM

Any way to get this working with something like lytebox or highslide? I would love the addition.

deltahawk5 03-04-2013 05:07 AM

Quote:

Originally Posted by deltahawk5 (Post 2406522)
Any way to get this working with something like lytebox or highslide? I would love the addition.

bump

Seven Skins 03-04-2013 09:51 AM

Quote:

Originally Posted by deltahawk5 (Post 2406522)
Any way to get this working with something like lytebox or highslide? I would love the addition.

No. it is not possible.

Dwarden 03-19-2013 01:56 PM

would be possible add check for length (byte size of file) of the pictures ?
(sometimes some people have tendency post way too large (100s MB) pictures)

Alan_SP 03-19-2013 02:24 PM

And do what with this info?

This mod resizes pictures visually, not actually. If you know that image is 100MB, it still needs to be downloaded completely before this mod could do anything about it.

Please, try to understand what this mod actually does. So, it would be possible that this mod blacks image so big, but user already downloaded it down, spending his bandwidth in the process.

Managing such big images is job for moderators.

Dwarden 03-20-2013 02:01 AM

I was just asking if it's possible, I guess I would need to figure other automated solution (on forum side ofcourse)

Alan_SP 03-20-2013 09:46 PM

AFAIK, there's none. But, in case you found out one (it's never good to say anyone that something is impossible, because, he may found out way to solve even impossible problems :)), please notify me also. :)

cliff p. 03-26-2013 09:20 AM

Mod has been working fine without issue, however I do have a request from my userbase...

They'd like that when the image is clicked to enlarge, that it actually enlarges to actual size, and isn't limited by the window size. For instance, there are some images for testing that are 5xxx pixels wide (photo-stitched), however when clicked to enlarge only show as 15xx pixels wide. The plug-in reports the correct image size, however.

Thanks.

sadiq6210 03-26-2013 09:48 AM

Quote:

Originally Posted by cliff p. (Post 2412348)
Mod has been working fine without issue, however I do have a request from my userbase...

They'd like that when the image is clicked to enlarge, that it actually enlarges to actual size, and isn't limited by the window size. For instance, there are some images for testing that are 5xxx pixels wide (photo-stitched), however when clicked to enlarge only show as 15xx pixels wide. The plug-in reports the correct image size, however.

Thanks.

You can set the option to (open in new window) so when the image is clicked to enlarge it will be opened in new window with full size.


All times are GMT. The time now is 10:22 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.01564 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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