🔥 Use Directus Storage Assets Presets only for images
Block the generation of other image sizes from the URL TODO: Block the access to root asset url as it still displays the original file
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
<a href={url}>
|
||||
<Image
|
||||
id={id}
|
||||
sizeKey="postcard"
|
||||
{sizes}
|
||||
ratio={1.5}
|
||||
alt={alt}
|
||||
@@ -25,6 +26,7 @@
|
||||
{:else}
|
||||
<Image
|
||||
id={id}
|
||||
sizeKey="postcard"
|
||||
{sizes}
|
||||
ratio={1.5}
|
||||
alt={alt}
|
||||
|
||||
Reference in New Issue
Block a user