Re: [Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-29 Thread Georgiy Tugai
On 25/01/13 08:12, Matthew Flaschen wrote: On 01/24/2013 04:28 AM, Georgiy Tugai wrote: Also, a lightbox feature may help - expand the image to the full size (as sent by the server) on click, then link to the file page upon a second click (hide the lightbox upon a click outside of the image

Re: [Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-24 Thread Georgiy Tugai
On 24/01/13 13:54, Matthew Flaschen wrote: On 01/23/2013 10:07 PM, Georgiy Tugai wrote: As the linked thread mentioned, MediaWiki is used on many deployments outside of Wikimedia. For example, I'm running three instances on a server with 10 GB of disk space. Therefore, this should be an

Re: [Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-24 Thread Matthew Flaschen
On 01/24/2013 04:28 AM, Georgiy Tugai wrote: Also, a lightbox feature may help - expand the image to the full size (as sent by the server) on click, then link to the file page upon a second click (hide the lightbox upon a click outside of the image borders). I am unsure how difficult this

[Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-23 Thread Georgiy Tugai
Whenever a file is linked to with a size specification, e.g. [[File:test.png|thumb|123px]], a new thumbnail is generated in that particular size, and saved to the disk. This is generally a good thing, because it minimises the amount of data the clients need to download without losing quality at

Re: [Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-23 Thread Petr Kadlec
On 23 January 2013 13:24, Georgiy Tugai georgiy.tu...@gmail.com wrote: However, this is also an avenue for denial of service - someone could create many links to different images with non-standard sizes, intentionally or unintentionally, and therefore overload computational (temporarily) and

Re: [Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-23 Thread Jon Robson
I felt the last conversation stalled due to a lack of data and lots of speculation. It would be great if someone in the analytics team could give an idea of the most commonly requested thumbnails and we could use this as the basis for a new conversation. I'd suggest that once we have such a list

Re: [Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-23 Thread Aaron Schulz
I'd strongly suggest considering this kind of approach. -- View this message in context: http://wikimedia.7.n6.nabble.com/Limiting-storage-generation-of-thumbnails-without-loss-of-functionality-tp4994447p4994493.html Sent from the Wikipedia Developers mailing list archive at Nabble.com.

Re: [Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-23 Thread Faidon Liambotis
On Wed, Jan 23, 2013 at 01:53:39PM -0800, Aaron Schulz wrote: I'd strongly suggest considering this kind of approach. Ditto. Among other benefits already mentioned, having a predetermined set of sizes would help greatly in the architecture and capacity planning of media storage, as well as in

Re: [Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-23 Thread Georgiy Tugai
As the linked thread mentioned, MediaWiki is used on many deployments outside of Wikimedia. For example, I'm running three instances on a server with 10 GB of disk space. Therefore, this should be an option in LocalSettings.php rather than a global change; that way, the installations which are

Re: [Wikitech-l] Limiting storage/generation of thumbnails without loss of functionality

2013-01-23 Thread Matthew Flaschen
On 01/23/2013 10:07 PM, Georgiy Tugai wrote: As the linked thread mentioned, MediaWiki is used on many deployments outside of Wikimedia. For example, I'm running three instances on a server with 10 GB of disk space. Therefore, this should be an option in LocalSettings.php rather than a