On Oct 2, 2012, at 7:59 AM, David Gerard <[email protected]> wrote:

> you're asking for something that can
> reliably render arbitrary PSDs on the fly.

It doesn't have to be on the fly -- just needs to run once, on upload. This is 
how PdfHandler does it. When the PDF is uploaded, it calls ImageMagick to 
generate the preview image. PSDs could be handled the same way, since 
ImageMagick supports them too. If there's no such PSD handler for MediaWiki 
right now, that's kind of what I expected, but unfortunately I don't have time 
to write one myself.

As a Plan B, is there no way of dealing with the blank rectangle problem? 
Before installing PdfHandler, I noticed that MediaWiki was displaying an 
Acrobat logo as the preview image. I'm wondering if I can get MediaWiki to 
display a Photoshop logo or a generic "Unknown Image" graphic. Even some text 
saying "No preview image available" would be preferable to the empty rectangle.

Thanks!

Trevor


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to