You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plone/namedfile/test.pt
+22-17Lines changed: 22 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,10 @@
42
42
i18n:name=""
43
43
i18n:translate=""
44
44
>picture tags</a>,
45
-
<ahref="#srcset"i18n="name"i18n:translate="">img tag with srcset</a>,
45
+
<ahref="#srcset"
46
+
i18n="name"
47
+
i18n:translate=""
48
+
>img tag with srcset</a>,
46
49
<ahref="#stored"
47
50
i18n:name=""
48
51
i18n:translate=""
@@ -199,23 +202,25 @@
199
202
</p>
200
203
</section>
201
204
202
-
<sectionclass="section"id="srcset">
203
-
<h2i18n:translate="">img with srcset attributes</h2>
204
-
<pi18n:translate="">
205
+
<sectionclass="section"
206
+
id="srcset"
207
+
>
208
+
<h2i18n:translate="">img with srcset attributes</h2>
209
+
<pi18n:translate="">
205
210
srcst allows the browser selecting the correct image depending on the space the image has on a page.
206
-
</p>
207
-
<pi18n:translate="">
208
-
To do so, the @@images view provides a srcset method, that will output the full srcset of this image, using all available image scales. It has a required paramter the value of the sizes attribute that the user of this method has to provide and will be outputed as is in the generated HTML.
To do so, the @@images view provides a srcset method, that will output the full srcset of this image, using all available image scales. It has a required parameter the value of the sizes attribute that the user of this method has to provide and will be outputted as is in the generated HTML.
0 commit comments