Hallo,
i have upgraded my webserver to Mediawiki 1.11.0 , almost perfect but i can't see my tiff documents. jpeg or png is no problem so LocalSettings.php is good configured for using ImageMagick to created thumbnails pictures
after checking FAQ and debug with $wgDebugLogFile i found this error for all the tiff images
MediaHandler::getHandler: no handler found for image/tiff.
i traced this back to wgMediaHandlers where no tiff images are present
http://www.mediawiki.org/wiki/Manual:%24wgMediaHandlers say's
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
this wil results in the script wiki/includes/media/Generic.php for the clas MediaHandler to say "no handler found for $type."
how to configure the wiki for using tiff files again? the previous version was mediawiki 1.8.2 that has no problems with tiff images. wgMediaHandlers is introduced in version 1.10.0
thanks
Kris
You might try adding something like this to your local settings:
$wgMimeDetectorCommand = "/usr/bin/file -bi";
I had trouble similar to this after an upgrade.
--Hiram
Kris Coryn (Mailinglists) wrote:
Hallo,
i have upgraded my webserver to Mediawiki 1.11.0 , almost perfect but i can't see my tiff documents. jpeg or png is no problem so LocalSettings.php is good configured for using ImageMagick to created thumbnails pictures
after checking FAQ and debug with $wgDebugLogFile i found this error for all the tiff images
MediaHandler::getHandler: no handler found for image/tiff.
i traced this back to wgMediaHandlers where no tiff images are present
http://www.mediawiki.org/wiki/Manual:%24wgMediaHandlers say's
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
this wil results in the script wiki/includes/media/Generic.php for the clas MediaHandler to say "no handler found for $type."
how to configure the wiki for using tiff files again? the previous version was mediawiki 1.8.2 that has no problems with tiff images. wgMediaHandlers is introduced in version 1.10.0
thanks
Kris
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Op Mon, 10 Dec 2007 23:05:26 -0800 Hiram Clawson hiram@soe.ucsc.edu Schreef:
You might try adding something like this to your local settings:
$wgMimeDetectorCommand = "/usr/bin/file -bi";
I had trouble similar to this after an upgrade.
that's one of the thinks a have tested also installed php-pecl-Fileinfo http://www.mediawiki.org/wiki/Manual:FAQ#.22File_is_corrupt_or_has_an_invali...
but for me there is no mime type problem because in the $wgDebugLogFile :
MediaHandler::getHandler: no handler found for image/tiff.
he knows it is a image/tiff but doesn't know how to handler this format
for example a png file that have already thumbnails of the good size output this in the $wgDebugLogFile :
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png
if i remove the 120px image then the ImageMagick convertor do his job like this
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png BitmapHandler::doTransform: running ImageMagick: '/usr/bin/convert' -quality 95 -background white -size 120 '/var_data/www/localhost/htdocs/taijiquan.homelinux .net/wiki/images/5/56/Yin_yang.svg.png' -coalesce -thumbnail '120x120!' -depth 8 '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/ 56/Yin_yang.svg.png/120px-Yin_yang.svg.png' 2>&1 wfShellExec: '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/bin/ulimit4.sh' 30 102400 102400 ''''/usr/bin/convert''' -quality 95 -background wh ite -size 120 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/5/56/Yin_yang.svg.png''' -coalesce -thumbnail '''120x120!''' -depth 8 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png''' 2>&1'
but no actions are taken to convert a image/tiff just one line :
MediaHandler::getHandler: no handler found for image/tiff.
this is defined in the DefaultSettings.php
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
but i don't know and find no doc's or faq what the Handler is for a image/tiff ? so i can add this to the Localsettings.php this is changed in version 1.10.0 maybe better in the upcoming next version 1.12.0 ?
Kris
--Hiram
Kris Coryn (Mailinglists) wrote:
Hallo,
i have upgraded my webserver to Mediawiki 1.11.0 , almost perfect but i can't see my tiff documents. jpeg or png is no problem so LocalSettings.php is good configured for using ImageMagick to created thumbnails pictures
after checking FAQ and debug with $wgDebugLogFile i found this error for all the tiff images
MediaHandler::getHandler: no handler found for image/tiff.
i traced this back to wgMediaHandlers where no tiff images are present
http://www.mediawiki.org/wiki/Manual:%24wgMediaHandlers say's
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
this wil results in the script wiki/includes/media/Generic.php for the clas MediaHandler to say "no handler found for $type."
how to configure the wiki for using tiff files again? the previous version was mediawiki 1.8.2 that has no problems with tiff images. wgMediaHandlers is introduced in version 1.10.0
thanks
Kris
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hallo,
't is possible that several person's who have access to a mediawiki 1.11.0 server do the simple test with a tiff file uploaded
check the $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg','tif' ); for allow tif files to upload
download this little tif file http://users.pandora.be/kris.coryn/YinYang_symbool_bw.tif
and do the upload test , if you see the little thumbnail on a page than 't is ok for the mediawiki 1.11.0 software do the convertion from a tif image if you have a blank box (like me) than is it possible that 1.11.0 with the standard configuration doesn't convert a tiff image good anymore.
I know tif is not a standard web image file , but i have all my scanned BW photo's in tiff format on my wiki ;-((
thanks for your time to test it.
kris
Op Tue, 11 Dec 2007 22:07:23 +0100 Kris Coryn (Mailinglists) k.coryn.ml@telenet.be Schreef:
Op Mon, 10 Dec 2007 23:05:26 -0800 Hiram Clawson hiram@soe.ucsc.edu Schreef:
You might try adding something like this to your local settings:
$wgMimeDetectorCommand = "/usr/bin/file -bi";
I had trouble similar to this after an upgrade.
that's one of the thinks a have tested also installed php-pecl-Fileinfo http://www.mediawiki.org/wiki/Manual:FAQ#.22File_is_corrupt_or_has_an_invali...
but for me there is no mime type problem because in the $wgDebugLogFile :
MediaHandler::getHandler: no handler found for image/tiff.
he knows it is a image/tiff but doesn't know how to handler this format
for example a png file that have already thumbnails of the good size output this in the $wgDebugLogFile :
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png
if i remove the 120px image then the ImageMagick convertor do his job like this
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png BitmapHandler::doTransform: running ImageMagick: '/usr/bin/convert' -quality 95 -background white -size 120 '/var_data/www/localhost/htdocs/taijiquan.homelinux .net/wiki/images/5/56/Yin_yang.svg.png' -coalesce -thumbnail '120x120!' -depth 8 '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/ 56/Yin_yang.svg.png/120px-Yin_yang.svg.png' 2>&1 wfShellExec: '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/bin/ulimit4.sh' 30 102400 102400 ''''/usr/bin/convert''' -quality 95 -background wh ite -size 120 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/5/56/Yin_yang.svg.png''' -coalesce -thumbnail '''120x120!''' -depth 8 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png''' 2>&1'
but no actions are taken to convert a image/tiff just one line :
MediaHandler::getHandler: no handler found for image/tiff.
this is defined in the DefaultSettings.php
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
but i don't know and find no doc's or faq what the Handler is for a image/tiff ? so i can add this to the Localsettings.php this is changed in version 1.10.0 maybe better in the upcoming next version 1.12.0 ?
Kris
--Hiram
Kris Coryn (Mailinglists) wrote:
Hallo,
i have upgraded my webserver to Mediawiki 1.11.0 , almost perfect but i can't see my tiff documents. jpeg or png is no problem so LocalSettings.php is good configured for using ImageMagick to created thumbnails pictures
after checking FAQ and debug with $wgDebugLogFile i found this error for all the tiff images
MediaHandler::getHandler: no handler found for image/tiff.
i traced this back to wgMediaHandlers where no tiff images are present
http://www.mediawiki.org/wiki/Manual:%24wgMediaHandlers say's
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
this wil results in the script wiki/includes/media/Generic.php for the clas MediaHandler to say "no handler found for $type."
how to configure the wiki for using tiff files again? the previous version was mediawiki 1.8.2 that has no problems with tiff images. wgMediaHandlers is introduced in version 1.10.0
thanks
Kris
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Kris -
No joy with that. Running MediaWiki: 1.11.0 PHP: 5.2.4 (apache2handler) and MySQL: 5.0.45; ImageMagick 6.3.6 10/20/07 Q16 :
No thumbnail, no image, but file uploads oK since the clickable link displays the image in my browser without problem.
Tried the following: Converted to uncompressed tiff - No Converted to gif - Yes Converted to png - Yes Converted to jpeg - yes
On my installation, the two tif files were not supported, the same file as gif, png or jpeg was.
HTH, Boris
On 12-Dec-07, at 5:12 PM, Kris Coryn (Mailinglists) wrote:
Hallo,
't is possible that several person's who have access to a mediawiki 1.11.0 server do the simple test with a tiff file uploaded
check the $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg','tif' ); for allow tif files to upload
download this little tif file http://users.pandora.be/kris.coryn/ YinYang_symbool_bw.tif
and do the upload test , if you see the little thumbnail on a page than 't is ok for the mediawiki 1.11.0 software do the convertion from a tif image if you have a blank box (like me) than is it possible that 1.11.0 with the standard configuration doesn't convert a tiff image good anymore.
I know tif is not a standard web image file , but i have all my scanned BW photo's in tiff format on my wiki ;-((
thanks for your time to test it.
kris
Op Tue, 11 Dec 2007 22:07:23 +0100 Kris Coryn (Mailinglists) k.coryn.ml@telenet.be Schreef:
Op Mon, 10 Dec 2007 23:05:26 -0800 Hiram Clawson hiram@soe.ucsc.edu Schreef:
You might try adding something like this to your local settings:
$wgMimeDetectorCommand = "/usr/bin/file -bi";
I had trouble similar to this after an upgrade.
that's one of the thinks a have tested also installed php-pecl-Fileinfo http://www.mediawiki.org/wiki/Manual:FAQ#. 22File_is_corrupt_or_has_an_invalid_extension.22
but for me there is no mime type problem because in the $wgDebugLogFile :
MediaHandler::getHandler: no handler found for image/tiff.
he knows it is a image/tiff but doesn't know how to handler this format
for example a png file that have already thumbnails of the good size output this in the $wgDebugLogFile :
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png
if i remove the 120px image then the ImageMagick convertor do his job like this
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png BitmapHandler::doTransform: running ImageMagick: '/usr/bin/convert' -quality 95 -background white -size 120 '/var_data/www/localhost/htdocs/taijiquan.homelinux .net/wiki/ images/5/56/Yin_yang.svg.png' -coalesce -thumbnail '120x120!' -depth 8 '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/ 56/Yin_yang.svg.png/120px-Yin_yang.svg.png' 2>&1 wfShellExec: '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/bin/ ulimit4.sh' 30 102400 102400 ''''/usr/bin/convert''' -quality 95 -background wh ite -size 120 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/5/56/Yin_yang.svg.png''' -coalesce -thumbnail '''120x120!''' -depth 8 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png''' 2>&1'
but no actions are taken to convert a image/tiff just one line :
MediaHandler::getHandler: no handler found for image/tiff.
this is defined in the DefaultSettings.php
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
but i don't know and find no doc's or faq what the Handler is for a image/tiff ? so i can add this to the Localsettings.php this is changed in version 1.10.0 maybe better in the upcoming next version 1.12.0 ?
Kris
--Hiram
Kris Coryn (Mailinglists) wrote:
Hallo,
i have upgraded my webserver to Mediawiki 1.11.0 , almost perfect but i can't see my tiff documents. jpeg or png is no problem so LocalSettings.php is good configured for using ImageMagick to created thumbnails pictures
after checking FAQ and debug with $wgDebugLogFile i found this error for all the tiff images
MediaHandler::getHandler: no handler found for image/tiff.
i traced this back to wgMediaHandlers where no tiff images are present
http://www.mediawiki.org/wiki/Manual:%24wgMediaHandlers say's
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
this wil results in the script wiki/includes/media/Generic.php for the clas MediaHandler to say "no handler found for $type."
how to configure the wiki for using tiff files again? the previous version was mediawiki 1.8.2 that has no problems with tiff images. wgMediaHandlers is introduced in version 1.10.0
thanks
Kris
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks boris for doing the test.
this is what i excepted from trying to debug and reading the sources, i have almost the same versions like boris, it is not a misconfiguration but the support for tif is changed from version 1.10.0 i checked the svn code for the 1.12.0 and that part isn't changed for the image/tiff code support.
someone of the developers team ? that can help me, why probably there is no more support for tiff images for the moment?
Kris
Op Wed, 12 Dec 2007 21:01:59 -0500 Boris Steipe boris.steipe@utoronto.ca Schreef:
Kris -
No joy with that. Running MediaWiki: 1.11.0 PHP: 5.2.4 (apache2handler) and MySQL: 5.0.45; ImageMagick 6.3.6 10/20/07 Q16 :
No thumbnail, no image, but file uploads oK since the clickable link displays the image in my browser without problem.
Tried the following: Converted to uncompressed tiff - No Converted to gif - Yes Converted to png - Yes Converted to jpeg - yes
On my installation, the two tif files were not supported, the same file as gif, png or jpeg was.
HTH, Boris
On 12-Dec-07, at 5:12 PM, Kris Coryn (Mailinglists) wrote:
Hallo,
't is possible that several person's who have access to a mediawiki 1.11.0 server do the simple test with a tiff file uploaded
check the $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg','tif' ); for allow tif files to upload
download this little tif file http://users.pandora.be/kris.coryn/ YinYang_symbool_bw.tif
and do the upload test , if you see the little thumbnail on a page than 't is ok for the mediawiki 1.11.0 software do the convertion from a tif image if you have a blank box (like me) than is it possible that 1.11.0 with the standard configuration doesn't convert a tiff image good anymore.
I know tif is not a standard web image file , but i have all my scanned BW photo's in tiff format on my wiki ;-((
thanks for your time to test it.
kris
Op Tue, 11 Dec 2007 22:07:23 +0100 Kris Coryn (Mailinglists) k.coryn.ml@telenet.be Schreef:
Op Mon, 10 Dec 2007 23:05:26 -0800 Hiram Clawson hiram@soe.ucsc.edu Schreef:
You might try adding something like this to your local settings:
$wgMimeDetectorCommand = "/usr/bin/file -bi";
I had trouble similar to this after an upgrade.
that's one of the thinks a have tested also installed php-pecl-Fileinfo http://www.mediawiki.org/wiki/Manual:FAQ#. 22File_is_corrupt_or_has_an_invalid_extension.22
but for me there is no mime type problem because in the $wgDebugLogFile :
MediaHandler::getHandler: no handler found for image/tiff.
he knows it is a image/tiff but doesn't know how to handler this format
for example a png file that have already thumbnails of the good size output this in the $wgDebugLogFile :
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png
if i remove the 120px image then the ImageMagick convertor do his job like this
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png BitmapHandler::doTransform: running ImageMagick: '/usr/bin/convert' -quality 95 -background white -size 120 '/var_data/www/localhost/htdocs/taijiquan.homelinux .net/wiki/ images/5/56/Yin_yang.svg.png' -coalesce -thumbnail '120x120!' -depth 8 '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/ 56/Yin_yang.svg.png/120px-Yin_yang.svg.png' 2>&1 wfShellExec: '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/bin/ ulimit4.sh' 30 102400 102400 ''''/usr/bin/convert''' -quality 95 -background wh ite -size 120 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/5/56/Yin_yang.svg.png''' -coalesce -thumbnail '''120x120!''' -depth 8 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png''' 2>&1'
but no actions are taken to convert a image/tiff just one line :
MediaHandler::getHandler: no handler found for image/tiff.
this is defined in the DefaultSettings.php
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
but i don't know and find no doc's or faq what the Handler is for a image/tiff ? so i can add this to the Localsettings.php this is changed in version 1.10.0 maybe better in the upcoming next version 1.12.0 ?
Kris
--Hiram
Kris Coryn (Mailinglists) wrote:
Hallo,
i have upgraded my webserver to Mediawiki 1.11.0 , almost perfect but i can't see my tiff documents. jpeg or png is no problem so LocalSettings.php is good configured for using ImageMagick to created thumbnails pictures
after checking FAQ and debug with $wgDebugLogFile i found this error for all the tiff images
MediaHandler::getHandler: no handler found for image/tiff.
i traced this back to wgMediaHandlers where no tiff images are present
http://www.mediawiki.org/wiki/Manual:%24wgMediaHandlers say's
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
this wil results in the script wiki/includes/media/Generic.php for the clas MediaHandler to say "no handler found for $type."
how to configure the wiki for using tiff files again? the previous version was mediawiki 1.8.2 that has no problems with tiff images. wgMediaHandlers is introduced in version 1.10.0
thanks
Kris
Hallo wikitech-l group,
can someone here look what is going on with the tif supported code, it doesn't convert anymore in 1.11.0 "MediaHandler::getHandler: no handler found for image/tiff." to a png thumbnail to support the browser
or is this corrected in the 1.12.0 code sources then i go to update it already , i tried to find but i am not a php programmer sorry.
or what are i doing wrong ? what can i check ?
thanks kris
Op Thu, 13 Dec 2007 18:07:50 +0100 Kris Coryn (Mailinglists) k.coryn.ml@telenet.be Schreef:
Thanks boris for doing the test.
this is what i excepted from trying to debug and reading the sources, i have almost the same versions like boris, it is not a misconfiguration but the support for tif is changed from version 1.10.0 i checked the svn code for the 1.12.0 and that part isn't changed for the image/tiff code support.
someone of the developers team ? that can help me, why probably there is no more support for tiff images for the moment?
Kris
Op Wed, 12 Dec 2007 21:01:59 -0500 Boris Steipe boris.steipe@utoronto.ca Schreef:
Kris -
No joy with that. Running MediaWiki: 1.11.0 PHP: 5.2.4 (apache2handler) and MySQL: 5.0.45; ImageMagick 6.3.6 10/20/07 Q16 :
No thumbnail, no image, but file uploads oK since the clickable link displays the image in my browser without problem.
Tried the following: Converted to uncompressed tiff - No Converted to gif - Yes Converted to png - Yes Converted to jpeg - yes
On my installation, the two tif files were not supported, the same file as gif, png or jpeg was.
HTH, Boris
On 12-Dec-07, at 5:12 PM, Kris Coryn (Mailinglists) wrote:
Hallo,
't is possible that several person's who have access to a mediawiki 1.11.0 server do the simple test with a tiff file uploaded
check the $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg','tif' ); for allow tif files to upload
download this little tif file http://users.pandora.be/kris.coryn/ YinYang_symbool_bw.tif
and do the upload test , if you see the little thumbnail on a page than 't is ok for the mediawiki 1.11.0 software do the convertion from a tif image if you have a blank box (like me) than is it possible that 1.11.0 with the standard configuration doesn't convert a tiff image good anymore.
I know tif is not a standard web image file , but i have all my scanned BW photo's in tiff format on my wiki ;-((
thanks for your time to test it.
kris
Op Tue, 11 Dec 2007 22:07:23 +0100 Kris Coryn (Mailinglists) k.coryn.ml@telenet.be Schreef:
Op Mon, 10 Dec 2007 23:05:26 -0800 Hiram Clawson hiram@soe.ucsc.edu Schreef:
You might try adding something like this to your local settings:
$wgMimeDetectorCommand = "/usr/bin/file -bi";
I had trouble similar to this after an upgrade.
that's one of the thinks a have tested also installed php-pecl-Fileinfo http://www.mediawiki.org/wiki/Manual:FAQ#. 22File_is_corrupt_or_has_an_invalid_extension.22
but for me there is no mime type problem because in the $wgDebugLogFile :
MediaHandler::getHandler: no handler found for image/tiff.
he knows it is a image/tiff but doesn't know how to handler this format
for example a png file that have already thumbnails of the good size output this in the $wgDebugLogFile :
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png
if i remove the 120px image then the ImageMagick convertor do his job like this
File::transform: Doing stat for /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png BitmapHandler::doTransform: creating 120x120 thumbnail at /var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px- Yin_yang.svg.png BitmapHandler::doTransform: running ImageMagick: '/usr/bin/convert' -quality 95 -background white -size 120 '/var_data/www/localhost/htdocs/taijiquan.homelinux .net/wiki/ images/5/56/Yin_yang.svg.png' -coalesce -thumbnail '120x120!' -depth 8 '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/ 56/Yin_yang.svg.png/120px-Yin_yang.svg.png' 2>&1 wfShellExec: '/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/bin/ ulimit4.sh' 30 102400 102400 ''''/usr/bin/convert''' -quality 95 -background wh ite -size 120 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/5/56/Yin_yang.svg.png''' -coalesce -thumbnail '''120x120!''' -depth 8 '''/var_data/www/localhost/htdocs/taijiquan.homelinux.net/wiki/ images/thumb/5/56/Yin_yang.svg.png/120px-Yin_yang.svg.png''' 2>&1'
but no actions are taken to convert a image/tiff just one line :
MediaHandler::getHandler: no handler found for image/tiff.
this is defined in the DefaultSettings.php
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
but i don't know and find no doc's or faq what the Handler is for a image/tiff ? so i can add this to the Localsettings.php this is changed in version 1.10.0 maybe better in the upcoming next version 1.12.0 ?
Kris
--Hiram
Kris Coryn (Mailinglists) wrote:
Hallo,
i have upgraded my webserver to Mediawiki 1.11.0 , almost perfect but i can't see my tiff documents. jpeg or png is no problem so LocalSettings.php is good configured for using ImageMagick to created thumbnails pictures
after checking FAQ and debug with $wgDebugLogFile i found this error for all the tiff images
MediaHandler::getHandler: no handler found for image/tiff.
i traced this back to wgMediaHandlers where no tiff images are present
http://www.mediawiki.org/wiki/Manual:%24wgMediaHandlers say's
$wgMediaHandlers = array( 'image/jpeg' => 'BitmapHandler', 'image/png' => 'BitmapHandler', 'image/gif' => 'BitmapHandler', 'image/x-ms-bmp' => 'BmpHandler', 'image/svg+xml' => 'SvgHandler', // official 'image/svg' => 'SvgHandler', // compat 'image/vnd.djvu' => 'DjVuHandler', // official 'image/x.djvu' => 'DjVuHandler', // compat 'image/x-djvu' => 'DjVuHandler', // compat );
this wil results in the script wiki/includes/media/Generic.php for the clas MediaHandler to say "no handler found for $type."
how to configure the wiki for using tiff files again? the previous version was mediawiki 1.8.2 that has no problems with tiff images. wgMediaHandlers is introduced in version 1.10.0
thanks
Kris
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org