+ {/* Close Button */}
+
+
+ {/* Main Photo */}
+
+ {currentPhoto?.url ? (
+

+ ) : (
+
+ 🖼️
+
+ )}
+
+ {/* Navigation Arrows */}
+ {photos.length > 1 && (
+ <>
+
+
+ >
+ )}
+
+ {/* Photo Counter */}
+
+ {isNaN(currentPhotoIndex) ? 1 : currentPhotoIndex + 1} / {photos.length}
+
+
+
+ {/* Photo Caption */}
+ {(currentPhoto?.caption || currentPhoto?.name) && (
+
+
+ {currentPhoto.caption || currentPhoto.name}
+
+
+ )}
+
+ {/* Thumbnail Strip */}
+ {photos.length > 1 && (
+
+
+ {photos.map((photo: any, index: number) => (
+
+ ))}
+
+
+ )}
+
+