mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Merge pull request #507 from tabacha/bug-506
Add Source to thumbnail image. Perhabs a fix to #506 untested.
This commit is contained in:
commit
606c94630c
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