Compare commits

..

2 Commits

Author SHA1 Message Date
Stefan Forstenlechner 297e7c570e No need to set `loading={"lazy"}`
Build and publish docker image snapshot / build-and-publish (push) Successful in 1m10s Details
as react-photo-album has it in the props anyway
2024-08-21 23:24:53 +02:00
Stefan Forstenlechner 0a34124d7d Remove image with sha hash tag
Do not create to many images to avoid storage issues
2024-08-21 23:09:42 +02:00
2 changed files with 1 additions and 2 deletions

View File

@ -23,5 +23,4 @@ jobs:
context: .
push: true
tags: |
gitea.forstenlechner.dev/stefan/simple-picture-gallery:${{gitea.sha}}
gitea.forstenlechner.dev/stefan/simple-picture-gallery:latest

View File

@ -22,7 +22,7 @@ export const ImageGallery = ({ images }: { images: ImageWithThumbnail[] }) => {
photos={images}
render={{
image: (props, context) => (
<img loading={"lazy"} {...props} src={context.photo.thumbnail} />
<img {...props} src={context.photo.thumbnail} />
),
}}
onClick={({ index }) => setIndex(index)}