Comment 6 for bug 1215357

Revision history for this message
Roman Shchekin (mrqtros) wrote : Re: [Bug 1215357] Re: [RSS Reader] Image size in article view

Without downloading image to file we can only use heuristics to determine
must we stretch image to fullscreen or no.
I can only propose us use my "show media" implementation, which uses images
from special data source in article. And this source often contains size of
image (whoohoo), which we only need, BUT - articles (all I've seen before)
 contain small variant of attached image in their body too, and seems there
are no easy way to determine that they are identical, but different size
(to replace little one with big one).
In my opinion RSS Reader should display article exactly as it was formed.
It's like tiny browser. What if browser will change your html page? :)

But I'll try something anyway :)

2013/10/14 David Planella <email address hidden>

> - Small images: I agree with Roman, let's not modify small images. In
> fact, IIRC we already ignore them if they are smaller than a given size?
>
> - Bigger images: as discussed in another thread, I think we should not
> make Shorts dependent of a 3rd party service for resizing, especially as
> that would also add a delay to displaying single articles. It seems that
> the Label component is constraining us a bit here, could we not use
> another component or a workaround to resize images to fit the width of
> the screen? I know you're all very clever guys, does anyone have any
> ideas how we could achieve that?
>
> --
> You received this bug notification because you are a member of Ubuntu
> RSS Feed Reader Developers, which is subscribed to Ubuntu RSS Feed
> Reader App.
> Matching subscriptions: Ubuntu RSS Reader Bugmail
> https://bugs.launchpad.net/bugs/1215357
>
> Title:
> [RSS Reader] Image size in article view
>
> Status in RSS Feed Reader application for Ubuntu devices:
> Triaged
> Status in Ubuntu UX bugs:
> Fix Committed
>
> Bug description:
> Images in the article view are not full width.
>
> ---
> Desired solution
>
> Can we scale up the image so that they are the full width of the
> screen, as per page 6 of the visual spec
>
> https://docs.google.com/a/canonical.com/file/d/0BzWzYe656QsATEoxSjQ4WUVDRTg/edit
>
> Scaling up images will result in lower quality, but it seems to be
> fine in Feedly (see attachment).
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/1215357/+subscriptions
>