T
Twenty3d ago
zon

Create thumbnail images in an object

Hello everyone, I created a new object called "product". How can I display the thumbnail image of a product when adding a field for URL/LINK or attaching an image to each record, so that it shows a cover thumbnail for each record? Thank you.
6 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS3d ago
I'm not sure if that's possible as in database there are no columns in any object responsible for storing image data, companies have thumbnails but that's due to integrated favicons "fetcher" from given links in code, @prastoin could you help answer precisely this question?
Prastoin
Prastoin2d ago
Hello there Unfortunately I'm not aware of such a feature
zon
zonOP2d ago
@bob @prastoin Thank much : I have updated the image for the product, and I'm sharing it here in case someone has a similar situation: 1. Create an avatarUrl field for the image URL. Example: { "type": "TEXT", "objectMetadataId": "de193c93-bddd-4161-86c9-e7472f6614b4", "name": "avatarUrl", "label": "Avatar", "description": "Profile image of potential customers", "icon": "IconFileUpload", "defaultValue": "''", "isNullable": true } 2. Step 2: Set the avatarUrl field as the image identification field. { "imageIdentifierFieldMetadataId": "892ead93-897c-48da-9207-517cb1978b88" } Here, 892ead93-897c-48da-9207-517cb1978b88 is the ID of the avatarUrl field that was created.
Prastoin
Prastoin2d ago
@zon thanks for the feedback ! Just to be sure of what we're talking about could you please share a screenshot ( if possible ) of the final display ? By "hacking" the avatarUrl you're able to display the product images in each table rows ?
zon
zonOP2d ago
@prastoin It will display images from the added URL, and Twenty handles this very well by automatically cropping them into a circular shape.
No description
Prastoin
Prastoin2d ago
Ah yes ok then great you've found your way through ! well done

Did you find this page helpful?