🔥 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:
@@ -29,7 +29,12 @@
|
||||
{#each issues as { issue, title, date_sent, link, thumbnail: { id } }}
|
||||
<li class="issue">
|
||||
<a href={link} target="_blank" rel="external noreferrer noopener">
|
||||
<Image id={id} width={160} height={112} alt="Issue {issue} thumbnail" />
|
||||
<Image
|
||||
id={id}
|
||||
sizeKey="issue-thumbnail"
|
||||
width={160} height={112}
|
||||
alt="Issue {issue} thumbnail"
|
||||
/>
|
||||
<dl>
|
||||
<dt>Issue #{issue}</dt>
|
||||
<dd>
|
||||
|
||||
Reference in New Issue
Block a user