diff --git a/src/backend/middlewares/thumbnail/PhotoConverterMWs.ts b/src/backend/middlewares/thumbnail/PhotoConverterMWs.ts index 46cf5908..b00c6339 100644 --- a/src/backend/middlewares/thumbnail/PhotoConverterMWs.ts +++ b/src/backend/middlewares/thumbnail/PhotoConverterMWs.ts @@ -17,7 +17,7 @@ export class PhotoConverterMWs { const convertedVideo = PhotoProcessing.generateConvertedPath(fullMediaPath, Config.Server.Media.Photo.Converting.resolution); - // check if transcoded video exist + // check if converted photo exist if (fs.existsSync(convertedVideo) === true) { req.resultPipe = convertedVideo; return next(); diff --git a/src/frontend/app/ui/gallery/grid/photo/photo.grid.gallery.component.ts b/src/frontend/app/ui/gallery/grid/photo/photo.grid.gallery.component.ts index 7170e58e..1806d26f 100644 --- a/src/frontend/app/ui/gallery/grid/photo/photo.grid.gallery.component.ts +++ b/src/frontend/app/ui/gallery/grid/photo/photo.grid.gallery.component.ts @@ -24,13 +24,12 @@ export class GalleryPhotoComponent implements IRenderable, OnInit, OnDestroy { infoBarVisible = false; animationTimer: number = null; - readonly SearchTypes: typeof SearchTypes; + readonly SearchTypes: typeof SearchTypes = SearchTypes; searchEnabled = true; wasInView: boolean = null; constructor(private thumbnailService: ThumbnailManagerService) { - this.SearchTypes = SearchTypes; this.searchEnabled = Config.Client.Search.enabled; } diff --git a/src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.css b/src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.css index a6b53494..d32aa097 100644 --- a/src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.css +++ b/src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.css @@ -56,3 +56,16 @@ .modal-header { padding: 0.4rem 1rem; } + + +.keywords a { + color: #212529; +} + +.keywords a:hover { + text-decoration: underline; +} + +.keywords .oi-person{ + margin-right: 2px; +} diff --git a/src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.html b/src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.html index ef41b108..0ef077c4 100644 --- a/src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.html +++ b/src/frontend/app/ui/gallery/lightbox/infopanel/info-panel.lightbox.gallery.component.html @@ -61,6 +61,7 @@ +