Heyho,
we try to get some Icons / Thumbnails / Images into our frontend. We save images publicly available into the Content Store. Means just a Get-Request is necessary for getting them via <baseUrl>/cs/<attachment_id>
We try to use the Attachment-Type in our DMs. We have a DataProvider which is creating a init document:
return {
RepetitionDays: meal.RepetitionDays,
WeightFactor: meal.WeightFactor,
Type: meal.Type,
Logo: {
attachment_id: "static_mealBreakfast",
internal_filename: "internalFileName.svg",
mime_type: "image/svg+xml"
}
};
});
The Form-Engine is not showing any Thumbnails / Image what ever. I already dig into the code and saw that thumbnails are more used, but they will not be loaded in my use case and furthermore i could use the customSelector, but not quite sure if i can do a fetch.
Could some give me details how the attachment and thumbnail stuff works, especially when i want to show images. Is it even right using the Attachment-Type or should be do a custom implementation there ?
Happy regards,
Tjorben