Commons:Upload help

Community portal
introduction
Help desk
uploading
Village pump
copyrightproposals
Administrators' noticeboard
vandalismuser problemsblocks and protections
Skip to table of contents


Shortcut
COM:UH
This page is a forum for questions and help on

How to upload files to Commons

Anyone, from newbie to experienced, can ask a question here. Questions will be replied to here as well. Any answers you receive are not legal advice and the responder cannot be held liable for them. Please sign your question by typing four tildes (~~~~). In order to get quick answers consider the following points:

  • For help needed on Commons issues other than uploading, please see the main help desk and links from there.
  • For questions not related to this website, try the Wikipedia reference desk.
  • Have you checked the FAQ and help contents?
  • You may also find what you are looking for in the archives.
  • Resolved sections (marked by {{section resolved|1=~~~~}}) will be archived after four days. Sections with no discussion will be archived after ten days.


Translate this page



What to do when file is not uploaded & error message says "badparams"Edit

Can anyone help on this issue. What should I do to pdf if "badparams" message comes up. --Pavan santhosh.s (talk) 14:17, 10 August 2016 (UTC)

@Pavan santhosh.s: What is the exact, complete error message you're seeing? Also, which upload tool are you using? Matma Rex (talk) 17:36, 10 August 2016 (UTC)
Screen shot of commons
@Matma Rex: I am giving screen shot of it. Please let me know if it can be solved. --Pavan santhosh.s (talk) 08:46, 14 August 2016 (UTC)
@Pavan santhosh.s: Thanks, that's very helpful. It appears to be a bug in UploadWizard… I filed phab:T143134 about this issue and I'll look into it. Matma Rex (talk) 18:02, 16 August 2016 (UTC)
@Pavan santhosh.s: I see you managed to upload a file with this name: File:Chellapilla Venkata Sastry 2016-08-13.pdf. Just to confirm, this is the same file that failed before, right? I was going to ask you to email it to me, sometimes such problems are specific to some files. Matma Rex (talk) 18:52, 16 August 2016 (UTC)
I tracked down the problem and resolved it. You should no longer get this error message when uploading anything after the regularly scheduled deployment on Wednesday next week. Matma Rex (talk) 16:52, 18 August 2016 (UTC)
Thank you @Matma Rex:. Yes, I could manage to upload. But my way to do this is some how tricky. I uploaded it to drive and then downloaded it from another computer. And that file I could upload it easily. I don't know how I could do it but been possible. :) --Pavan santhosh.s (talk) 07:30, 19 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:05, 26 August 2016 (UTC)

"Internal error: Server failed to store temporary file." (uploadscripted)Edit

