Comment 3 for bug 1215357

Revision history for this message
Roman Shchekin (mrqtros) wrote :

Let me explain my opinion.

We have two kind of bugs (related to images) in our atricle view: some images are too small, some too big.
Let's speak about small first. Content of RSS article is a pure HTML, where feed's owner can display anything what he wants to user. And he must have ability to display tiny smile or twitter icon. If we stretch the images to the full width, the application will become unusable. So I propose don't touch little images.

But sometimes article contain <img> tag with image, which width is bigger than view width. Unfortunately, we can't control width of such images (limit their width) since they are inside Label component. I see only one solution - use online service to resize image. Their usage always similar to
service.url.com/<params>/<original_url>
It means that all images will go through proxy server, which will transform them as needed.

What do you think about that solution?
Screenshots of usage in Shorts can be found here: http://ubuntuone.com/25gpFDvDQSfhmul6twtfZU