mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Add Source to thumbnail image. Perhabs a fix to #506 untested.
This commit is contained in:
parent
2923a823e0
commit
8a5f5883ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue