By Fred on Sunday, 08 June 2014
Posted in Technical Issues
Replies 6
Likes 0
Views 1.1K
Votes 0
When someone uploads and image is shows the image for a few seconds and then disappears. This happens on the Dashboard feed and the module

http://puu.sh/9kfy4/d04eb6678b.png
Hi Fred,

It appears that you template adds CSS transition on <a> tags.
The <a> tag may have been in transition while image size calculation takes place causing incorrect image width/height.

While I cannot accurately determine if this is the case due to aggressive caching on your server, here is the CSS to disable transition on <a> tags within EasySocial photos.


body div#fd.es .es-photo > a {
-webkit-transition: none !important;
transition: none !important;
}


I have modified the "rt_corvus-custom.css" file on your site by removing the initial code provided by Mark and added the one above.
You will need to refresh your server's cache (Siteground/Cloudflare?) for it to take effect.

If it still doesn't work, please provide us temporary access to Siteground/Cloudflare so we can perform a proper test.
·
Monday, 09 June 2014 11:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Fred,

As a temporary fix, try adding the css codes below,


body div#fd.es .es-photo > a.fit-both img {
max-height: 100% !important;
}


I will pass this to our guys to check early in the morning tomorrow.
·
Monday, 09 June 2014 01:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks that will work for now
·
Monday, 09 June 2014 01:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for understanding Fred
·
Monday, 09 June 2014 01:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry for the delay, its been very busy with E3 convention this week. This has fixed the issue, are you going to add this into your normal build so I don't have to remember to keep it in my CSS File?
·
Tuesday, 10 June 2014 21:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Fred,

Are there any lazy loading libraries that is enabled on the site? If you do, try to disable them, then remove the hacks above and see what happens.
·
Wednesday, 11 June 2014 00:36
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post