We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5be66b commit 7748d8fCopy full SHA for 7748d8f
docs/fieldtypes/file.md
@@ -58,6 +58,16 @@ If you have defined any [image manipulations](control-panel/file-manager/upload-
58
59
{news_image:small}
60
61
+### Conditional Content Check
62
+
63
+If you want to see if there is a file selected, the easiest method is to check for the file URL:
64
65
+ {if news_image == ""}There is no news image selected.{/if}
66
67
+or even
68
69
+ {if news_image}File URL: {news_image}{/if}
70
71
### Wrap Parameter
72
73
You will frequently want to link to the file in your entry. Using the wrap parameter can simplify this process:
0 commit comments