Jump to content

Wrong description for display custom format?


Sonya*

Recommended Posts

I have created a custom field in database of type Upload (Allow multiple). I would like to display uploaded images in the Lightbox widget. In the description of Display custom field is stated: If using mulitple uploads, $value is an array of File Objects. However it seems to be an array of strings and not File Objects, as this code fails:

screenshot-2020_01.png.ad210773790935dca93e265a22803a4e.png

Error: Call to a member function thumbnail() on string (0)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...