Run into problem managing multiple images of the same variety with the preview function for list and reference fields. We are trying to use squidex for a template system, and often times a template can have multiple variants.
Below is an example of assets for a specific group we have (and we have several thousand like this in different groups for cards).
If you look at the same front image with the child you’ll see that the edges have different designs. Currently with Squidex, when I add an asset to the schema and resolve the first asset, I get a small square preview.
It would be great if we could have control over two items…
Right now the image asset is called with a default width and height, so the image is always a square preview of the center. For most preview assets I actually only care about the height, and want the width to be 100% of the image. This presents a problem for very wide images that are not tall, which we have none of, but I thought I would point out aspect ratio could matter here.
While the preview row height for the List and Reference/Component UI is normally pretty good, occasionally it makes sense to want each row to be taller to see more detail of a asset preview. The asset preview could be the key UX clue to the user that this is the field they want to work with.
Not sure if it would be possible to create a solution for this problem, it would be a huge help to our system, and I imagine would be popular for many other customers doing asset previews in their list / references. Having said that, I think what you have as the default is also great for most use cases.
Not sure what would be best solution here. You could let us specify a width/height for an asset preview and if its set use that over the default 50px. It would also help control the row size of the preview in list/reference. If height was specified and width was not, width would just be 100%, etc. By default they might just show a input hint of 50px since that is default…