By User on Friday, 29 March 2019
Replies 7
Likes 0
Views 693
Votes 0
Hello. Few GIFs make site load slowly.
When user upload 5+ gif animation (each file can be up to 10 mb) stream start to display 5 gifs with animation.
As result this gifs makes page loads slowly.

Is it possible to prevent slow load somehow?

Or I need to move topic to feature request to ask developers disable preload gifs in stream?

For example this site (when I view it on mobile) display thumb with “gif” mark, file size and “play” button:
https://vk.com/wall-141046337_181014
When I press “play” it start to load GIF.


Thanks.
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Perhaps you can attach those GIF image file (more than 10MB) in your Joomla root folder so I can download it and try into local and see how first?
·
Saturday, 30 March 2019 08:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello. I just uploaded zig-archive to site-root/gif.zip examples.
Sorry, but it have sexual / mature / adult content.
Thanks.
·
Saturday, 06 April 2019 06:07
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem, I test other gif images.

Based on what I tested in locally, it seems like it load normal for me, you can watch my video here : http://take.ms/OhqTm (sorry I didn't switch off the audio sound before I record)

May i know your current stream item still got these gif image? because I would like to test on your site.

Or I can upload these gif images file on your site for this testing?
·
Saturday, 06 April 2019 11:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello.

I just uploaded few GIFs on site and you can find it there after login as superuser.

Note: max file size to upload is 5Mb.
But after uploading new files "...large.gif" become much bigger: 12.8 Mb, 8.1 Mb, 7.1 Mb...
"...original.gif" has a less size.

So as result after page load, user have to wait also to load 30 Mb+ gif content.
Yes, site load speed (gif load) depends on inthernet connection (and GIF file size).

What can I do? Set in backend to display "...thumbnail.gif"? But it also will display "...thumbnail.jpg". ...large.jpg looks much better.

Seems nothing can be done?

Thanks.
·
Saturday, 06 April 2019 19:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I already consult with our developer regarding this, the reason why those gif image file size become larger is because GIF Optimizer of ImageMagick attempt to optimize following thing before resize it.

- A Coalesce the Animation
- Basic Frame Optimization
- Transparency Optimization

So as result after page load, user have to wait also to load 30 Mb+ gif content.
Yes, site load speed (gif load) depends on inthernet connection (and GIF file size).

What can I do? Set in backend to display "...thumbnail.gif"? But it also will display "...thumbnail.jpg". ...large.jpg looks much better.

Seems nothing can be done?

Yes, currently that is no other easier way around to prevent load it first because when the browser detect the HTML content got the image link, it will load it directly. In other to fix this for good, it need to add a video wrapper under the gif image, so it will show a play button there, when the user click on it, then it only load the gif image.

We will see if can implement this in Easysocial 3.2.
·
Monday, 08 April 2019 16:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post