Rafał Całka

Results 19 comments of Rafał Całka

It doesn't work at all in dev mode for me ![image](https://user-images.githubusercontent.com/25438601/166164643-6b61eea2-445c-4c29-b274-5a6c5b453f75.png)

Rather, it should work the same way as in the standard version, i.e. thumbnails are displayed and when I click it, the full size is loaded. And an example from...

> @maitreyie-chavan Please do confirm if you would be able to send it over, I'll have the issue assigned to you accordingly. I confirm, but I don't know if I...

I haven't looked into the code of this plugin yet, but I added such a sanitizer on my website based [on this gist](https://gist.github.com/westonruter/fefdcda37df7bde61c7b0f690fafc01c): ```php class Sanitizer extends AMP_Base_Sanitizer { public...

> Will add a JS detection to make it. @hi-hai PHP detection won't be better? So the browser won't have to load another script. It is simple: ```php if( strpos(...

I have this problem in TypeScript: > TS2307: Cannot find module 'photoswipe/lightbox' or its corresponding type declarations. ![image](https://user-images.githubusercontent.com/25438601/182814736-f8fdeb84-cc50-427b-ba3e-0c1c1dedcc62.png) Generally it works, only these errors are annoying.

@eriksachse Try this sample workaround: ```svelte {@html ''} ``` So you put the `` as an HTML string.

I encountered a similar issue in the AMP plugin, which uses this library. https://github.com/ampproject/amp-wp/issues/7291 Example: ```css :where(.container) { width: min(var(--container-max-width), 100% - calc(var(--container-padding) * 2)); margin-inline: auto; } ```

In 2021, Discourse implemented something like this using WebAssembly (https://blog.discourse.org/2021/07/faster-user-uploads-on-discourse-with-rust-webassembly-and-mozjpeg/). This approach is noteworthy because it compresses images on the client side, reducing server load. I've researched the libraries available...