views:

10

answers:

1

Is there a way in ExpressionEngine to disable the img tag formatting when loading an entry's text-input field with a filepath from the File Manager? Would be great to just have the filepath listed there after selecting an image (i.e. just the string that should appear inside of the src attribute) without any of the extra html.

Have tried setting Field Formatting to "none" and setting Upload File Preferences to feature no image attributes, but we're still getting the img tag with an empty alt="" attribute and the image's native dimensions tacked on. Any suggestions would be much appreciated.

A: 

When you upload, choose "Insert Urls" rather than "Insert Image"

Insert Image Produces:
<img src="{filedir_1}image.jpg" width="50" height="50" />


Insert URL Produces:
{filedir_1}image.jpg

should be what you're after

Ross