Fetching pictures from field via fET - how to get the right ones?
10 views
Skip to first unread message
Måns
unread,
Mar 14, 2009, 5:14:54 PM3/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
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]] image@here \>\> |
- BUT image@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!!)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
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
Måns
unread,
Mar 15, 2009, 5:36:27 AM3/15/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Ok I found out myself:
|[img(25%,auto)["+store.getValue(tiddler,"image")+"]]|