Bug 280334

Summary: The Choqok "Preview Images" plugin displays image in full size, not as a thumbnail
Product: [Applications] choqok Reporter: david
Component: generalAssignee: Mehrdad Momeny <mehrdad.momeny>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Choqok window with the post that contains an image.

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