Hi,
I'm trying to place a local (non-URL'ed) SVG image in a placeholder of a text input field but it doesn't get 'wikified'.
One workaround I've tried was to define a background image using CSS, however this doesn't seem to work with internal images.
Example code:
<$edit-text tiddler='$:/value' field='note' placeholder='[img width=12 [image.svg]] Bla bla bla'/>
I'd appreciate ideas how to solve this. Thank you!
Regards,
Hubert
<$wikify name="temp" text="[img width='12' [Motovun Jack.svg]] bla bla bla" output="html">
<$edit-text tiddler='$:/value' field='note' placeholder=<<temp>> />
</$wikify>
input {
background-image: url(bg.jpg);
background-repeat: no-repeat;
text-indent: 20px;
}
input type="text" name="txtName" class="input" />
.input
{
border: 0px solid #444444;
height:39px;
width:346px;
background:url(images/Contact_05.jpg) no-repeat right top;
color:#fff;
padding-left:4px;
font-size:20px;
}
Using your code, how would I reference an image that's embedded in the TiddlyWiki itself? What's the exact path then, if we're trying to use the url definition?
Also, are jpeg files treated differently in this code than svgs?
Thanks