This topic contains 14 reply and 4 voices, and was last updated by Tareq Hasan 6 years, 5 months ago
Viewing 14 Posts - 1 through 14 (of 14 total)
Author Posts
May 5, 2013 at 9:48 pm 3194
Tareq Hasan Hi guys, When updating the plugin, the profile form with an avatar field is no longer working. It's not possible to upload any file (error #-600: file size error), and the users that yesterday showed their avatar are not showing now. If I deactivate the plugin, the avatars are showing again: in the users menu, and at the top menu dashboard when users are logged in. Any help?. Thank you, César.
May 5, 2013 at 9:53 pm 3195
Tareq Hasan Tareq Hasan

Hello César,

The image/file upload fields file size limit has been changed from MB to KB. So you need to insert the size again to kilobyte.

Since the mechanism of avatar image got some changes, please update the user avatar again. That’ll fix the avatar broken image.

May 5, 2013 at 10:00 pm 3196
cmorillas cmorillas

How can I change the size again to kilobyte?

But I thing is another problem, because with previous versions the avatar image was at
/wp-content/uploads/2013/03/CIMG0295-avatar.jpg

But now, the plugin is trying to find the image at the following directory:
/2013/03/CIMG0295-avatar.jpg

Is it a clue for you?

May 5, 2013 at 11:02 pm 3199
Tareq Hasan Tareq Hasan

Change the file size here:
file size

May 5, 2013 at 11:12 pm 3202
cmorillas cmorillas

It worked !.

Thank you.

May 7, 2013 at 6:16 am 3255
cheekyboots cheekyboots

Can the error message be changed to something more user friendly?

May 7, 2013 at 8:59 am 3257
Tareq Hasan Tareq Hasan

Yeah, I could. I just haven’t handled the error messages. It’s just the default error message from the plupload library.

May 7, 2013 at 6:06 pm 3314
cheekyboots cheekyboots

Ok, let me rephrase. *Will you*? Or will you explain how to do it myself?

May 7, 2013 at 7:16 pm 3316
Tareq Hasan Tareq Hasan

See the /js/upload.js line 104
[js]alert(‘Error #’ + error.code + ‘: ‘ + error.message);[/js]

So you get a error code and error message. I am not sure what other error code it gives, haven’t found it in plupload docs. You can add some user friendly error messages.

May 9, 2013 at 10:55 am 3391
ivaxtobac ivaxtobac

Hi Tareq

I use avatar element, and i change to 1024 and url don’t find image. It’s search on /2013/03/image.jpg, and it’s uploaded on /wp-content/uploads/2013/03/image.jpg

Thanks

May 9, 2013 at 11:11 am 3394
Tareq Hasan Tareq Hasan

Please try updating the avatar image again.

May 9, 2013 at 11:13 am 3396
ivaxtobac ivaxtobac

But there are more users created. I can do it for my user, but not for all the rest

May 9, 2013 at 11:18 am 3397
Tareq Hasan Tareq Hasan

Yeah, sorry for that. Previously the avatar url was saving like this: /2013/03/image.jpg. But now the complete url is saving in the avatar meta field to fix the multisite issue. Somehow you’ve to fix those image urls.

May 17, 2013 at 8:38 pm 3798
cheekyboots cheekyboots

The pixelation of the resized image for the avatar looks awful. Can we change the compression amount?

May 17, 2013 at 8:48 pm 3800
Tareq Hasan Tareq Hasan

The plugin is not changing the picture quality. It’s only resizing the image size using WP native image edit function.

Viewing 14 Posts - 1 through 14 (of 14 total)