Support Forum

Avatar resizing error message

PN Paul Nyman
Paul Nyman
Member

I am trying to upload my avatar. No matter what I do I receive the message:

 

“Sorry, there was a problem resizing the avatar.”

 

Any help is appreciated.

 

Thank you.

9 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Not sure if we can answer this fully sadly.

At this point we are making a call to the function wp_get_image_editor() – which is a WordPress core function. Looking at the WP code this function can return an error (the one you are seeing) if the editor fails to load. The tricky question is – why is it failing to load for you.

Steve (Mr Papa) do I have that about right? Any ideas?

PN Paul Nyman
Paul Nyman
Member

Resizing problem update.

If I turn off the resizing option everything seems to work fine. Is there a fix for this or is this the way that I will have to support forum avatars?

Thank you.

YS Yellow Swordfish
Yellow Swordfish
Member

Turning the option off simply circumvents that piece of the code.

I have no fix because there is no known problem. This is unique amongst thousands of users. As I explained, the issue is trying to work out why your WordPress core function is returning an error.

I also asked my colleague (Mr Papa) to see if I was right in my diagnosis so it might be useful to see if he has anything to add that might shed any light on things.

PN Paul Nyman
Paul Nyman
Member

“YELLOW SWORDFISH”, thank you for your reply.

Any direction  to help solve this problem is appreciated.

Thank you again.

IK Ike
Ike
Member

Are you running the latest version of WordPress? Just looking around I can see a lot of issues with people not being up to date with WordPress and whatever plugin they are using that uses this function. Might be a good place to start

PN Paul Nyman
Paul Nyman
Member

Ike,

I am running WordPress 3.9.1.

I tried disabling plug-ins but with no success.

Thank you.

MP Mr Papa
Mr Papa
Member

next step is to check and see if you php is compiled with gd or imagick…  wp requires one of those two libraries for its editor…

PN Paul Nyman
Paul Nyman
Member

next step is to check and see if you php is compiled with gd or imagick…

Bingo!!

Neither gd or imagick is compiled on my VPS php.

Making this happen is “another story” (my host is having technical problems and my cpanel/WHM is currently off line).

Thank you for your help.

YS Yellow Swordfish
Yellow Swordfish
Member

I should have thought if that! embarassed Good catch.