vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Board Optimization - Replace large images in posts with links to the images (https://vborg.vbsupport.ru/showthread.php?t=99776)

almukmin 05-18-2006 02:51 PM

I've tried other similar mods, images resizer etc and it seems that this IS indeed the best mod. Nice job! A++. I'm so happy with the result.

almukmin 05-18-2006 02:52 PM

Quote:

Originally Posted by Boofo
If you have more than 1 image in a post and one is over the dimensions but the other is not, does it make a link for the both of them? ;)

Yes, it basically changes all https://vborg.vbsupport.ru/ to ['URL]['/URL] using Javascript. (had to put ' or it'd dissapear)

midnightsoaper 06-01-2006 08:44 PM

absolutely love this hack! thanks! :)

Boofo 06-01-2006 09:03 PM

Quote:

Originally Posted by Boofo
If you have more than 1 image in a post and one is over the dimensions but the other is not, does it make a link for the both of them? ;)

Bump? ;)

buro9 07-17-2006 05:26 PM

The answer was above, yes :) It does this because the server does not download the images to check which ones are too large, it simply knows that within a post an image is too large, and so it replaces all [img] tags with [url] tags.

Thomas P 07-25-2006 08:24 AM

I think this is far the best Image Resize hack out there.
Many thanks! :)
Works great in 3.5.4

Just one thing: If users visit our site via SSL the hack doesn't seem to work.
I guess this is because this call here:
Code:

var resizeImagesUrl = 'http://www.example.com/forum/trimOversizedImages.php';
Could this be changed to use a relative url?

Like:
Code:

var resizeImagesUrl = '/trimOversizedImages.php';
Thanks

Battle_Ring 07-28-2007 03:06 PM

dont work on 3.6


All times are GMT. The time now is 06:04 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.01043 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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