Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Render thumbnail in Flex object list view

field

Started by gravinator 2 days ago · 2 replies · 115 views
2 days ago

I'm creating a blog based on the flex objects with the following fields:

YAML
 admin:
    menu:
      list:                
        title: News
        icon: fa-newspaper-o
    list:
      fields:
        published:
          field:
            type: toggle
            label: Active
          width: 5
        news_title:
          field:
            label: Name
          link: edit
        news_date:
          field:
            label: Date
            type: datetime
        news_image:
          field:
            type: field
            label: Photo

All the columns renders except the photo - which shows [object Object].

Is there any way to render object as image (preferable thumbnail)?

last edited 09/04/26 by gravinator
1 day ago

Field is file (I tried thumbnail in as seen in some examples)

Suggested topics

Topic Participants Replies Views Activity
Support · by Roger Parkinson, 6 days ago
3 193 23 hours ago
Support · by Marcel, 1 week ago
4 201 5 days ago
Support · by cvgrenoble, 1 week ago
3 182 1 week ago
Support · by Paul Hodges, 1 month ago
19 610 3 weeks ago
Support · by Lauw, 3 weeks ago
2 213 3 weeks ago