@rmdes/indiekit-frontend 1.0.0-beta.30 → 1.0.0-beta.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -446,7 +446,7 @@ export const TextareaFieldComponent = class extends HTMLElement {
446
446
 
447
447
  if (isImage) {
448
448
  const img = document.createElement("img");
449
- img.src = url;
449
+ img.src = `/image/s_240x240/${encodeURIComponent(url)}`;
450
450
  img.alt = filename;
451
451
  img.loading = "lazy";
452
452
  img.className = "media-browser__thumbnail";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-frontend",
3
- "version": "1.0.0-beta.30",
3
+ "version": "1.0.0-beta.31",
4
4
  "description": "Frontend components for Indiekit (fork with floating toolbar)",
5
5
  "keywords": [
6
6
  "express",