diff --git a/src/components/ImageLarge.tsx b/src/components/ImageLarge.tsx
index cffdcb6c..dded6ac4 100644
--- a/src/components/ImageLarge.tsx
+++ b/src/components/ImageLarge.tsx
@@ -1,5 +1,5 @@
import { IMAGE_LARGE_WIDTH } from '@/site';
-import ImageBlurFallback from './ImageBlurFallback';
+import ImageWithFallback from './ImageWithFallback';
export default function ImageLarge({
className,
@@ -21,7 +21,7 @@ export default function ImageLarge({
priority?: boolean
}) {
return (
- }
+ icon={}
spinnerColor="dim"
prefetch={prefetch}
shouldScroll={shouldScroll}
diff --git a/src/photo/PhotoGrid.tsx b/src/photo/PhotoGrid.tsx
index 118c2c8e..390fa3b7 100644
--- a/src/photo/PhotoGrid.tsx
+++ b/src/photo/PhotoGrid.tsx
@@ -57,7 +57,7 @@ export default function PhotoGrid({
).concat(additionalTile ?? [])}
itemKeys={photos.map(photo => photo.id)
.concat(additionalTile ? ['more'] : [])}
diff --git a/src/photo/PhotoSmall.tsx b/src/photo/PhotoSmall.tsx
index a379d2cc..da2a47c0 100644
--- a/src/photo/PhotoSmall.tsx
+++ b/src/photo/PhotoSmall.tsx
@@ -19,6 +19,7 @@ export default function PhotoSmall({
selected,
priority,
prefetch = SHOULD_PREFETCH_ALL_LINKS,
+ className,
onVisible,
}: {
photo: Photo
@@ -28,6 +29,7 @@ export default function PhotoSmall({
selected?: boolean
priority?: boolean
prefetch?: boolean
+ className?: string
onVisible?: () => void
}) {
const ref = useRef(null);
@@ -39,9 +41,9 @@ export default function PhotoSmall({
ref={ref}
href={pathForPhoto(photo, tag, camera, simulation)}
className={clsx(
- 'flex w-full h-full',
'active:brightness-75',
selected && 'brightness-50',
+ className,
)}
prefetch={prefetch}
>
@@ -50,7 +52,8 @@ export default function PhotoSmall({
aspectRatio={photo.aspectRatio}
blurData={photo.blurData}
blurCompatibilityMode={doesPhotoNeedBlurCompatibility(photo)}
- className="w-full"
+ className="flex object-cover w-full h-full"
+ imgClassName="object-cover w-full h-full"
alt={altTextForPhoto(photo)}
priority={priority}
/>
diff --git a/src/photo/form/PhotoForm.tsx b/src/photo/form/PhotoForm.tsx
index 257c90ac..0ae09d51 100644
--- a/src/photo/form/PhotoForm.tsx
+++ b/src/photo/form/PhotoForm.tsx
@@ -18,7 +18,7 @@ import { clsx } from 'clsx/lite';
import { PATH_ADMIN_PHOTOS, PATH_ADMIN_UPLOADS } from '@/site/paths';
import { toastSuccess, toastWarning } from '@/toast';
import { getDimensionsFromSize } from '@/utility/size';
-import ImageBlurFallback from '@/components/ImageBlurFallback';
+import ImageWithFallback from '@/components/ImageWithFallback';
import { TagsWithMeta, sortTagsObjectWithoutFavs } from '@/tag';
import { formatCount, formatCountDescriptive } from '@/utility/string';
import { AiContent } from '../ai/useAiImageQueries';
@@ -234,7 +234,7 @@ export default function PhotoForm({