(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 
This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

The recommendation should say whether the file extension is required or not. It would seem that it is not required.

The next revision of the recommendation should say how to specify an alt text.

The next revision should make clear whether it is possible to use an arbitrary URL for the image source as in [[some link|{{Image:http://example.org/flower}}]].

The choices of braces is a bit unfortunate, since it makes it a tiny bit harder than necessary to explain the use of braces. -- AlexSchroeder

This syntax obviously collides with the principle of I18N "Avoiding Text Tags". -- RadomirDopieralski, 2006-09-04

Well, if the name of the image is considered to be "Image:foobar.jpg", as is the case with Wikipedia, for example, then there is no collision. On a Finnish site it might be called "Kuva:foobar.jpg". This might or might not point to the same file.

My point is that the {{ } -syntax is enough. The whatever entity is referenced is then interpreted according to the rules of the wikiengine, and inserted into the page, if possible. We don't need a separate syntax for images; it's up to the wikiengine to determine how to insert the referenced object. And, since each wikiengine has its own way of referring to objects (e.g. by convention, Wikipedia places images in the Image: namespace; JSPWiki uses the file suffix to determine if an attachment is an image, and others use things like MIME types to determine the image-ness of an object) we should just treat the contents between the braces as an URI, which could be interpreted as relative within the wikiengine, or maybe as an absolute URL. It's up to the wikiengine vendor to guide the user to inserting the right text...

-- JanneJalkanen, 05-Sep-2006

Wow. The example was really misleading, because I didn't interpret it that way! Oddmuse will inline an image called foo using [[image:foo]] where the "image:" prefix is not part of the image name at all. I'll change the example. -- Alex

My proposal for a change to the Image syntax:

In a non-English wiki, the word for Image in the local language would also be accepted.

Creole:

 [[Image:myimage.png]] 

XHTML:

 <img src="myimage.png"> 

I also don't think images should be links or that you should be able to link to images, because I believe some wikis don't support this and we should not have anything in Creole that some wikis do not support imho. --ChuckSmith

Add new attachment

Only authorized users are allowed to upload new attachments.

« This particular version was published on 06-Sep-2006 11:28 by ChuckSmith.