@Matma Rex: I had a similar "badparams"-error while trying to upload a .tif file (3 times in a row) just now. After downloading the file from an external server, and trying a fourth time, I got a different error:
“Internal error: Server failed to store temporary file.”
Will try again after scheduled deployment on coming Wednesday 24 August 2016 (as per your message above). (Verheyen Vincent (talk) 05:19, 22 August 2016 (UTC))
@Verheyen Vincent: I looked up the errors for your upload session and the real error message is "This file contains HTML or script code that may be erroneously interpreted by a web browser. See the FAQ for more information.". You won't be able to upload it even if the message is shown correctly (I think this is a case of phab:T32095, which I'm planning to work on). See COM:FAQ#What does the upload error This file contains HTML or script code that may be erroneously interpreted by a web browser. mean? (I think it works almost the same for JPG and TIF files). Matma Rex (talk) 16:03, 22 August 2016 (UTC)
@Matma Rex: COM:FAQ#What does the upload error This file contains HTML or script code that may be erroneously interpreted by a web browser. mean? advises to use exiftool. What's interesting to me is that I already used exiftool on the image before uploading, namely using the commands "exiftool -all= -CommonIFD0= *.tif" and "exiftool -all= *.tif" to strip all the EXIF metadata from the image ... I thus don't have a clue how to delete any remaining "HTML"-metadata or where it would be located? ... I guess I'll just re-save the image using an image editor? (Verheyen Vincent (talk) 17:00, 22 August 2016 (UTC))
@Verheyen Vincent: Hmm, interesting. Re-saving may help. If it doesn't, email the file to me (matma.rex@gmail.com, it's okay even if it's big) and I'll try to see what's up with it. Matma Rex (talk) 17:04, 22 August 2016 (UTC)
Matma Rex: As I and Rillke have noted in the past, the way detectScript() is implemented is incredibly naïve and prone to both spurious errors and to missing real errors. The odds of encountering files that happen to contain one of the several very short byte sequences that are considered bad within its first 1024 bytes is probably fairly significant when dealing with Commons-sized data sets. And someone who really wanted to be nefarious would just need to make sure that there's at least 1024 bytes of correct metadata before the script code. LX (talk, contribs) 17:30, 22 August 2016 (UTC)
@LX: I am not familiar with all of this code, but checking only the beginning for binary files is probably intentional. The purpose of this part of the function is not to disallow files with HTML in metadata, but rather to disallow files which can be used to trigger file type autodetection in old versions of Internet Explorer and Safari, and the XSS attacks that this allows for. I don't recommend https://doc.wikimedia.org/ for viewing code, as it strips code comments – rather look at the unabridged version e.g. here: [1]. Matma Rex (talk) 18:01, 22 August 2016 (UTC)
@Verheyen Vincent: Thanks, I've gotten your email. This is actually a bug in the code that is only apparent when using chunked uploads (a method where big files are uploaded divided in smaller "chunks", which makes it possible to upload files bigger than the server can ordinarily receive, and which increases reliability on poor networks since each chunk can be resubmitted separately): see phab:T143610 for the technical details.
The file is perfectly fine and can be uploaded with one of the following ways:
  • If you don't mind Special:Upload's interface, just use it to upload this file. It should go through with no problems. (Other upload tools may or may not work, depending on whether they use chunked uploads.)
  • If you want to use UploadWizard, then (before uploading anything) open your browser's developer console and copy-paste the following: mw.UploadWizard.config.chunkSize = 100 * 1024 * 1024 (this effectively disables chunked uploading temporarily by setting the chunk size to 100 MB). Then proceed with the upload as normal.
Sorry about the inconvenience. Since this bug is in security-sensitive code, it can take a little while before I can get one of WMF's security experts to review my proposed fix, but I'll get it fixed at some point. Matma Rex (talk) 21:07, 22 August 2016 (UTC)
@Matma Rex: Thanks, I'm very impressed that you were able to locate the cause of the problem, as well as to provide a solution (using Special:Upload did the trick for me). In the Phabricator page which you mentioned (phab:T143610), I can note that you were able to determine the text-string "<PrE' at offset 10332876" as being the exact cause of the problem. Might I just ask how (using what software or what type of software) you were able to locate that text-string within the file please? (Verheyen Vincent (talk) 22:31, 22 August 2016 (UTC))
@Verheyen Vincent: Mostly I just enabled debug logging in my local installation of MediaWiki ($wgDebugLogFile config option), since the function that produces these errors writes some more details to the log. It logged "found something that may make it be mistaken for html: <pre". I opened the file in a hex editor () and searched for "<pre" to verify, and then I just copied the offset where it was found. It just randomly appears in the middle of the image data. Matma Rex (talk) 00:51, 23 August 2016 (UTC)

File from FlickrEdit

Hello, an Italian commoner on our village pump asked why this photograph can't be uploaded in spite of being properly licenced (by Financial Times, thus not a case of flickr laundry). In fact I too attempted to upload it just to perform a test and the Wizard told me that such a file had previously been uploaded on this Wiki but it was not showed me where's the duplicate one. It happens with that file only. Anyone has experienced anything similar? Thanks .-- SERGIO (aka the Blackcat) 22:06, 16 August 2016 (UTC)

