Bug 153205 - Large images (>10 MB) cause Flickr export to fail
Summary: Large images (>10 MB) cause Flickr export to fail
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Flickr (show other bugs)
Version: 5.6.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-01 04:26 UTC by x3ri7yz02
Modified: 2018-01-30 21:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description x3ri7yz02 2007-12-01 04:26:29 UTC
Version:           0.1.4-1+b1 (using KDE KDE 3.5.8)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Flickr currently accepts photos up to fixed sizes (5MB for free accounts and 10MB for paid accounts; see here:  http://www.flickr.com/help/photos/?search=file+size#18 )

Attempting to use the kipi-plugins "export to Flickr" function on an image in excess of this size results in the following error:

        "Error Occured: Filesize was zero

         We can not proceed further"

Perhaps Digikam could check the sizes of files before attempting uploads and warn on images over 10MB?  

Or alternatively offer to resize/recompress images to allow successful uploading?
Comment 1 Thomas Sperre 2008-02-24 18:53:26 UTC
Flickr now accepts upload of images with an original size > 10 Mb for pro accounts. I looked through some flickr documentation yesterday and could not find that there is a file size limitation for the pro accounts (this may not be correct, it does not make sense to not have a file size limit for such a large website.)

Anyway, the picture size limitations should not be hardcoded into the flickr export plugin as there is a high probability for "standard" picture file sizes to continue to increase into the future. This goes for both free and pro accounts.

The most elegant solution would be if kipiplugins flickrexport could query flickr for file size limitations for the account that the pictures will be uploaded to, and warn the user that the file size of "thispicture.extension" is too large (filesize is Y) (maximum allowed filesize for the account is X.)

And first and foremost, don't give us that "filesize is zero" errormessage. No one is going to believe that. :-) 
Comment 2 caulier.gilles 2008-05-22 16:11:16 UTC
Thomas,

The error string "Filesize was zero" is formated by Flickr web service. Look here :

http://www.flickr.com/services/api/upload.api.html

Gilles Caulier
Comment 3 x3ri7yz02 2008-05-22 16:59:55 UTC
As Thomas predicted, Flickr file-size limits have also changed since this bug was opened. 

Per http://www.flickr.com/help/photos/?search=file+size#18 , new limits are:

pro accounts - now 20 MB per image (150 MB per video)
free accounts - 10 MB per image.

Comment 4 caulier.gilles 2008-12-07 21:41:59 UTC
This file still valid using kipi-plugins 0.1.6 ?

Gilles Caulier
Comment 5 x3ri7yz02 2009-03-09 08:50:24 UTC
kipi-plugins now uploads large photos to Flickr without complaint - works for me in tests with images of 23-29MB.

(Although checking the "Original" files after upload to Flickr seems to suggest that either kipi-plugins or Flickr is re-compressing these files. The "Original" files at Flickr are much smaller than the files originally uploaded.  Worth noting for anyone wanting to use Flickr as a "backup" for their images.  If the re-compression is being done by kipi-plugins, the user should be warned.)