Page MenuHomePhabricator

Image parameter "upright" not working for unregistered users
Closed, ResolvedPublic

Description

Author: hoeimoo

Description:
file (photo) in artikle http://de.wikipedia.org/wiki/Anthony_Rowley is only displayed to logged in users.

If article is requested by a non registered user, no photo is shown.

This problem is, no matter if I use
[[Datei:Dr. Rowley.jpg|miniatur|hochkant|Dr. Anthony Rowley (2010)]]
or
[[File:Dr. Rowley.jpg|thumb|upright|Dr. Rowley]]

I have no idea, what's wrong, because this problem occures only in
http://de.wikipedia.org/wiki/Anthony_Rowley


Version: unspecified
Severity: normal
OS: Windows Vista
Platform: PC
URL: http://de.wikipedia.org/wiki/Anthony_Rowley

Details

Reference
bz26835

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:17 PM
bzimport set Reference to bz26835.
bzimport added a subscriber: Unknown Object (MLST).

Bryan.TongMinh wrote:

The 170px thumb is corrupt and I can't get it to regenerate.

The reason that logged in users do see the image is because the image is thumbnailed without size parameter. For logged-in users this will get the thumb size from the user preferences, which may be different from the anonymous size.

Bryan.TongMinh wrote:

Regenerated thumb via thumb.php.

hoeimoo wrote:

thanks a lot for the explanation and the very fast help,
now it works fine!

Bryan.TongMinh wrote:

It's a bit of a hack, but for the next time, you can usually force a rerender of files by going to http://de.wikipedia.org/w/thumb.php?f=<FILENAME>&w=<WIDTH> where you replace <FILENAME> with the filename, without the File: prefix, and <WIDTH> with the width in pixels. You can find the width by clicking with the right mouse on the non rendering file and choosing "Grafik anzeigen" (in Firefox). In the url you will find something like /170px-. In that case 170 is the width you need.

hoeimoo wrote:

Thanks for the workaround, but it seems I do not understand.

No matter, which thumb I try forcing rerender, all time I get only the Error:
Error generating thumbnail
The source file for the specified thumbnail does not exist.

For example I tried for <FILENAME> Dr._Rowley.jpg
and for <WIDTH> 170:

http://de.wikipedia.org/w/thumb.php?f=Dr._Rowley.jpg&w=170

Server only gives me a error message. Maybe you can tell me, what I am doing wrong?

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:29 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM