Add Source to thumbnail image. Perhabs a fix to #506 untested.

This commit is contained in:
Sven Anders 2024-12-09 07:58:14 +01:00
parent 2923a823e0
commit 8a5f5883ba

View file

@ -802,7 +802,7 @@ export default class extends Controller {
createPhotoMarker(photo) {
if (!photo.exifInfo?.latitude || !photo.exifInfo?.longitude) return;
const thumbnailUrl = `/api/v1/photos/${photo.id}/thumbnail.jpg?api_key=${this.apiKey}`;
const thumbnailUrl = `/api/v1/photos/${photo.id}/thumbnail.jpg?api_key=${this.apiKey}&source=${photo.source}`;
const icon = L.divIcon({
className: 'photo-marker',