<a href="TW_Media/image.png" target="_blank"> <img src="TW_Media/image.png" width=400 ></a>[img[TW_Media/image.png][imagetiddler]]Thanks Tobias.
I don't know enough about macros to create or build one but sounds useful. For now I guess I can copy paste...
--Best wishes,Tobias.
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/26qvQ1cSysk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e305b2b7-1abf-47c6-8db4-65f8a647d09d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
\define image(source)
<a href="TW_Media/$source$" title="tooltip" target="_blank">
<img src="TW_Media/$source$" width="" height="400"/></a>
\end<<image "image.png">>It is very simple:
Create a tiddler, e.g. $:/_image-thumbnail-macro, tagged with $:/tags/Macro, which contains:
\define image(source)
@@.TW-image
<a href="TW_Media/$source$" title="tooltip" target="_blank">
<img src="TW_Media/$source$" width="" height="250"/></a>
@@
\end.TW-image{
float: right;
margin-left: 10px;
width: 250px;
}@@float: right;
<a href="TW_Media/image.png" target="_blank">
<img src="TW_Media/image.png" width=400 ></a><br>^^this is the caption^^
@@\define image(source)(caption)\define image(source caption)
@@.TW-image
<a href="TW_Media/$source$" title="tooltip" target="_blank">
<img src="TW_Media/$source$" width="" height="250"/></a><br>^^$caption$^^
@@
\end\define image (source,caption,style)
...
<img ...class=$style$ ...>
\end--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/26qvQ1cSysk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fefb5620-f48a-4610-85a8-823ea8ba97f4%40googlegroups.com.
Oh yes, additional options to describe different macros could be awesome... for example if I want an image to float left instead of right, or change its width... man I love the options with TW.