Open Aivean opened 1 year ago
To recap, the basic idea is to make pictshare encode the metadata (dimensions) into the returned urls.
Backend decrypts such urls and adds metadata to img and video.
img
video
Caveat: max-width and max-height in image dimensions no longer work as expected.
max-width
max-height
Looks like I managed to fix the styles, but there are still some issues with layout shifts.
To recap, the basic idea is to make pictshare encode the metadata (dimensions) into the returned urls.
Backend decrypts such urls and adds metadata to
img
andvideo
.Caveat:
max-width
andmax-height
in image dimensions no longer work as expected.