Timeline for Image asset not being displayed
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 31, 2014 at 18:52 | answer | added | Douglas McDonald | timeline score: 1 | |
Dec 24, 2014 at 9:42 | comment | added | Steven Vandemoortele | Have you tried turning on devMode & {{ dump(asset) }} in your template. See if there's actually something in your asset variable. | |
Dec 21, 2014 at 17:30 | comment | added | pumkincreative | It might be to do with the way in which you're checking the asset variable. In your original version you have {% if entry.teamImage1 | length %} whereas in the new one you are just going with {% if asset %}. Have a look at this answer on checking for empty fields- craftcms.stackexchange.com/questions/824/test-for-empty-field | |
Dec 21, 2014 at 14:38 | review | First posts | |||
Dec 21, 2014 at 17:01 | |||||
Dec 21, 2014 at 14:34 | history | asked | Ollie Taylor | CC BY-SA 3.0 |