Skip to content

Commit 5f61abc

Browse files
kemister85Farzad Hayat
andauthored
Update modules/ROOT/partials/configuration/uploadcare_srcset_steps.adoc
Co-authored-by: Farzad Hayat <[email protected]>
1 parent 631cbab commit 5f61abc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

modules/ROOT/partials/configuration/uploadcare_srcset_steps.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ When an image is uploaded, its original width is used to create a `srcset` attri
1818
----
1919
<img
2020
style="width: min(780px, 100%); aspect-ratio: 780 / 780;"
21-
src="https://ucarecdn.com/de937e77-2fec-4781-91c1-55dae67803cd/-/preview/"
21+
src="https://ucarecdn.com/{image-uid}/-/preview/"
2222
sizes="(min-width: 780px) 780px, 100vw"
2323
srcset="
24-
https://ucarecdn.com/de937e77-2fec-4781-91c1-55dae67803cd/-/resize/100x/ 100w,
25-
https://ucarecdn.com/de937e77-2fec-4781-91c1-55dae67803cd/-/resize/200x/ 200w,
26-
https://ucarecdn.com/de937e77-2fec-4781-91c1-55dae67803cd/-/resize/300x/ 300w,
27-
https://ucarecdn.com/de937e77-2fec-4781-91c1-55dae67803cd/-/resize/500x/ 500w,
28-
https://ucarecdn.com/de937e77-2fec-4781-91c1-55dae67803cd/-/resize/750x/ 750w,
29-
https://ucarecdn.com/de937e77-2fec-4781-91c1-55dae67803cd/-/preview/ 780w
24+
https://ucarecdn.com/{image-uid}/-/resize/100x/ 100w,
25+
https://ucarecdn.com/{image-uid}/-/resize/200x/ 200w,
26+
https://ucarecdn.com/{image-uid}/-/resize/300x/ 300w,
27+
https://ucarecdn.com/{image-uid}/-/resize/500x/ 500w,
28+
https://ucarecdn.com/{image-uid}/-/resize/750x/ 750w,
29+
https://ucarecdn.com/{image-uid}/-/preview/ 780w
3030
">
3131
----
3232

0 commit comments

Comments
 (0)