# Making the web Svelter with SvelteKit ### Part 9 - Adding an external library [Back to part 8](part8_slides.html) --- ## Adding the library ``` npm install exifreader --save-dev ``` --- ## Adding component ExifDetails ```svelte [] {#if browser}
Vis Exif Info
Tittel
{photo.title}
Beskrivelse
Model
{exifData.model}
Linse
{exifData.lens}
Brennvidde
{exifData.focalLength}
Eksponeringstype
{exifData.exposureMode}
Blender
f/{exifData.fstop}
Lukkertid
{exifData.shutter}
ISO
{exifData.iso}
Exponering
{exifData.exposureSetting}
Dato
{exifData.date}
{/if} ``` --- ## Updating [photoid]/+page.svelte ```diff []
-
+
+
``` --- ## Onwards [part 10](part10_slides.html)