@Blackcat: Can you take a screenshot of the error message you're seeing and upload it somewhere? I get an error message that points me to File:Boris_Johnson_Leo_Johnson.jpg when I try uploading that file using UploadWizard: https://i.imgur.com/YmdSnQI.png Matma Rex (talk) 00:41, 17 August 2016 (UTC)
Yes, File:Boris Johnson Leo Johnson.jpg is an exact duplicate (not just the 'same image', but the identical file). If the Italian version of the Upload Wizard doesn't show that, it should probably be fixed to do so. Reventtalk 05:57, 17 August 2016 (UTC)
Works for me with &uselang=it too. Matma Rex (talk) 09:00, 17 August 2016 (UTC)
Ok, problem solved then. I errounesly assumed that anything about Boris Johnson had to be sought in the category:Boris Johnson but apparently the picture hadn't been categorized since its upload thus I couldn't know whether an exact duplicate existed already. Having found the duplicate is clear why I got the error message. That said, as pointed above, the lack of existing filename in the Italian interface of UploadWizard is a fix that should be fixed. Thanks to Matma Rex for taking time to check the problem. -- SERGIO (aka the Blackcat) 12:40, 17 August 2016 (UTC)
@Blackcat: Could you upload a screenshot of the error message you're seeing, that doesn't mention the existing file name? As far as I can tell, it works correctly, also in Italian. Perhaps you're talking about a different tool than Special:UploadWizard? Matma Rex (talk) 16:56, 18 August 2016 (UTC)
Yes, of course, Matma Rex, here you are! -- SERGIO (aka the Blackcat) 12:03, 19 August 2016 (UTC)
@Blackcat: Aha, I see it now. Since you were talking about Flickr, I assumed you're using the "Share images from Flickr" function of UploadWizard (see Commons:Upload Wizard/Flickr, currently only available for admins and license reviewers). But it looks like you're just downloading the image from Flickr to your computer, then uploading it normally.
You were probably running into phab:T130564, which causes UploadWizard not to receive any warnings about the uploaded file if it was bigger than 5 MB (and this file is 6.98 MB), including the warning that the file is a duplicate of an existing one. We'd only get the warnings when you tried to publish the file (note how the error in my screenshot is displayed on the "Upload" step, while the one in yours is on the "Describe" step), and it looks like the error handling there is incomplete (since I guess it's not supposed to happen).
I incidentally fixed that just two days ago and the fix should be deployed to Wikimedia wikis next week (on Wednesday to Commons). It should resolve this problem too. Matma Rex (talk) 20:15, 19 August 2016 (UTC)
Ok, thanks for the collaboration. ad maiora -- SERGIO (aka the Blackcat) 21:26, 19 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:06, 26 August 2016 (UTC)

Cannot upload my own pictureEdit

Dear all, I have tried to upload a picture on: https://de.wikipedia.org/wiki/Liste_invasiver_gebietsfremder_Arten_von_unionsweiter_Bedeutung?veaction=edit

However, I got error messages again and again. One was called Wiki Media Cross error, I believe. I then tried again and the message was again that an error occured and that there is something wrong with the file. Any ideas? JK Zoo (talk) 10:10, 17 August 2016 (UTC)

