Banners Are Still Set To Load Last

  • 1
  • Problem
  • Updated 8 years ago
  • In Progress
This is an issue I first raised in March, this year. Back then I mentioned that the banners should be set to load first, as it's basic web design correctness, especially if you have lots of small files loading on a page.
I was told by Synthasite staff that yes, the problem was due to a wrong box being ticked (banners selected to load last) and that Synthasite engineer staff would fix it (by selecting banners to load first instead of last).
Unfortunately, nothing has been done.

Could this please be fixed?
Photo of Paul Caspall

Paul Caspall

  • 174 Posts
  • 4 Reply Likes
  • patient, but really want this fixed

Posted 9 years ago

  • 1
Photo of Boomer

Boomer, Champion

  • 2055 Posts
  • 84 Reply Likes
Mmm, my banner always seems to load first ??
Photo of Paul Caspall

Paul Caspall

  • 174 Posts
  • 4 Reply Likes
Can you get them to fix mine then??

:)

I don't know if it's particular to the specific style I used for my site or not. It was never mentioned. Clearly though if it was affecting everyone, I strongly suspect it would have been fixed by now. ;)

Various people have checked the site from different locations and all confirmed that the banners loaded last. So . . . here I am again.
Photo of the_pete

the_pete

  • 65 Posts
  • 16 Reply Likes
Hey Paul

Unfortunately fixing this problem isn't as simple as ticking the correct box.

I believe this isn't technically a problem with Yola or its output, but rather a display of browser behavior. Fixing it would be more of a hack around a browser issue than a fix of our code.

Here's the technical explanation.

The banner of the style you've used (and all our styles) is embedded in a different way to the images in the content of your page ( tags vs css background:url(); rules).

The browser decides the order in which it loads things on the page and I think it adds different embedded types of images to different queues causing the rendering inconsistency you've described.

There are trade-offs between the two ways of embedding images which I won't go into here, but in order to fix your problem we would have to standardize on one. We can't really do this without a more thorough examination of this problem and the impact a fix would have on other users.

The outlook is bleak, and I'm sorry to be the bearer of bad news, but we'll keep and eye on the problem and implement a fix if we find one.
Photo of Paul Caspall

Paul Caspall

  • 174 Posts
  • 4 Reply Likes
Hi Pete

I think I have my head around most of that.
But how come some Yola users firmly believe that their banners load first? Different style of banner/layout?
Is there nothing I can do? (Other than increasing the number of pages while decreasing the number of items per page to load?)
Have to admit, I'm a bit disappointed. This is one of the few things out of my control and the result is a negative. I'm a perfectionist and this doesn't compare favourably with most other websites.

But thanks for your explanation.
Photo of the_pete

the_pete

  • 65 Posts
  • 16 Reply Likes
Hey Paul

You are correct - my humble apologies *blush*. Some styles do load their banners first. I just tested this with one of our styles vs your style and there was a difference.

I looked through the code and found that the banner in your style is embedded with an inline style instead of through a rule inside a your styles external css file. I'm guessing this is the issue (guessing as I can't test it on my local setup because there's no loading delay).

I've made the appropriate fix and hopefully after we release it'll be fixed. It'll get released as part of an upgrade to part of the builder that will be going out in the next 2 weeks.

Thanks for the help isolating the problem.
Photo of Paul Caspall

Paul Caspall

  • 174 Posts
  • 4 Reply Likes
Now *that* has my attention!

:)

Sounds very positive, and would certainly explain the "works okay for me" responses I've received.

Awesome result (hopefully).

Thanks.
Photo of Monique

Monique, VP of Customer Support

  • 6294 Posts
  • 446 Reply Likes
I am also looking forward to this one. If Pete's fix works as you hope it will, I have to say a well done for sticking with this issue!
Photo of Paul Caspall

Paul Caspall

  • 174 Posts
  • 4 Reply Likes
Well, another 6 months have come and gone, and yes folks, the banners on our site still load last.

Is it really that hard to fix???
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Hi Paul - I am looking into this and consulting with the Engineer. I will get back to you on this.
Photo of Paul Caspall

Paul Caspall

  • 174 Posts
  • 4 Reply Likes
Thanks Kershnee.

Hope you read the comments by the_pete (7 months ago) re this issue.

Cheers
Paul
Photo of Kershnee

Kershnee

  • 2087 Posts
  • 152 Reply Likes
Yes I did Paul :) I am find out the status of this issue. Will let you know.
Photo of the_pete

the_pete

  • 65 Posts
  • 16 Reply Likes
Hey Paul

Just to follow up, I can confirm that the fix we attempted did go live and now the style you're using on http://www.aconitejewel.com/ is consistent with other styles (the banner image CSS is abstracted to the central css file). This was something really easy to do with zero effect to legacy, other users, or how the site builder interacts with the style.

Unfortunately the fix hasn't had the desired effect :(

The next technical step that would need be taken to ensure load order, while maintaining the stability of our styles, is not really feasible in my estimation.

We would either need to change the banner to be an element or preloaded the image using JavaScript. Neither of these fixes are easy, both require extensive quality assurance across all styles, and both might cause regression issues on existing sites.

So when we look at the impact of load order versus what it would take to fix, I don't know if we can prioritize this. I have added this issue to our bug tracking queue and we'll try and find a clever way of fixing it - but no promises for now.

Thanks Paul

Cheers
/Pete
Photo of Paul Caspall

Paul Caspall

  • 174 Posts
  • 4 Reply Likes
Hi Pete

Thanks for the update. I must say we're pretty disappointed, considering how long we've waited for this flaw to be fixed, and how patient we've been.

Are other styles/templates afflicted with this same issue? Just so we know in case we decide to switch styles/templates in future?

Cheers
Paul