At line 390 changed 2 lines |
{{{A few comments on images. |
1. The test case I foudn (I think here) gave: |
A few comments on images. |
At line 392 added 2 lines |
1. The test case I found (I think here) gave: |
|
At line 394 changed one line |
[{ImagePro src='Red-Flower.jpg' caption='here is a red flower' }] |
{{{[{ImagePro src='Red-Flower.jpg' caption='here is a red flower' }]}}} |
At line 396 changed one line |
Couldn't work out what that was supposed to do but {{Red-Flower.jpg}} seemed sensible/ |
Couldn't work out what that was supposed to do but {{{ {{Red-Flower.jpg}} }}}seemed sensible/ |
At line 404 added one line |
{{{ |
At line 405 changed one line |
|
}}} |
At line 408 changed one line |
What is {{myimage name}} when it is at home? For my example is it "Red-Flower" or "Red-Flower.jpg" or some kind of internal tag??}}} |
What is {{myimage name}} when it is at home? For my example is it "Red-Flower" or "Red-Flower.jpg" or some kind of internal tag?? |
At line 413 added 38 lines |
|
Reply to Isonomia: |
|
1. This isn't defined in Creole 1.0. |
|
2. Seems to me like an implementation issue. |
|
3. //myimage name// is the link to the image, usually with the same syntax as what's accepted as double-bracketed links. Whether it must be a valid relative or absolute URL or something else depends on the application and isn't defined in Creole. The string "myimage name" shouldn't be understood as an illustration of the required syntax. |
|
-- [[YvesPiguet]], 2008-Apr-28 |
|
YvesPiguet ... all standards stand or fall on their implementation. |
|
I've got the test document that I have seeming to work in its entirety (?). The 'implementation' that seems sensible is as follows:- |
|
E.g {{{ {{Red-Flower.jpg|here is a red flower}} }}} |
|
# When the text is given the title and alt tags are both alt = "here is a red flower" title = "here is a red flower". |
# When the text is not given {{{ {{Red-Flower.jpg}} }}}the alt tag is: alt = "Red-Flower.jpg" , but the title is: title = "" |
|
The result is that on both Firefox and IE6 the hover over function will return the same text (whereas if the title tag is not set the implementation will mean that IE and firefox differ (although I supsect it is a failing of IE rather than firefox). |
|
However, if text is not given, then it would be better not to display the file name, when you hover over it. |
|
-- [[Isonomia]], 2008-Apr-28 |
|
YvesPiguet, on the {{{ {{some link}} }}} thing. Because I didn't understand it, Ive assumed "some link" is just a url and is the same as the two preceeding image links on the page. Logic, however tells me that the two are not the same as it would be extraordinary on a page of around four lines to use two different naming conventions for the same thing. |
|
I hope these comments help. |
|
-- [[Isonomia]], 2008-Apr-28 |
|
I agree; I've put "myimage.jpg" everywhere to be clearer. |
|
Concerning the use of image text, I'm not an expert in cross-platform compatibility. But I believe it isn't the purpose of Creole to specify what the exact translation to HTML should be. By default, [[Nyctergatis|NME]] image text is put in the alt attribute. |
|
-- [[YvesPiguet]], 2008-Apr-28 |
|