bengott/meteor-avatar

302s trigger onerror in chrome

Closed this issue · 0 comments

If a service image uses a 302 redirect then this will trigger the onerror handler in Chrome, causing the image to be hidden.

Facebook images work this way, tested in chrome 43.0.2357 linux and mac and chrome 45 linux.

Can workaround by suppressing the error css

.avatar-image {
  display: inline !important;
}

That's not ideal though as genuinely broken links will now not be handled.