News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

SMF 2.0 RC3 Img attachment problem with google chrome.

Started by Sheepy, August 27, 2010, 02:20:21 AM

Previous topic - Next topic

Sheepy

Issue: Chrome not displaying (unmodified) image attachments
Server Version: SMF 2.0 RC3, Apache 2.2.11, PHP 5.2.14, MySQL 5.1, Win XP SP3
Client Version: Google Chrome 5, multi-platforms
Solution: Removes "Content-Length" header

Hello. We are using SMF 2.0 RC3 and lots of users complained about image attachment viewing.
We are not using thumbnails.

After we manually disabled image re-render, attachment compression, line break rewrite, and basically all other attachment processing, most browsers are doing fine, except for one: Google Chrome 5.

It's a known Chome issue since Chrome 2.0 on many sites.  Pictures would load and display partially, then get replaced by a broken image icon.
Opening the image by url (preview/full download) will work, so it's browsers' problem.

We just discovered that NOT sending Content-Length header will allow Chrome to load image attachments correctly.

If needed, I can setup "before" and "after" demo sites but not today.

Norv

Hello there,
and thank you for the report.

Could you please give an example of the problem?
Why do you it's a known issue with Chrome 2.0 (an example perhaps)?
To-do lists are for deferral. The more things you write down the later they're done... until you have 100s of lists of things you don't do.

File a security report | Developers' Blog | Bug Tracker


Also known as Norv on D* | Norv N. on G+ | Norv on Github

Blade_Runner

Quote from: Sheepy on August 27, 2010, 02:20:21 AM
Issue: Chrome not displaying (unmodified) image attachments
Server Version: SMF 2.0 RC3, Apache 2.2.11, PHP 5.2.14, MySQL 5.1, Win XP SP3
Client Version: Google Chrome 5, multi-platforms
Solution: Removes "Content-Length" header

Hello. We are using SMF 2.0 RC3 and lots of users complained about image attachment viewing.
We are not using thumbnails.

After we manually disabled image re-render, attachment compression, line break rewrite, and basically all other attachment processing, most browsers are doing fine, except for one: Google Chrome 5.

It's a known Chome issue since Chrome 2.0 on many sites.  Pictures would load and display partially, then get replaced by a broken image icon.
Opening the image by url (preview/full download) will work, so it's browsers' problem.

We just discovered that NOT sending Content-Length header will allow Chrome to load image attachments correctly.

If needed, I can setup "before" and "after" demo sites but not today.


Do you mind giving more details on how to fix this Google Chrome problem?

Bugo

Try to update Google Chrome (Last stable version: 7+)

Blade_Runner

Quote from: Bugo on November 08, 2010, 05:08:30 AM
Try to update Google Chrome (Last stable version: 7+)

My Google Chrome is the latest version. The first post sounds like it is the way to fix it. With the same version of Google Chrome, I had no issues with SMF 1.1.11. Problem only occurred after I upgraded to 2.0 RC4. I know Google Chrome has an issue too.

Joshua Dickerson

I use Chrome as my default browser and have never experienced this issue. Considering it hasn't been talked about since 2010, I am going to say it is a fluke with the version of Chrome and close this.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Advertisement: