zwischenstand
This commit is contained in:
@@ -52,16 +52,16 @@
|
||||
|
||||
{#if id}
|
||||
<MedialibFile
|
||||
id="{id}"
|
||||
id={id}
|
||||
let:entry
|
||||
let:src
|
||||
noPlaceholder="{noPlaceholder}"
|
||||
noPlaceholder={noPlaceholder}
|
||||
>
|
||||
<img
|
||||
bind:this="{imgElement}"
|
||||
src="{getSrcWithFilter(imgElement, entry, src)}"
|
||||
alt="{entry.alt || 'icon'}"
|
||||
data-entry-id="{id}"
|
||||
bind:this={imgElement}
|
||||
src={getSrcWithFilter(imgElement, entry, src)}
|
||||
alt={entry.alt || 'icon'}
|
||||
data-entry-id={id}
|
||||
/>
|
||||
<img
|
||||
slot="loading"
|
||||
@@ -69,15 +69,15 @@
|
||||
let:src
|
||||
src="/assets/img/placeholder-image.png"
|
||||
alt="placeholder"
|
||||
data-entry-id="{id}"
|
||||
data-entry="{JSON.stringify(entry)}"
|
||||
data-entry-src="{src}"
|
||||
data-entry-id={id}
|
||||
data-entry={JSON.stringify(entry)}
|
||||
data-entry-src={src}
|
||||
/>
|
||||
<img
|
||||
slot="not-found"
|
||||
src="/assets/img/placeholder-image.png"
|
||||
alt="not found"
|
||||
data-entry-id="{id}"
|
||||
data-entry-id={id}
|
||||
/>
|
||||
</MedialibFile>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user