New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image thumbnails are not displayed in table view #10134
Comments
Seems like things are working as expected on my end 🤔 CleanShot.2021-12-02.at.18.05.38.mp4(feat. my 🐈⬛) You mentioned you were using the "Thumbnail" display. Did you mean the Image display like I did in my screencast? |
Just tried your workflow with a clean 9.2.0 setup: "Image" and "File" displays only appear in "Continue Advanced Field Creation Mode". If you "Save" the field first and then call the field's display options by clicking it in fields list, "Image" and "File" options are gone. Using a "Related values" display instead with picking "Thumbnail" from dropdown works neither. |
My current workaround: Updating the display option for all image fields manually in the DB: |
@christianrr I'm not seeing that particular issue under 9.2.1 on my end 🤔 Could you try it in 9.2.1 and let me know if the problem persists? |
@rijkvanzanten Nope, still the same... Video is from a clean install with 9.2.1 and SQLite, however the same issue appears on an updated instance with MySQL. directus.mov |
@christianrr so weird! @azrikahar Would you be able to take a look? |
Can confirm this still happens on v9.3.0 for SQLite and MySQL, but not PostgreSQL. Seems like the issue is when the file-image interface is added to the two databases, the field type ended up being We can also confirm this in @christianrr latest video, at the 0:32 mark where it showed the image field is of type
@christianrr has this worked before, perhaps in RC releases as you mentioned? If it ever did, there may be some regressions happening here since file-image has been limited to type uuid one year ago 🤔 |
Can confirm that the image thumbnail worked in RC releases, for instance in rc.94. Maybe the issue was introduced with the new "quick field" and "create in advanced mode" feature, because beforehand you were explicitly choosing the option "Single file" from "Create field" options and there UUID was set as field type (see pictures). |
Same problem here on 9.3.0, I've solved it temporarily with the SQL query mentioned by @christianrr |
Preflight Checklist
Describe the Bug
When using an image field, thumbnails are no longer visible in the table view (this was working in RC releases).
When a thumbnail is specified for the display of the image field, the table view renders "--". If no display template is specified, the UUID is rendered.
Similar to #10105.
To Reproduce
Errors Shown
No response
What version of Directus are you using?
9.1.2
What version of Node.js are you using?
12.2
What database are you using?
MySQL 5.7
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying Directus?
locally
The text was updated successfully, but these errors were encountered: