vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Auto Resize large images in an IMG tag (https://vborg.vbsupport.ru/showthread.php?t=169889)

Razasharp 05-16-2008 05:03 PM

Quote:

Originally Posted by Super Jinni (Post 1521542)
thank you man

can you make it open the resized image in the same window?

Seconded :)

minus19 05-17-2008 12:09 PM

Erm, you can just use a couple of lines of CSS to do this...

Ark del KAOS 05-20-2008 08:23 PM

Hey, the SHOWTHREAD_SHOWPOST must get the onload extra code as well ^ ^

EDIT: And the same with adv_portal if you're using VBA

Doctor Death 05-20-2008 09:38 PM

Will this also resize images in a users photo album?

rigodiaz 05-24-2008 02:47 AM

Quote:

Originally Posted by Ark del KAOS (Post 1526082)
EDIT: And the same with adv_portal if you're using VBA

Excelent:up:!

I was looking for this :eek:


Thank you, Installed!!!

tspore 05-29-2008 04:50 AM

Ok I have edited the values in the JS -
Code:

var vbimgcodeWidthMax = 800;
var vbimgcodeWidthSizeTo = 800;

as well as 600, 650, etc. and it isn't picking showing the link to a bigger photo.... What am I doing wrong?

MaXeL3G3ND 06-26-2008 02:10 PM

Don't forget the template SHOWTHREAD_SHOWPOST ;)
(added the script to load on that as well myself : ) , just a heads up)

I like this script and if you want to change how it works people, then
you should edit the javascript file, as that both contains which size it
resizes the image to, by default 500x500, and also a default message.

Snip of what resizevbimg.js includes:
Code:

var vbimgcodeResizeMsg = 'Resized image! Click for original size!';
var vbimgcodeWidthMax = 500;
var vbimgcodeWidthSizeTo = 500;

To make it resize to maybe 600x 600 and the message: "Click here to enlarge the image" :
Code:

var vbimgcodeResizeMsg = 'Click here to enlarge the image';
var vbimgcodeWidthMax = 600;
var vbimgcodeWidthSizeTo = 600;

It's very simple and you shouldn't ask the dev to do this easy work : )

aramiK89 06-29-2008 10:42 AM

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!

harlita 07-01-2008 11:01 AM

hack reinstalled on multiple themes on a 3.7.2 forum. works like a charm.

Mazinger 12-15-2008 10:57 AM

It doesn't resize PNGs???


All times are GMT. The time now is 04:20 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
  • Page Generation 0.01071 seconds
  • Memory Usage 1,730KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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