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)

mini2 08-16-2004 10:00 PM

Auto Resize Image Attachments (Avatars & Profile Pic Too)....
 
Gone

TheComputerGuy 08-17-2004 09:29 AM

cool. I like it a lot

working on www.runaked.com/forums

Natch 08-17-2004 02:10 PM

That's awesome - this is something I've been looking for for ages :D

Question: is it an easy thing to add this feature (maybe make your functionality into a standalone function?) into the Avatar upload and Profile pic upload functions ?

Natch 08-19-2004 12:49 PM

Thanks muchly! This was the one final hack I was waiting for from my ol' vB2 - I looked into it a couple times, but never had the patience ;)

Symbian.info 08-19-2004 04:20 PM

Does any one knows if it works in PHP in safe mode??

MrNase 08-21-2004 02:29 PM

I installed it and I hope it's working ;)

(It's working, thank you so much :))

Erwin 08-23-2004 10:37 PM

Very cool and useful hack. :) A lot of members are clueless when it comes to image resizing. This is a great idea.

Symbian.info 08-24-2004 10:45 PM

Quote:

Originally Posted by mini2
Has anyone with PHP in safe mode tried this out yet? I'm keen (as others might be) to know if it works?

Don't think it works :tired: I try it with the File Attachment Images Resize hack, when I upload a big files take a time and then many, many (50x) errors like this:
Warning: Division by zero in /home/website/www/forum/includes/functions_file.php on line 318
Warning: Division by zero in /home/website/www/forum/includes/functions_file.php on line 319
Warning: Division by zero in /home/website/www/forum/includes/functions_file.php on line 327
Warning: Division by zero in /home/website/www/forum/includes/functions_file.php on line 328
Warning: imagecreatetruecolor(): Invalid image dimensions in /home/website/www/forum/includes/functions_file.php on line 331

and then: IMG_0541.JPG:
File Too Large. Limits are 640 x 480. Your file is 1600 x 1200.

So far not working, I don't know if it the safe mode..

lazytown 08-31-2004 12:05 AM

There seems to be a problem with the avatar upload feature. If I set avatars to no more than 20K, but photos to 150K, it uses the 150K limit for avatars.

lazytown 08-31-2004 12:06 AM

For files that are too big (in K), I would still like to see it try and resize them -- then see if they come under the file size limit.


All times are GMT. The time now is 04:44 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.01217 seconds
  • Memory Usage 1,726KB
  • 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_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
  • (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