Переглянути джерело

Testing if webp is actually used

Andrea Franceschini 2 роки тому
батько
коміт
8d58b6e47e
1 змінених файлів з 4 додано та 4 видалено
  1. 4 4
      pages/development.php

+ 4 - 4
pages/development.php

@@ -50,8 +50,8 @@ $twitter_image = 'images/phd-app-2x.jpg';
 					<a href="#" data-featherlight="<?=$baseurl?>images/cb_demo-2x.jpg">
 						<picture>
 							<source srcset="<?=$baseurl?>images/cb_demo-2x.webp" type="image/webp" />
-							<source srcset="<?=$baseurl?>images/cb_demo.jpg 1x, <?=$baseurl?>images/cb_demo-2x.jpg 2x" />
-							<img class="rounded" srcset="<?=$baseurl?>images/cb_demo.jpg" alt="Circular Bells" />
+							<source srcset="<?=$baseurl?>images/cb_demo.jpg 1x, <?=$baseurl?>images/cb_demo-2x.jpg 2x" type="image/jpeg" />
+							<img class="rounded" srcset="<?=$baseurl?>images/phd-app.jpg" alt="Circular Bells" />
 						</picture>
 					</a>
 				</figure>
@@ -71,7 +71,7 @@ $twitter_image = 'images/phd-app-2x.jpg';
 					<a href="#" data-featherlight="<?=$baseurl?>images/phd-app-2x.jpg">
 						<picture>
 							<source srcset="<?=$baseurl?>images/phd-app.jpg 1x, <?=$baseurl?>images/phd-app-2x.jpg 2x" />
-							<img class="rounded" srcset="<?=$baseurl?>images/phd-app.jpg" alt="tOfuS" />
+							<img class="rounded" srcset="<?=$baseurl?>images/phd-app.jpg" alt="PhD app for iPad" />
 						</picture>
 					</a>
 				</figure>
@@ -91,7 +91,7 @@ $twitter_image = 'images/phd-app-2x.jpg';
 					<a href="#" data-featherlight="<?=$baseurl?>images/table_2-2x.jpg">
 						<picture>
 							<source srcset="<?=$baseurl?>images/table_2.jpg 1x, <?=$baseurl?>images/table_2-2x.jpg 2x" />
-							<img class="rounded" srcset="<?=$baseurl?>images/table_2.jpg" alt="tOfuS" />
+							<img class="rounded" srcset="<?=$baseurl?>images/table_2.jpg" alt="PhD app for large tabletop" />
 						</picture>
 					</a>
 				</figure>