Hi JK Zoo! I see from Special:AbuseLog/1398939 that you encountered an upload filter that prevents low-resolution uploads from newly registered users using the particular upload process that you used. The reason for this filter is that such uploads overwhelmingly turn out to be copyright violations. An 816×459 pixel image is quite small (73×41 mm on my 15" display) and more typical of a file downloaded from the Internet than what a camera would produce. (It's about 1.6% of the standard resolution of my camera, for example.) If you did indeed personally create this photograph, why is it so small? LX (talk, contribs) 15:08, 17 August 2016 (UTC)

Thank you so much for your reply. I totally understand your policy in this regard, especially as I just newly registered yesterday to add text and a picture to the above website. I did indeed decrease the size of the picture taken with my mobile phone before trying to upload it as I thought since it was an web-site upload, a web-site reduction in size would be appropriate?! However, I did later on try to upload the originally sized picture (3MB) after sending it from my mobile to my computer but again the system refused. Shall I try to directly upload from my mobile phone? — Preceding unsigned comment added by JK Zoo (talk • contribs) 10:29, 18 August 2016 (UTC)

@JK Zoo: You should be able to upload the file directly to Commons, using the Upload Wizard. The filter only affects cross-wiki uploads. Please upload full size images, though, as they are more widely usable... the wiki will automatically create thumbnails of the needed size when used on an article. Reventtalk 11:49, 19 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:07, 26 August 2016 (UTC)

File by FlickrEdit

I found on Flickr this file of Rihanna's Anti World Tour: https://m.flickr.com/#/photos/nrk-p3/28011400556/in/search_QM_q_IS_Rihanna+2016 Anyone able to upload this, please? —Preceding unsigned comment was added by 87.20.119.69 (talk) 10:35, 17 August 2016 (UTC)

No. Non-free files are not allowed on Commons. Please see the table at the top of Commons:Flickr files. LX (talk, contribs) 14:43, 17 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:07, 26 August 2016 (UTC)

uploading photographEdit

I want to upload my photograph —Preceding unsigned comment was added by 1.39.56.235 (talk) 10:49, 17 August 2016 (UTC)

You need to register an account and be logged in to upload files. LX (talk, contribs) 14:42, 17 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:08, 26 August 2016 (UTC)

Uploading photographEdit

How to upload photograph in wikipedia Debasishdey17 (talk) 10:55, 17 August 2016 (UTC)

If you actually want to upload the photograph to Wikipedia, you need to go to Wikipedia. If you want to upload it to Wikimedia Commons (this site), from where it can be easily be used by Wikipedia, other Wikimedia projects, and others, read Commons:First steps and come back here if you have more specific questions. LX (talk, contribs) 14:41, 17 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:08, 26 August 2016 (UTC)

Which public domain copyright tag to use?Edit

I am interested in uploading a picture of the statue, Fighter of the spirit, that is on the Minneapolis Institute of Art website. The image is listed as public domain and is dated 1928. I have looked over the choices for copyright tag on the upload wizard, and I'm not sure which one to use. Leschnei (talk) 15:44, 18 August 2016 (UTC)

Would {{PD-old-75}} be appropriate? Leschnei (talk) 15:46, 18 August 2016 (UTC)
@Leschnei: This was actually a bit interesting, in that looking shows this isn't the original statue, it's a replica. The statue was made in 1928, for a church in Kiel, Germany. The Nazis then sawed it in half, and someone hid the parts through WWII. The museum obtained this copy in 1959. As a work originally published in Germany, it had a 70-year copyright, and became PD in 2008.
Unfortunately, you can't upload this particular photo, however.... while the statue is in the public domain, the photo itself appears to have been taken by the museum in 2006 (per metadata on another copy) and is itself copyrighted. You need to find a freely licensed photo, or take one. Sorry.
If you do, however, the license for the statue itself will be what you suggested, or {{PD-old-auto |deathyear=1938}}, which is a self-updating version. Reventtalk 19:40, 18 August 2016 (UTC)
I found the story interesting too, which is why I wanted to add it to the museum site. I'll have to contact my network of underground Minneapolis photographers and put them to work! Thanks for your help!! Leschnei (talk) 00:19, 19 August 2016 (UTC)
@Leschnei: https://www.youtube.com/watch?v=vccYZjRvJ0M Face-smile.svg Reventtalk 11:55, 19 August 2016 (UTC)
I love that song! Leschnei (talk) 18:50, 19 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:10, 26 August 2016 (UTC)

Wait time?Edit

When preparing a workshop for possible Wiki Loves Monuments participants, I remembered that "when I was young" (in Wikipedia) I had to wait for 4 days before I could upload images. I don't remember whether it was only Wikipedia or whether it alos applied to Commons. Is there (still) such a wait time for new users? It would be fatal for the workshop because we intended the particippants to create an account and upload images on the same day. I couldn't find any hint in the FAQ or the help pages, that's why I'm asking here. --Bjs (talk) 19:59, 19 August 2016 (UTC)

That still applies on English Wikipedia (not sure about others), but not here. You can see which rights regular logged-in users have at Special:ListGroupRights#user. Here on Commons, it includes upload. LX (talk, contribs) 23:14, 19 August 2016 (UTC)
Thank you for your answer. The link to Special:ListGroupRights was very helpful. In the English and german Wikipedia, upload is not allowed for users, but only for autoconfirmed users. But here on Commons, there is no problem. --Bjs (talk) 19:37, 22 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. LX (talk, contribs) 19:55, 22 August 2016 (UTC)

Imaget gets corrupted when uploadedEdit

I am trying to upload a large file to Commons, a 16 MB scan of an old map: File:Insula Maioricae Vicentius Mut 1683.jpg. The upload is completed but unfortunately the image gets corrupted, becoming barely visible. Is there any technical issue I should be aware of? Am I doing anything wrong? I would be happy to email the file to anybody willing to help. Thanks. --Hispalois (talk) 20:32, 19 August 2016 (UTC)

The image looks fine to me (both revisions). This could be a caching problem in your browser. Have you tried to check in a different browser? --rimshottalk 20:49, 19 August 2016 (UTC)
Thanks for the hint. Yes, if I open the image with Internet Explorer it does look fine. It is only on my main browser, Firefox, that it looks bad. However, I have cleared the Firefox cache and that has not changed anything. --Hispalois (talk) 13:23, 21 August 2016 (UTC)
All the versions of the image look fine to me, and I'm using Firefox, too (version 47.0). --Bjs (talk) 20:45, 22 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:11, 26 August 2016 (UTC)

Удаление ненужногоEdit

Помогите удалить все загруженные мной файлы кроме текущих версий. Ssp 1.618 (talk) 00:23, 20 August 2016 (UTC)

Ticket#: 2016080510000991Edit

Hello still waiting to hear back on two images which were deleted.

First File: "History_of_Thought.png", it has been deleted from Commons by INeverCry because: No permission since 22 July 2016.)

