mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-29 00:38:58 -06:00
Add Source to thumbnail image. Perhabs a fix to #506 untested.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user