Bug 280334 - The Choqok "Preview Images" plugin displays image in full size, not as a thumbnail
Summary: The Choqok "Preview Images" plugin displays image in full size, not as a thum...
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: 1.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 10:52 UTC by david
Modified: 2011-08-20 03:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Choqok window with the post that contains an image. (129.56 KB, image/png)
2011-08-18 10:52 UTC, david
Details

Note You need to log in before you can comment on or make changes to this bug.
Description david 2011-08-18 10:52:09 UTC
Created attachment 62932 [details]
Choqok window with the post that contains an image.

Version:           1.1 (using KDE 4.7.0) 
OS:                Linux

I use an StatusNet account only and the "Preview Images" plugin (version 0.3). It usualy does not show any thumbnails for posts like this* but for one particular post** it shows the whole image. Choqok window does not contain a horizontal scrollbar in case the image is bigger than the window.

* http://identi.ca/notice/80994585
** http://identi.ca/notice/80992637

Reproducible: Sometimes

Steps to Reproduce:
Load any timeline that contains the post* with attached image.

* http://identi.ca/notice/80992637

Actual Results:  
Image is shown in its full size (1366*768). There is no way to view the whole image but to resize the Choqok window, or open the URL that links to the image in web browser.

Expected Results:  
An image thumbnail should be displayed.

Not reproducible on Fedora 15 (same Choqok, Image Preview plugin and KDE version), the image does not show up.
Comment 1 david 2011-08-19 22:26:12 UTC
Spotted on Fedora 15 (Choqok 1.1, Image Preview plugin 0.3 and KDE
4.7.0) with this notice*. It seems that the issue is only with direct links to images on twitgoo.com (like this**).

* http://identi.ca/notice/81142540
** http://i54.twitgoo.com/2gv1l4o.png
Comment 2 Mehrdad Momeny 2011-08-20 02:40:34 UTC
So, this just happened with twitgoo images!?
Comment 3 Mehrdad Momeny 2011-08-20 03:39:52 UTC
Git commit 415e7d1552abfbb844632ed35aca90fe6dcda46f by Mehrdad Momeny.
Committed on 20/08/2011 at 05:04.
Pushed by momeny into branch 'master'.

BUG:280334 twitgoo.com gave us the full size image! not a thumbnail!
Did a workaround for this situations!

M  +8    -1    plugins/imagepreview/imagepreview.cpp

http://commits.kde.org/choqok/415e7d1552abfbb844632ed35aca90fe6dcda46f