Project:Support desk/Sections/Images

__NEWSECTIONLINK__

= Image Support =

Problem with forms and files

 * MediaWiki version: 1.15.0
 * PHP version: 5.2.5 (cgi-fcgi)
 * MySQL version: 5.0.67.d7-ourdelta-log
 * URL: http://www.videoville.org/wiki/

Hello,

My wiki is having problems with file uploads (also, all forms are broken). I'm guessing this is a database issue? The wiki essentially says 'Well, that was nice' when you try to upload, does nothing.

CHMOD is a-ok.

The change appeared after I updated the site to 1.15.0.

—69.242.253.125 13:25, 30 November 2009 (UTC)

Uploaded images have permission 600, but thumbnails have permission 644

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.11 (cgi-fcgi)
 * MySQL version: 5.0.77
 * URL: http://www.southyorkshireorienteers.org.uk/w/index.php?title=Main_Page

Images uploaded to my wiki are given file permission (CHMOD) 600, which means they are not visible, which is a problem. The associated thumbnail file that is created during the upload has permission 644, so it is visible. Which setting(s) in which file(s) do I need to change in order that uploaded image files have a permission that makes the file visible? Thanks.

—Martin Ward 10:55, 9 December 2009 (UTC)

Error on uploading PNGs

 * MediaWiki: 1.11.1
 * PHP: 5.2.6 (cgi)
 * MySQL: 5.0.81-community
 * URL: MedRevise.co.uk

Whenever anyone tries to upload a PNG, we get this error: "The file is corrupt or has an incorrect extension. Please check the file and upload again."

Any ideas?

—MedRevise 17:19, 9 December 2009 (UTC) Still waiting for a hand... MedRevise

GIF scaling

 * MediaWiki version: Current version on the Commons.
 * PHP version: Current version on the Commons.
 * MySQL version: Current version on the Commons.
 * URL: Commons.

Can some developers and system admins have a look here:
 * commons:Commons:Graphics village pump

—Timeshifter 16:12, 14 December 2009 (UTC)

Difference between Preview & Saved page (Resolved)

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.4
 * MySQL version: 5.0.24
 * URL: http://www.trashlx.com/CnrsEmsi

Hello, I've a problem with images & thumbnails.

When I look to the preview, when editing an article I can see the images.

But when I save the page, only the border appears but not the image itself.

I checked the permissions of images, they are fine : rw-r--r--

Any idea ? Thanks

Stanislas Garret — 81.56.185.93 15:33, 15 December 2009 (UTC)

Just the $wgUploadBaseUrl to be set to base path of the wiki (with the trailing /)

Stanislas Garret - 81.56.185.93 05:41, 16 December 2009 (UTC)

Embedding an external image when the URL does not end in png/gif/jpg

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.6-3ubuntu4.4 (apache2handler)
 * MySQL version: 5.0.75-0ubuntu10.2

I've switched on $wgAllowExternalImages so that I can embed graphical Bugzilla reports into my wiki. The Bugzilla report is accessible via a URL (a large one, that contains all the report parameters) like:

http://bugzilla/report.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bugidtype=include&chfieldfrom=&chfieldto=Now&chfieldvalue=&cumulate=0&email1=&email2=&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&longdesc=&longdesc_type=allwordssubstr&short_desc=&short_desc_type=allwordssubstr&type0-0-0=noop&value0-0-0=&x_axis_field=component&y_axis_field=product&z_axis_field=&format=bar&ctype=png&action=plot&width=300&height=150

However, to embed this in the wiki I'm having to add a dummy filename on the end (e.g. chart.png) so that the MediaWiki parser recognises the URL as an image, e.g.

http://bugzilla/report.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bugidtype=include&chfieldfrom=&chfieldto=Now&chfieldvalue=&cumulate=0&email1=&email2=&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&longdesc=&longdesc_type=allwordssubstr&short_desc=&short_desc_type=allwordssubstr&type0-0-0=noop&value0-0-0=&x_axis_field=component&y_axis_field=product&z_axis_field=&format=bar&ctype=png&action=plot&width=300&height=150&chart.png

The embed now works great, but is there an easier way to do this without the dummy filename on the end? Is there some wiki markup that I can enclose the URL in that will indicate that the URL is an image and therefore the dummy filename will not be required?

—213.48.14.66 11:39, 16 December 2009 (UTC)

Image pages don't display
I can upload pictures to my wiki, and they display properly when an article on my wiki links to them, but when I click on the image to go to the image's page, I get the following message:
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.11
 * MySQL version: 5.1.41
 * URL: it's a private wiki, so I don't think that would be helpful

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "wfGetImageTags". MySQL returned error "1146: Table 'DataBase.imagetags' doesn't exist (localhost)".

How I fix this problem? —Cheeselouise 07:45, 29 December 2009 (UTC)