Bug 349270

Summary: Missing direct .png image URL
Product: [Applications] digikam Reporter: Jairo Honorio <registrofx>
Component: Plugin-WebService-ImgurAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, himanshushekharb16, metzpinguin
Priority: NOR    
Version: 4.12.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In: 5.6.0
Sentry Crash Report:
Attachments: attachment-10972-0.html

Description Jairo Honorio 2015-06-17 06:27:07 UTC
After hitting "Export to imgur.com" and uploading the file, there is no way to see or copy the direct link to the uploaded file. There is a Imgur URL (like http://imgur.com/SkTaXZ2 ) but there isn't a Direct Imgur URL (like http://i.imgur.com/SkTaXZ2.png ).

Reproducible: Always

Steps to Reproduce:
1. Take screenshot
2. Send to...
3. Export to Imgur...
4. Upload
5. Try to see or copy the direct imgur URL (like http://i.imgur.com/SkTaXZ2.png )

Actual Results:  
There is no way to see or copy the direct imgur URL (like http://i.imgur.com/SkTaXZ2.png )

Expected Results:  
There should be a way to see and copy the direct imgur URL (like http://i.imgur.com/SkTaXZ2.png )

My actual platform version is 4.13.3 (the submit form only have until 4.12)
Comment 1 Himanshu Shekhar 2017-03-11 04:02:11 UTC
The source code handles link of uploaded image as returned by Imgur.
Imgur reports returning the link with file extension as stated at https://api.imgur.com/models/image

(Check sample JSON response on the documentation page)
Comment 2 caulier.gilles 2017-03-11 06:06:39 UTC
So what's missing in source code to fix this file ?

Gilles Caulier
Comment 3 Maik Qualmann 2017-03-11 08:00:15 UTC
(In reply to Himanshu Shekhar from comment #1)
> The source code handles link of uploaded image as returned by Imgur.
> Imgur reports returning the link with file extension as stated at
> https://api.imgur.com/models/image
> 
> (Check sample JSON response on the documentation page)

What version of the kipiplugins is it? The Imgur view and delete URL will be displayed and working properly with kipiplugins-5.5.0.

Maik
Comment 4 Himanshu Shekhar 2017-03-11 12:51:16 UTC
Created attachment 104507 [details]
attachment-10972-0.html

That's what I meant to say.
The source code is doing it's work properly.
The bug should be closed.

On Sat, Mar 11, 2017 at 1:30 PM Maik Qualmann <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=349270
>
> Maik Qualmann <metzpinguin@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |metzpinguin@gmail.com
>
> --- Comment #3 from Maik Qualmann <metzpinguin@gmail.com> ---
> (In reply to Himanshu Shekhar from comment #1)
> > The source code handles link of uploaded image as returned by Imgur.
> > Imgur reports returning the link with file extension as stated at
> > https://api.imgur.com/models/image
> >
> > (Check sample JSON response on the documentation page)
>
> What version of the kipiplugins is it? The Imgur view and delete URL will
> be
> displayed and working properly with kipiplugins-5.5.0.
>
> Maik
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 5 caulier.gilles 2017-03-18 14:39:55 UTC
Ok thanks for the feedback. I close this file now.

Gilles Caulier