# L'attribut srcset peut charger des images plus grandes sur mobile que sur ordinateur

**URL:** <https://meta.discourse.org/t/srcset-attribute-may-load-larger-images-on-mobile-than-desktop/264039>\
**Category:** UX\
**Tags:** mobile\
**Created:** [Mai 6, 2023, 3:12 UTC](https://meta.discourse.org/t/srcset-attribute-may-load-larger-images-on-mobile-than-desktop/264039 "2023-05-06T03:12:51Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [Mai 6, 2023, 11:43 UTC](https://meta.discourse.org/t/srcset-attribute-may-load-larger-images-on-mobile-than-desktop/264039/10 "2023-05-06T11:43:19Z")

</div>

Il y a quelque chose de louche ici.

En vue sur ordinateur, le onebox charge une [image de 690x460px, 160 Ko](https://global.discourse-cdn.com/meta/optimized/4X/2/f/5/2f50d4ad9f5f865b783b02d392de75bdceec01da_2_690x460.jpeg), alors qu’en version mobile, il charge une [image de 1380x920, 500 Ko](https://global.discourse-cdn.com/meta/optimized/4X/2/f/5/2f50d4ad9f5f865b783b02d392de75bdceec01da_2_1380x920.jpeg). 🤔

 ![image onebox bureau](https://global.discourse-cdn.com/meta/original/4X/4/a/2/4a21ce3770519f2325e2a342df7e42332f1d9a1b.png)  
 ![image onebox mobile](https://global.discourse-cdn.com/meta/original/4X/9/2/f/92f48d26d848195da446ce2e624ae928ffc7f46f.png)

Je déplace ce sujet vers #Contribute > Bug. Cela _semble_ être un bug à mes yeux, peut-être sera-t-il reclassifié plus tard 🙂

---

_[View the full topic](https://meta.discourse.org/t/srcset-attribute-may-load-larger-images-on-mobile-than-desktop/264039)._
