vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Geek Auto Avatar Resizer (https://vborg.vbsupport.ru/showthread.php?t=78287)

The Geek 04-25-2005 06:24 AM

Quote:

Originally Posted by FightRice.com
I tried to install this, and i think it got it all installed :D

But then i go and test out an avatar to upload and it still tells me it is too big :(

Any ideas? No errors or anything like that

Dimension wise or byte wise?

If you are storing them in the db, check a few posts back that lists a fix for db avatar storage

Allan 05-07-2005 10:22 AM

Work Perfectly with 3.0.7, thank Geek :)

~~~~~~~~~~~~~~~~~~~
Click install
~~~~~~~~~~~~~~~~~~~

|Jordan| 05-07-2005 04:15 PM

So are animations lost when scaling?

mkdevo 05-24-2005 09:56 AM

hi

this was working fine for me for a while, but suddenly, i'm getting the following error when i try to upload an image for an avatar:

Quote:

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/www/pbfans/forum/includes/functions_geekautoavatar.php on line 10
also happens with gif and png... any ideas?

The Geek 05-24-2005 10:09 AM

Quote:

Originally Posted by mkdevo
hi

this was working fine for me for a while, but suddenly, i'm getting the following error when i try to upload an image for an avatar:



also happens with gif and png... any ideas?

That is an internal php function that is being called based on your GD settings. Check and make sure its right (vb options->Server Settings (i think))

Jordan - not too sure - havent tested it for that. However I can only assume it would.

wildondallas 05-30-2005 10:31 PM

Installed and working great! Hoping this will increase people adding photos for their profile picture and avatar. Thanks for this hack :up:

Stachel 05-31-2005 04:45 PM

If I have a pic that is 150x100

and avatar limits are 100x100

Will it look distorted when the avatar is uploaded (because it gets changed to be a perfect square) ?

Stachel

The Geek 05-31-2005 07:53 PM

Quote:

Originally Posted by Stachel
If I have a pic that is 150x100

and avatar limits are 100x100

Will it look distorted when the avatar is uploaded (because it gets changed to be a perfect square) ?

Stachel

It keeps the ratio - so your image will end up something like 100x75 when done

paul41598 06-18-2005 08:30 PM

I just tried uploading a pic of an animated GIF, that is 120 pixels. I set the max width to 90 in my CP.

This is the error Im getting with an animated gif:

PHP Code:

Warningimagecreatetruecolor(): Invalid image dimensions in /includes/functions_geekautoavatar.php on line 44

Warning
imagecopyresampled(): supplied argument is not a valid Image resource in /includes/functions_geekautoavatar.php on line 45

Warning
imagegif(): supplied argument is not a valid Image resource in /includes/functions_geekautoavatar.php on line 53

Warning
imagedestroy(): supplied argument is not a valid Image resource in /includes/functions_geekautoavatar.php on line 58 


The Geek 06-19-2005 09:05 AM

Quote:

Originally Posted by paul41598
I just tried uploading a pic of an animated GIF, that is 120 pixels. I set the max width to 90 in my CP.

This is the error Im getting with an animated gif:

PHP Code:

Warningimagecreatetruecolor(): Invalid image dimensions in /includes/functions_geekautoavatar.php on line 44

Warning
imagecopyresampled(): supplied argument is not a valid Image resource in /includes/functions_geekautoavatar.php on line 45

Warning
imagegif(): supplied argument is not a valid Image resource in /includes/functions_geekautoavatar.php on line 53

Warning
imagedestroy(): supplied argument is not a valid Image resource in /includes/functions_geekautoavatar.php on line 58 


Does it not happen with a standard gif? To be honest it looks like the GD settings in vboptions is incorrect.


All times are GMT. The time now is 06:36 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.01250 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (5)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