You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @JonasKruckenberg! Thank you for making this wonderful tool. I am using it in an experimental SvelteKit application, and it is working very well. I really want to harness all its power with a "Custom Directive", but as a relatively inexperienced web developer I have a few questions.
Is there a way I could return EXIF metadata as imagetools metadata, just like {src, width, height}? Specifically, I'd love my custom directive to use Sharp and node-exif to automatically return metadata like {FNumber, shutterSpeedValue, ISO} etc.. I would still want to strip all other metadata, for privacy reasons!
Is there a way to include multiple sizes and qualities without them making the cartesian product? For instance, I want to the following directive ?w=600;2000&quality=50;100 to make only two images, first: ?w=600&quality=50, second: ?w=2000&quality100 but I don't want to have to call the directive twice on each image.
Unrelated to custom directives, but has there been any progress on glob imports? I am trying to make a tile layout for over 100 photos, and I'd love to import the folder, rather than each photo individually. Repo link for reference.
Thanks so much for any help you can provide, and putting in so much work on this amazing package!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi @JonasKruckenberg! Thank you for making this wonderful tool. I am using it in an experimental SvelteKit application, and it is working very well. I really want to harness all its power with a "Custom Directive", but as a relatively inexperienced web developer I have a few questions.
{src, width, height}
? Specifically, I'd love my custom directive to use Sharp and node-exif to automatically return metadata like{FNumber, shutterSpeedValue, ISO}
etc.. I would still want to strip all other metadata, for privacy reasons!?w=600;2000&quality=50;100
to make only two images, first:?w=600&quality=50
, second:?w=2000&quality100
but I don't want to have to call the directive twice on each image.Thanks so much for any help you can provide, and putting in so much work on this amazing package!
Eli
Beta Was this translation helpful? Give feedback.
All reactions