Second File: "Greek_school_by_ziggyfin.png", it has been deleted from Commons by INeverCry because: Copyright violation, see c:Commons:Licensing - c:OTRS permission from Reggie Graham ("ziggyfin") required.)

I would like to get these files put back up. I wrote and storyboarded these comics. I commissioned an artist,Reggie Graham ("ziggyfin"), to create them for me with the understanding that they were to be used in the public domain. When I added the first one, it asked it I owned the work (if it was mine--can't recall the wording but you know it) to which I said, correctly, that the work was mine in both senses--that it was my property because I bought it and it was mine because it was first my intellectual property. Were I erred, it seems, is indicating in the description that it was original artwork by Reggie. I did this to ensure that he got credit for his art, which is brilliant. A notice showed up on the page indicating that OTRS was required so I asked Reggie to do that because whomever flagged it didn't believe me. fair. He did the email method. I then uploaded a second file, greek school, and Reggie did the process again. I sent you a copy of that email. That file was deleted almost immediately.

These two illustrations are important elements of the chapter which is important to the book. I request that they be put back up OR let me know what we need to do to effect this. Thanks Dwt2 (talk) 05:32, 20 August 2016 (UTC)

Looking further, I see it was addressed at https://commons.wikimedia.org/wiki/Commons:Undeletion_requests/Archive so I need to work harder.Dwt2 (talk) 07:25, 20 August 2016 (UTC)

Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:11, 26 August 2016 (UTC)

Picture Upload Cross-wiki upload filterEdit

Hey Everybody! Can someone be that kind and tell me what´s the matter when i´m trying to upload the picture, please?

Cross-wiki upload filter

That´s what it says the problem is..

Thanks! — Preceding unsigned comment added by Menneskerone (talk • contribs) 16:48, 20 August 2016‎ (UTC)

Hi Menneskerone! You encountered an upload filter that prevents low-resolution uploads from newly registered users using the particular upload process that you used. The reason for this filter is that such uploads overwhelmingly turn out to be copyright violations. An 800×800 pixel image is quite small and more typical of a file downloaded from the Internet than what a camera would produce. If you personally created this picture, why is it so small? LX (talk, contribs) 17:53, 20 August 2016 (UTC)

My connectivity to Brazil sucks - help?Edit

See File:القرية_الأولمبية_ريو_2016.jpg. The full-resolution image is at http://www.brasil2016.gov.br/pt-br/galeria-de-fotos/vila-dos-atletas-imagens-aereas-maio-de-2016 but I cannot successfully download it, to replace the version on Commons... I time out about halfway through, which is annoying. Can someone please try to get the full version? It should be about a 5MB file, apparently. Thanks. Reventtalk 07:25, 22 August 2016 (UTC)

Nevermind, I was able to use a anonymizing web proxy to get it through some other network. Reventtalk 07:34, 22 August 2016 (UTC)
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. Wikicology (talk) 19:12, 26 August 2016 (UTC)

Subir fotosEdit

The system does not allow me to upload my photos. It says: "Make the title most significant". Thanks. El sistema no me permite subir una foto. Me dice: "haz el título más significativo" y no me permite subir las fotos. Gracias.--Sürrell (talk) 17:40, 25 August 2016 (UTC)

And what title were you trying to use for the file? LX (talk, contribs) 19:23, 25 August 2016 (UTC)

protesis ocularesEdit

Buenos días; intento subir fotos a la parte del capítulo que hemos editado y me contesta:Cross-wiki upload filter, o que es un acción dañina. ¿ qué puedo hacer para poder subir las fotos de mis archivos? Gracias; Dr. Andrés Laiseca — Preceding unsigned comment added by Peqlai (talk • contribs) 10:54, 26 August 2016 (UTC)