vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Hack for Image Optimization (https://vborg.vbsupport.ru/showthread.php?t=53747)

Splitfyre 06-02-2003 05:08 PM

Hack for Image Optimization
 
Is there a hack that would allow the following:

With vB, you have the ability for users to attach images when posting. What I am looking for is for all images to auto compress and be shrunk to a preset size that could be modified by an Admin to any given size. This would then prevent from the frames breaking, and it would allow quicker downloads fo smaller, optimized images, and reduce the load on the server.

Xenon 06-02-2003 06:23 PM

yes would be possible, if you have gd2 on your server (standart in php4.3)

Splitfyre 06-02-2003 07:04 PM

Xenon, if I upgrade to PHP 4.3, will GD2 be automatically included?

Xenon 06-02-2003 07:39 PM

you have to activate it in the php.ini file and must be sure the gd2.dll is on your server, too :)

WEForums 06-02-2003 10:58 PM

PHP v4.3.1 is at WEForums, however, I don't see any gd2.dll file on the server. What has to be done to install it?

Xenon 06-03-2003 09:34 AM

look on php.net into the install manuals how to install extra modules in php :)


All times are GMT. The time now is 08:43 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.00943 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete