1. zuotoski
  2. Support
  3. Saturday, May 17 2014, 03:00 AM
Hi!
I have invited some friends from Facebook to do a test drive on Social Network Plugin. One thing that some are complaining is that when they try to send an image as avatar, it is taking too long to upload and sometimes it does not load at all, just keeps on loading.

It is happening when the image file is big, like more than 2MB is enought to make it happen. Now, I know that images for avatars should use smal files, but we are talking about users, and users that are used with Facebook, Google +, etc. They don't know or (most of the time) don't want to know if the file is big or not, they want it to be uploaded and used as an avatar. If it doesn't work easily, they just give up. I don't want my users giving up on using the site resources, I mean, I want them to use everything and more!

So, what can be done? Is there anything I can do to make it work with big files sizes?

Oh, and my PHP server is set to 64MB maximum file size.

Thanks.
admin Accepted Answer
Admin
In your country do not know, but here where I live in 90% of cases people have an ADSL line asymmetrical:
- Download 8 Mbit/s (download ~ 850KB / s)
- Upload 1 Mbit/s (upload ~ 100Kb / s)

to upload an image of 2Mb serve at least 20 seconds.
  1. more than a month ago
  2. Support
  3. # 1
zuotoski Accepted Answer
I don't think it is question of connection speed. My ADSL is a Download 10 Mbit/s - download 1 Mbit/s and still, it happens. It as if the system got into a loop or something. Why don't you try by yourself to change the Support avatar using a file large as 4 MB?

And yet, they can upload it easily to facebook the same file. It was happening on my VM, which is local.
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
It is true. I have tried on our dedicated server with image of 1Mb and after complete upload we have attend 10 second (It's too time for our server).

Unfortunately the library for manipulating images is very slow, however in the future we will replace it with the same one used for the Social Network plugin.

time ago we chose this library because it is very simple to use and it is used by the K2 component
  1. more than a month ago
  2. Support
  3. # 3
zuotoski Accepted Answer
I understand. So K2 must have the same "issue". The important here is that users do not lose the ability to crop the image and choose which part of the original image will be used, and I also consider important at the day of release of the retail version, that it doesn't happen anymore, or you (and whoever uses Social Plugin) will end up with lots of complains.

I was thinking that the image on the profile, could be a link to avatar change, like facebook (just to confirm: I do not like facebook or any other social network, for that matter - I refer to facebook just because it is a model that works well today, just it) - this is just a suggestion, by the way.

Kind Regards.
  1. more than a month ago
  2. Support
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.