As You can see from the code - it's essential that the link is
relative - because it resides in a template that I use for all
teachers.
The pictures are embedded as links in a field called "image"...

YS Måns Mårtensson

On 14 Mar., 22:14, Måns <[email protected]> wrote:
> Hi
> I've made a table with fET - which I would like to incorporate
> pictures which have a fieldvalue in the tiddlers fetched...
> Heres the idea for a fETcode in the table:
> | <<wikify [img(55%,auto)[%0]] im...@here \>\> |
>
> - BUT im...@here fetches the imagefield of the tiddler containing the
> table and not from the tiddlers fetched into the table! - What am I to
> write instead of "here"??
>
> My full fET (Everything else works! - it's just the images that show
> the wrong picture!!)
>
> <<forEachTiddler where 'tiddler.tags.contains("Student") &&
> tiddler.data("Lives")&& tiddler.data("Teacher") && tiddler.data
> ("Teacher").contains(context.viewerTiddler.title)'
> sortBy 'tiddler.data("Teacher")'
> write
>  '(index < 10)? "|"+(index+1)+"|[["+tiddler.title+"]] |
> [["+tiddler.data("Lives")+"]] | [["+tiddler.data("Class") +"]] |
> <<wikify [img(55%,auto)[%0]] im...@here \>\> |<<toggleTag HERE
> [["+tiddler.title+"]] nolabel \>\> | <<toggleTag SickLeave
> [["+tiddler.title+"]] nolabel \>\> |\n" : ""'
>               begin '"|sortable|k\n"
> +"|>|>|>| !<<wikify %0 teachersn...@here \>\> | | <<tiddler HEREUpdate
> \>\> | <<tiddler SickLeaveUpdate\>\> |h\n"
> +"|!#| <<wikify [img(55%,auto)[%0]] im...@here \>\> | Lives | Class |
> image | ![[HERE]] | ![[SickLeave]] |h\n"'
> end 'count+" Students\n"' none '"No students for this teacher\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
-~----------~----~----~----~------~----~------~--~---

Reply via email to