Hello,
I’m having a problem getting a simple edit image info form to work. Actually, the form works just fine, but we’re not able to display the image next to the form. Here’s the template code
{exp:safecracker channel="photos" return="photos/" entry_id="{segment_3}"}
<input type="hidden" name="title" id="title" value="{username}">
{if photo_1 != ""}
<label for="title_1">Title</label>
<input name="title_1" id="title_1" value="{photo_1}" type="text">br >
{photo_1}
(doesn't work here)
<label for="caption_1">Caption</label>
<textarea name="caption_1" id="caption_1" rows="5' type="text">{caption_1}</textarea><br >
{/if}
<input type="submit" value="Submit">
{/exp:safecracker}That image tag ends up looking something like this…
https://ellislab.com/asset/images/pronet-logo/image_name.jpgSo, the filedir isn’t getting converted before the html ends up in the browser. All other custom fields are just fine. {photo_1} is a Safecracker file field type.
Any suggestions?
(EE 2.3.1)