对于某些图片,我注意到 Discourse 会下载本地副本,但并非所有图片都会出现这种情况。
我在 Lightboxed images with giant filenames cause horizontal scroll 中观察到了同一张图片的情况。
该图片位于 Google CDN 上:
对于某些图片,我注意到 Discourse 会下载本地副本,但并非所有图片都会出现这种情况。
我在 Lightboxed images with giant filenames cause horizontal scroll 中观察到了同一张图片的情况。
该图片位于 Google CDN 上:
What if the image is 3 gb? Should it be downloaded? That is one reason.
How does the setting “Retrieve images from remote URLs to insert the correct width and height dimensions” works? What triggers it?
I saw Discourse did it for some other image, and now I’m not sure what is the expected behavior. Is it the image size?
That’s automatically done for all posts after you submit it.
The “download remote images to local” setting is probably what you’re thinking about. It turns off automatically when there is less than 25% disk space left, and the admin must manually turn it back on (and change the % or free up disk space).
I kinda replied here
The image you linked is a WebP file. Since it’s only supported by Chrome right now, we don’t even consider it an image.
After you mentioned it in the previous topic, I figured the playstore links a different format depending of the browser you’re on. I think I’m using the firefox version, and maybe its the lack of a extension in the filename.
Yeah, that too
We need the extension to be able to recognize it is an image.
It’s good enough for me, I was not sure about the disk space tradeoff in my specific case.