Page MenuHomePhabricator

image resizing (thumbs do not appear) !!!
Closed, InvalidPublic

Description

Author: abutmah

Description:
hi ...
when I resize images like [[image:learn.jpg|300px]] it doesn't show any image
(thumbs) and doesn't give me any error ...just an empty rectangle of the thumb
size (300px) with X sign at the top left of that empty rectangle !!! .... I
tried something I found in one of the forums, to commented these lines (in
\wiki\includes\Image.php):

#$cmd = $wgCustomConvertCommand;
#$cmd = str_replace( '%s', $src, str_replace( '%d', $dst, $cmd ) ); # Filenames
#$cmd = str_replace( '%h', $height, str_replace( '%w', $width, $cmd ) ); # Size

And instead add this :
$cmd = $wgImageMagickConvertCommand .
" -quality 85 -background white -geometry {$width} ".
($this->imagePath) . " " .
($thumbPath);

It works with them but didn't work with me!!!

  • I'm sure that the converter works because when I opened the image/thumb

directory I found thumbs with the sizes I've tried on.

  • I gave permission for both the IUSR_* and IWAM_* on both the Image directory

and the whole directory that contains the the "convert" ....

waiting for your help
regards,


Version: 1.9.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz9494

Event Timeline

bzimport raised the priority of this task from to Unbreak Now!.Nov 21 2014, 9:39 PM
bzimport set Reference to bz9494.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Apr 4 2007, 6:53 AM

robchur wrote:

BugZilla is not a support ticket queue; please contact the mediawiki-l mailing list.

Gilles moved this task from Untriaged to Done on the Multimedia board.Dec 2 2014, 8:56 AM
Restricted Application added a project: Commons. · View Herald TranscriptJan 28 2016, 6:04 PM
Restricted Application added subscribers: Steinsplitter, Matanya. · View Herald Transcript