Rosetta Code:Village Pump/Image uploads: Difference between revisions
TmCkBY <a href="http://irywgupavqom.com/">irywgupavqom</a>, [url=http://lqgxkbbzdqtl.com/]lqgxkbbzdqtl[/url], [link=http://ckjpmaghqetf.com/]ckjpmaghqetf[/link], http://mbyntejompgr.com/ |
Undo revision 151385 by 128.104.255.38 (talk) |
||
Line 3: | Line 3: | ||
|summary=Relating to upload of images to Rosetta Code |
|summary=Relating to upload of images to Rosetta Code |
||
}} |
}} |
||
I enabled image uploads yesterday, for ''all logged in users''. Please try to limit uploads to original and/or programmatically-generated material. If you feel it necessary to upload an image retrieved from elsewhere, please ensure that uploading it here does not violate the original copyright. I'm not going to depend on Fair Use to get around more restrictive licenses, because I don't have the legal resources to defend against an infringement claim. --[[User:Short Circuit|Short Circuit]] 23:50, 3 February 2009 (UTC) |
|||
:I'm a little late with this, I suppose, but I've been dinking around with [http://www.dangermouse.net/esoteric/piet.html Piet] ([http://esolangs.org/wiki/Piet Esolangs entry]) over the past few days, and its programs are ''entirely'' images. (From the Piet page: "Piet is a programming language in which programs look like abstract paintings.") I like the language (as a toy), but it's possible (although somewhat unlikely) that the images could get... '''big'''. (Biggest one known ''so far'': [Image:http://www.dangermouse.net/esoteric/piet/pietquest.png]) |
|||
:So... What's the upper limit on images? Not "what will Mediawiki support", but "what do you consider too big?" -- [[User:Eriksiers|Erik Siers]] 17:11, 17 May 2010 (UTC) |
|||
:: I think for such images a codel size of 1 should be mandatory but apart from that it's not that large. There are certainly longer examples in other languages, even non-esoteric ones. If they get too large you can do the same as for other languages: Put it on a separate subpage. —[[User:Hypftier|Johannes Rössel]] 18:43, 17 May 2010 (UTC) |
|||
:::My concern isn't the on-screen dimensions of the image, but rather the file size limits that [[User:Short Circuit|Short Circuit]] wants to stick to. The image upload page says "Maximum file size: 10 MB", but if I upload a 10MB file for each example on the site, disk space and bandwidth would likely be adversely affected. -- [[User:Eriksiers|Erik Siers]] 18:54, 17 May 2010 (UTC) |
|||
:::: Let me keep an eye on disk and bandwidth usage. If it becomes a problem, I'll kick, curse, swear, and then finally put up a donate link. :) --[[User:Short Circuit|Michael Mol]] 19:32, 17 May 2010 (UTC) |
|||
:::: Piet being a graphical programming language, I would expect that it requires lossless image file formats. I recommend trying both GIF and PNG+pngcrush, and uploading whichever file winds up being smaller. --[[User:Short Circuit|Michael Mol]] 19:35, 17 May 2010 (UTC) |
|||
::::: I haven't done anything yet, but yes, PNG + pngout (via Irfanview) is what I have in mind. -- [[User:Eriksiers|Erik Siers]] 19:42, 17 May 2010 (UTC) |
|||
::::: While we're at it. Ideas for a naming convention? For the first task I did in Piet (so far the only one – [[:File:Piet A+B.png]]) I used ''Piet «task name»''. If that needs work, it can surely be renamed. Better ideas maybe? —[[User:Hypftier|Johannes Rössel]] 20:21, 17 May 2010 (UTC) |
|||
==Broken with Safari== |
|||
Does anyone have any idea why upload of images doesn't work with Safari? I create an image (e.g., a GIF or PNG) and try to upload it, but I get a red error message saying that only a few formats are supported, ''including GIF and PNG''. That's bizarre! It works if I use Firefox. (Yes, I'm logged in in both cases.) To me, it smells like a bug… –[[User:Dkf|Donal Fellows]] 13:35, 29 November 2011 (UTC) |
|||
: And reading Mike's talk page, it appears to be related to Javascript. Thank goodness for NoScript, which makes it all work at all… –[[User:Dkf|Donal Fellows]] 13:49, 29 November 2011 (UTC) |
|||
::People have reported the same problem across multiple browsers. I've had it myself on Firefox and IE. I found a [http://irclog.perlgeek.de/rosettacode/2011-07-06#i_4069398 really weird workaround]. We're hoping that a MediaWiki update can fix it. --[[User:Mwn3d|Mwn3d]] 13:52, 29 November 2011 (UTC) |
|||
: I disabled AJAX uploads serverside, but you may still need to disable it in your user profile settings. --[[User:Short Circuit|Michael Mol]] 15:12, 29 November 2011 (UTC) |
|||
::I can't find any options in my preferences related to image uploads. Which option are you talking about? --[[User:Mwn3d|Mwn3d]] 15:28, 29 November 2011 (UTC) |
|||
::: Hm. I can't find it, either. It may be hidden because I've disabled the feature serverside, or it may not be there at all. Grr. I *really* need to step on that MW update. --[[User:Short Circuit|Michael Mol]] 17:10, 29 November 2011 (UTC) |
Revision as of 14:20, 7 February 2013
This is a particular discussion thread among many which consider Rosetta Code.
Summary
Relating to upload of images to Rosetta Code
Discussion
I enabled image uploads yesterday, for all logged in users. Please try to limit uploads to original and/or programmatically-generated material. If you feel it necessary to upload an image retrieved from elsewhere, please ensure that uploading it here does not violate the original copyright. I'm not going to depend on Fair Use to get around more restrictive licenses, because I don't have the legal resources to defend against an infringement claim. --Short Circuit 23:50, 3 February 2009 (UTC)
- I'm a little late with this, I suppose, but I've been dinking around with Piet (Esolangs entry) over the past few days, and its programs are entirely images. (From the Piet page: "Piet is a programming language in which programs look like abstract paintings.") I like the language (as a toy), but it's possible (although somewhat unlikely) that the images could get... big. (Biggest one known so far: [Image:http://www.dangermouse.net/esoteric/piet/pietquest.png])
- So... What's the upper limit on images? Not "what will Mediawiki support", but "what do you consider too big?" -- Erik Siers 17:11, 17 May 2010 (UTC)
- I think for such images a codel size of 1 should be mandatory but apart from that it's not that large. There are certainly longer examples in other languages, even non-esoteric ones. If they get too large you can do the same as for other languages: Put it on a separate subpage. —Johannes Rössel 18:43, 17 May 2010 (UTC)
- My concern isn't the on-screen dimensions of the image, but rather the file size limits that Short Circuit wants to stick to. The image upload page says "Maximum file size: 10 MB", but if I upload a 10MB file for each example on the site, disk space and bandwidth would likely be adversely affected. -- Erik Siers 18:54, 17 May 2010 (UTC)
- Let me keep an eye on disk and bandwidth usage. If it becomes a problem, I'll kick, curse, swear, and then finally put up a donate link. :) --Michael Mol 19:32, 17 May 2010 (UTC)
- Piet being a graphical programming language, I would expect that it requires lossless image file formats. I recommend trying both GIF and PNG+pngcrush, and uploading whichever file winds up being smaller. --Michael Mol 19:35, 17 May 2010 (UTC)
- I haven't done anything yet, but yes, PNG + pngout (via Irfanview) is what I have in mind. -- Erik Siers 19:42, 17 May 2010 (UTC)
- While we're at it. Ideas for a naming convention? For the first task I did in Piet (so far the only one – File:Piet A+B.png) I used Piet «task name». If that needs work, it can surely be renamed. Better ideas maybe? —Johannes Rössel 20:21, 17 May 2010 (UTC)
Broken with Safari
Does anyone have any idea why upload of images doesn't work with Safari? I create an image (e.g., a GIF or PNG) and try to upload it, but I get a red error message saying that only a few formats are supported, including GIF and PNG. That's bizarre! It works if I use Firefox. (Yes, I'm logged in in both cases.) To me, it smells like a bug… –Donal Fellows 13:35, 29 November 2011 (UTC)
- And reading Mike's talk page, it appears to be related to Javascript. Thank goodness for NoScript, which makes it all work at all… –Donal Fellows 13:49, 29 November 2011 (UTC)
- People have reported the same problem across multiple browsers. I've had it myself on Firefox and IE. I found a really weird workaround. We're hoping that a MediaWiki update can fix it. --Mwn3d 13:52, 29 November 2011 (UTC)
- I disabled AJAX uploads serverside, but you may still need to disable it in your user profile settings. --Michael Mol 15:12, 29 November 2011 (UTC)
- I can't find any options in my preferences related to image uploads. Which option are you talking about? --Mwn3d 15:28, 29 November 2011 (UTC)
- Hm. I can't find it, either. It may be hidden because I've disabled the feature serverside, or it may not be there at all. Grr. I *really* need to step on that MW update. --Michael Mol 17:10, 29 November 2011 (UTC)
- I can't find any options in my preferences related to image uploads. Which option are you talking about? --Mwn3d 15:28, 29 November 2011 (UTC)