Version: EE 2.0.0b02 20091023 Reporter: Sue Crocker —
This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report
When I want to display an image field, the value for the field displays as an http://example.com/images/uploads/filename.jpg or whatever the file is.
So I’m thinking.. if the field has something in it, put img src code in there.
However, no matter what I do, I can’t seem to test for an empty field.
Tried things like:
{if image}This is an image file{/if}
as well as if image !=’’ and the like. It doesn’t matter if there is anything in the field or not, it acts like it is.
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```