Mika Raunio

Results 27 comments of Mika Raunio

@lb- Duplicating your browser test does not succeed here: ![Screenshot 2022-12-17 at 8 29 43](https://user-images.githubusercontent.com/5990360/208228845-1b142dd3-dbac-4ce0-b817-dfc9814d10e4.png) Likewise, `curl` from a few different VPS:es gives no `access-control` headers: ```sh $ curl -IH...

Think that part of the confusion in the example stems from the fact that a context manager creates the illusion that it's defining a new context, and that can't happen...

Sure @fancyapps. ### What is happening Supposing the following code: ```html ``` Steps: 1. The user has a viewport 700px wide (and a pixel ratio of 1) 2. Click on...

> Well, the idea of Fancybox (or any similar lightbox-type script) is that you point to the full size image. Sorry, I'm not sure what you mean – are you...

I agree that tiling feels overkill. However, maybe just using `srcset` to select the most appropriate image for the current zoom level would be good enough? This seems to be...

I do believe it does. See https://photoswipe.com/getting-started/#responsive-images-with-srcset and try the demo in that section in a smaller window responsive preview. Attaching a screen recording below to illustrate. https://user-images.githubusercontent.com/5990360/204100114-003c1297-9b46-46a1-968b-e1e067e7eafd.mov

Had forgotten that starting from Django 4.1, template caching is enabled by default even when DEBUG is True. As expected, disabling caching resolves this problem. Might be good to add...