# Problem mit Medienlinks

**URL:** <https://forum.shopware.com/t/problem-mit-medienlinks/59064>\
**Category:** Themes & Design\
**Created:** [13. April 2019 um 13:46 UTC](https://forum.shopware.com/t/problem-mit-medienlinks/59064 "2019-04-13T13:46:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CarstenKA](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@CarstenKA](https://forum.shopware.com/u/CarstenKA)\
**Post date:** [13. April 2019 um 13:46 UTC](https://forum.shopware.com/t/problem-mit-medienlinks/59064/1 "2019-04-13T13:46:25Z")

</div>

Hallo,

ich bin neu hier und habe zu meinem speziellen Problem nichts gefunden. Ich will mittels

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;picture\>  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;source media="(min-width: 64em)" srcset="{media path=‘media/image/urbanlabel.png’}, {media path=‘media/image/urbanlabel@2x.png’} 2x"\>  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;source media="(min-width: 48em)" srcset="{media path=‘media/image/urbanlabel\_140x140.png’}, {media path=‘media/image/urbanlabel\_140x140@2x.png’} 2x"\>  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;img srcset="{media path=‘media/image/urbanlabel.png’}, {media path=‘media/image/urbanlabel@2x.png’} 2x"\>  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;/picture\>  
medienabhängige Bilder anzeigen. Der von “media path” zurückgegebene Hash-Pfad ist aber nur für das Hauptbild richtig. Bei den anderen Bildern ist der Hash falsch, es wird also nichts angezeigt. Der Medienmanager zeigt die richtigen Pfade, Dateien sind dort vorhanden.

Was mache ich falsch?

Grüße, Carsten

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![CarstenKA](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@CarstenKA](https://forum.shopware.com/u/CarstenKA)\
**Post date:** [14. April 2019 um 09:28 UTC](https://forum.shopware.com/t/problem-mit-medienlinks/59064/2 "2019-04-14T09:28:29Z")

</div>

Ich habe jetzt rausgefunden, dass es bei den Thumbs funktioniert, wenn ich als Pfad “media/image/thumsnails/” angebe. Klappt auch für die 2x Version. Allerdings klappt das nicht für das Hauptbild, kann es sein, dass für diese keine 2x Version erzeugt wird (würde ja auch irgendwie wenig Sinn machen)?
