croco-html 4.7.1 → 4.8.0
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.
package/fesm2022/croco-html.mjs
CHANGED
|
@@ -223,10 +223,7 @@ class ImageMethods {
|
|
|
223
223
|
if (fileId === null || fileId === undefined) {
|
|
224
224
|
return null;
|
|
225
225
|
}
|
|
226
|
-
|
|
227
|
-
? options.imageOptions.publicImageResizedUrlFormat
|
|
228
|
-
: options.imageOptions.privateImageResizedUrlFormat;
|
|
229
|
-
return format
|
|
226
|
+
return options.imageOptions.sizeTypeAndFileIdImageUrlFormat
|
|
230
227
|
.replace("{sizeType}", sizeType)
|
|
231
228
|
.replace("{fileId}", fileId);
|
|
232
229
|
}
|