Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
avatar resizing no longer working
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 16, 2013 - 10:36 pm

exception? no...

you might need to look at the ajax response in the browser console though..  should have mentioned that.. sorry...

Avatar
Marc Busch
Member
Free Members
sp_UserOfflineSmall Offline
Aug 17, 2013 - 1:45 am

Hmm...

 

This is what I see in the console when I click the upload avatar button (i.e. nothing happens):

avatarProblem03.pngImage Enlarger

 

There's no message, also under Errors or Warning sor Debug Info...

 

This is what the edited code looks like:

avatarProblem04.pngImage Enlarger

 

Or am I still looking in the wrong place?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 17, 2013 - 2:00 am

you have 2 ajax responses there... but they are collapsed... see the  + sign next to the GET?  expand that and see what is reported for response or html... should be something with spdebug...

Avatar
Marc Busch
Member
Free Members
sp_UserOfflineSmall Offline
Aug 17, 2013 - 2:14 am

OK, so I guess this is what we are looking for... :)

avatarProblem05.pngImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 17, 2013 - 2:20 am

yes...  so time to ask the host... is GD or ImageMagik compile into your php?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 17, 2013 - 2:23 am

or do your own phpinfo() magic if you can...

Avatar
Marc Busch
Member
Free Members
sp_UserOfflineSmall Offline
Aug 17, 2013 - 2:25 am

OK, thanks. I will ask my host to compile them into my PHP (in case they are missing).

Do I need both or just one of them?

(Will do so tomorrow as there's too much activity on my forum today and I don't want any downtimes. I will report back when it worked...)

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 17, 2013 - 2:27 am

just one... but to be honest, most servers will have both compiled in...

just took at look at where wp generates that error..

    $implementations = apply_filters( 'wp_image_editors',
        array( 'WP_Image_Editor_Imagick', 'WP_Image_Editor_GD' ) );

they are checking for on of those two graphics libraries to be on the server...

and if running cpanel, will be almost zero downtime... compile happens in background... when done, restart...  so less than a minute normally...

Avatar
Marc Busch
Member
Free Members
sp_UserOfflineSmall Offline
Aug 18, 2013 - 11:57 am

Problem solved...

I asked the host to add ImageMagick and avatar resizing works fine now.

Thanks a lot for your help!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 18, 2013 - 11:59 am

That is very good news. Thanks for the update and glad the issue is resolved.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17366
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626