Hi
I've tried to find Alan Hecht's ImageLinkMacro from this address:
http://www.personal.psu.edu/ach12/tiddlywiki/extensions.htm (provided
by http://sidebarpluginvault.tiddlyspot.com/)
But the link is broken.Does anyone have the macro?
Or have an alternative method for making an image into a clickable
link?
I'd like my pictures to become clickable links to the tiddlers from
where I fetched them into my table via fET.
Maybe this could be automated in some way?..
Here's an example of the code I use for fET when retrieving a picture
and a title when hovering the mouse over the picture, which is shown
in my table:
[img(55%,auto)["+store.getValue(tiddler,"title")+"|"+store.getValue
(tiddler,"image")+"]]
I just need the picture to "link back" to the tiddler from where it
was fetched, when clicked on...
Here's my full fET for a table I use as a formtemplate inside a custom
ViewTemplate (It contains both the imagefield of the tiddler holding
the table and pictures fetched from other tiddlers):
<<forEachTiddler where 'tiddler.tags.contains("X") && tiddler.data("Y")
&& tiddler.data("Z") && tiddler.data("Z").contains
(context.viewerTiddler.title)'
sortBy 'tiddler.data("Z")'
write
'(index < 200)? "|"+(index+1)+"|[["+tiddler.title+"]] | <<tag
"+tiddler.data("Y")+" \>\> | [["+tiddler.data("xx") +"]] | <<toggleTag
XX [["+tiddler.title+"]] nolabel \>\> | <<toggleTag YY
[["+tiddler.title+"]] nolabel \>\> |[img(55%,auto)["+store.getValue
(tiddler,"title")+"|"+store.getValue(tiddler,"image")+"]] |\n" : ""'
begin '"|sortable|k\n"
+"|>|>|>|!<<wikify %0 n...@here \>\> | <<tiddler xxUpdate\>\> |
<<tiddler yyUpdate\>\> | |h\n"
+"|!#| <<wikify [img(55%,auto)[%1|%0]] im...@here n...@here \>\> |
<<tag XX \>\>|<<tag yy \>\>|![[XX]]|![[yy]]||h\n"'
end 'count+" X\n"' none '"no X\n"'>>
YS Måns Mårtensson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---