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)

rrr 03-25-2005 05:07 AM

I just installed this but I'm still getting the error "That image is too large. The maximum dimensions are 48 by 48 pixels."

I am trying to upload a 100x60 (1.16KB) or a 100x100 (4.62KB) gif image and my forum settings are at "48 by 48 pixels or 9.8 KB (whichever is smaller)".

If I'm understanding this hack correctly, it should be resizing the 100x60 or the 100x100 image to 48x48 and not givng the error message?

Any ideas?

The Geek 03-25-2005 06:34 AM

Quote:

Originally Posted by rrr
I just installed this but I'm still getting the error "That image is too large. The maximum dimensions are 48 by 48 pixels."

I am trying to upload a 100x60 (1.16KB) or a 100x100 (4.62KB) gif image and my forum settings are at "48 by 48 pixels or 9.8 KB (whichever is smaller)".

If I'm understanding this hack correctly, it should be resizing the 100x60 or the 100x100 image to 48x48 and not givng the error message?

Any ideas?

Check that your GD settings are correct. If its set to none - it will bypass the routine.

MajidOnline 03-25-2005 01:05 PM

Dear The Geek,

Thank you,
This is a useful hack.

rrr 03-25-2005 04:12 PM

Quote:

Originally Posted by The Geek
Check that your GD settings are correct. If its set to none - it will bypass the routine.

My GD settings are at 2+

Any other suggestions?

rrr 03-25-2005 06:04 PM

I just double checked my GD version and it is 2.0.28

The Geek 03-26-2005 08:09 AM

What I mean is what the GD setting is put to in vboptions (which I think you said was 2+?).
Are you having the same problem with GAS3.51? It uses almost the same exact proceedure to resize uploads - however it doesnt test for GD support.

Let me know :)

lazee 03-26-2005 03:15 PM

Really neat .working perfectly on 3.0.7
Thank you The Geek
Click Install

rrr 03-26-2005 04:01 PM

Quote:

Originally Posted by The Geek
What I mean is what the GD setting is put to in vboptions (which I think you said was 2+?).

Yep, in vboptions my GD setting is 2+

Quote:

Are you having the same problem with GAS3.51? It uses almost the same exact proceedure to resize uploads - however it doesnt test for GD support.
I haven't tried uploading a picture with GAS3.51, but I will do that now...

Weird. I just did a test article with a big graphic and GAS3.51 resized it perfectly.

I just re-applied the GARR hack and it still didn't work. It's almost like it's not even calling the functions_geekautoavatar.php file (or it's not passing the GD test for some reason).

Any ideas?

rrr 03-30-2005 07:42 PM

Could it be a problem with the GD test in the php file? Is there a version without the test that I could try?

The Geek 03-31-2005 02:39 PM

Quote:

Originally Posted by rrr
Could it be a problem with the GD test in the php file? Is there a version without the test that I could try?

rrr, commenting out the gd test. Open the functions_geekautoavatarresizer.php and change:
PHP Code:

if ($vboptions['gdversion']){ 

to
PHP Code:

//if ($vboptions['gdversion']){ 

you will also need to comment out the last } on the page
replace:
PHP Code:

}

?> 

with
PHP Code:

//}

?> 

Let me know if that helps!


All times are GMT. The time now is 06:59 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.01055 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_php_printable
  • (5)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