vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Auto Resize Image Attachments (Avatars & Profile Pic Too).... (https://vborg.vbsupport.ru/showthread.php?t=68429)

Blam Forumz 10-31-2004 06:27 PM

Didnt work for avatars, everything else i dunno... :(

outlaw621 11-11-2004 04:54 PM

Using on vBulletin v3.0.3 with safe mode enabled in PHP and is working fine. The only other modification I had to do was to add
Code:

require_once('./includes/functions_image.php');
to the start of the includes/functions_upload.php file.

Blindchild02 11-11-2004 08:29 PM

works great at - www.xamira.net since the avatar is on the homepage :) thanks alot!!

lazytown 11-12-2004 07:37 AM

I modded it slightly so that it resizes any image larger than the file limit or the dimensions limit.. However as stated, it probably does increase load on the server. The other problem is users are uploading photos like crazy now. :)

remlle 11-21-2004 12:47 PM

any idea when why when I upload an image that is 800k or abovr it fails. no errors just the upload page turns white with no writing on it.
also
in the file you recomended changing uploading to uploading and resizing attachments and I cant find that do you know where I could find that.

Hexemer 11-23-2004 08:50 PM

Hello,

first, thank you for this nice hack. :)

But, I have a Problem. :disappointed: The uploaded picture is "darker" than the original one.

attachment 1: original
attachment 2: uploaded in my forums

gd version: 2.0.12

Can you help me? :ermm:

remlle 11-23-2004 09:02 PM

same here.

jarekn 11-25-2004 06:24 PM

I still get the error That image is too large. The maximum dimensions are 220 by 220

vbulletin 3.0.3
Running on PHP Version 4.3.4

I only modified the functions_upload.php

No other errors are displayed...I can upload smaller images that are with in the 220 by 220 spec.

Hexemer 12-04-2004 06:44 PM

Quote:

Originally Posted by Hexemer
Hello,

first, thank you for this nice hack. :)

But, I have a Problem. :disappointed: The uploaded picture is "darker" than the original one.

attachment 1: original
attachment 2: uploaded in my forums

gd version: 2.0.12

Can you help me? :ermm:

No solution for this problem? :ermm:

biggkay 12-16-2004 10:18 PM

Where and how do I do the phrase change? I'm n00b at this. :)


All times are GMT. The time now is 10:42 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.01220 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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