I am simply trying to display images saved in CDS in a larger resolution than 144x144. I have been endlesly trying to solve this for the past 8 hours, but to no avail. Storing images was the entire reason I used CDS and it stores them horribly. Am I doing something wrong? Do I have to use collections?
Hi @Black_Magic100 ,
Do you want to store a image which is large than 144 pixels by 144 pixels into your CDS Entity?
When you store the images files into the Image field of a CDS Entity, there are some limits you need to know.
1. The uploaded Images must be less than 5120 KB and must one of the following formats:
2. When an image is uploaded, it will be resized to a maximum size of 144 pixels by 144 pixels.
3. When the image is uploaded, it will be converted to a .jpg format and all downloaded images will also use this format.
If you upload a image file which is large than 144 pixels by 144 pixels, the uploaded image would be resized to 144 pixels by 144 pixels. In other words, you uploaded image may be distorted or blurry.
More details about the limits about the Image field in CDS Entity, please check the following article:
As an alternative solution, you could consider store your Image file within SQL Table or Excel table stored in your OneDrive folder.
If you want to store your image file within your SQL Table, please check the response from @PaulD1 within the following thread:
If you want to store your Image file within your Excel table stored in your OnrDrive folder, please check the following article:
Hi @Black_Magic100 ,
Yeah. The blob storage would be today far more scalable than SQL Table or Excel Table.
SQL Table is great when you want to work with structured data using relations, indexes, constraints, etc. Azure blob storage is great when you need to work with centralized structured data without relations and usually with large volumes.
Based on the needs that you mentioned, I think the blob storage be better/easier than Excel or SQL Table.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.