Page MenuHomePhabricator

Setting PDF or DjVu thumbnail size by height produces "Invalid thumbnail parameters" error
Closed, ResolvedPublic

Description

Here in the left column use to be thumbnails of three DjVu files where size is set to "x100px". Since recently "Invalid thumbnail parameters " error is shown instead. Apparently error can be avoided by setting width too or by adding "page=" parameter in image syntax, but this probably shouldn't be necessary.

Event Timeline

Pikne raised the priority of this task from to High.
Pikne updated the task description. (Show Details)
Pikne added a project: Multimedia.

Hmm, is this only about PDF and Djvu files, or does this also happen with image files (JPG, PNG)?

(and for my understanding:) https://en.wikipedia.org/wiki/Help:Visual_file_markup/size

Aklapper renamed this task from Setting PDF or DjVu thumbnail size by height produces an error to Setting PDF or DjVu thumbnail size by height produces "Invalid thumbnail parameters" error.May 21 2015, 11:47 AM
Aklapper edited projects, added MediaWiki-General; removed Multimedia.
Aklapper set Security to None.

Hmm, is this only about PDF and Djvu files, or does this also happen with image files (JPG, PNG)?

My example has JPG with the same syntax in the middle column, no problem with that.

I can't reproduce this for DjVu on betawiki though. So maybe it's already fixed in the latest version of software? Or does it relate to site configuration?

Aklapper lowered the priority of this task from High to Medium.Jul 16 2015, 1:47 PM
Aklapper added a project: MediaWiki-Parser.

I can't reproduce this for DjVu on betawiki though ... does it relate to site configuration?

Still the same, following syntax gives an error on prod wiki and on beta wiki it gives a thumbnail.
[[File:Pildid isamaa sündinud asjust.djvu|x100px]]
What was changed on prod wiki?

Restricted Application added a subscriber: Steinsplitter. · View Herald Transcript

Whatever caused this, given syntax seems to work again on prod wikis.