I just made a quick fix, by including a custom javascript file in the
Toolbar.jsp that removes all picture source tags. Thus the links in the
<img> tag are displayed.
$(function() {
$('picture source').remove();
});
However it would be still good to have a proper solution for the relative
image links in the *data-srcset*
Kind regards
Dominik
Am Freitag, 13. Dezember 2019 15:47:29 UTC+1 schrieb Dominik Frey:
>
> Hello,
>
> I am struggling with relative links in the data-srcset attribute, because
> these links are not rewritten by open wayback and the images hence not
> displayed.
>
> I am using open wayback 2.4.0
>
> for example:
>
> * <picture>*
>
> *<source
> data-srcset="/sport/mehr-sport/Sportlercollage%2C1574002596479%2Clandessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dXS_-9a91314e681c924f29ec89ca45e4e12f5b1d728e.jpg
>
> 320w,/sport/mehr-sport/Sportlercollage%2C1574002596479%2Clandessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dS_-4026684eab220e7fb9eb2f80f316da061f3d025c.jpg
>
> 480w" sizes="(min-width: 1900px) 371px, (min-width: 1200px) 257px,
> (min-width: 768px) 188px, (min-width: 520px) 490px, 100vw"
> srcset="/sport/mehr-sport/Sportlercollage%2C1574002596479%2Clandessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dXS_-9a91314e681c924f29ec89ca45e4e12f5b1d728e.jpg
>
> 320w,/sport/mehr-sport/Sportlercollage%2C1574002596479%2Clandessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dS_-4026684eab220e7fb9eb2f80f316da061f3d025c.jpg
>
> 480w">*
>
>
>
> *<img
> data-src="http://webarchiv/openwayback/20191206090017im_/https://www.swr.de/sport/mehr-sport/Sportlercollage,1574002596479,landessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dXS_-9a91314e681c924f29ec89ca45e4e12f5b1d728e.jpg
>
> <http://webarchiv/openwayback/20191206090017im_/https://www.swr.de/sport/mehr-sport/Sportlercollage,1574002596479,landessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dXS_-9a91314e681c924f29ec89ca45e4e12f5b1d728e.jpg>"
>
> data-spy="lazyload" class="rs_skip_always error" data-copyright="Foto:
> Imago, picture-alliance / Reportdienste, Mike Schmidt, Jens Büttner;
> Revierfoto; Sven Simon, Anke Waelischmiller/SVEN SIMON, BEAUTIFUL
> SPORTS/Nils Koepke; Michael Kappeler; Borjab.Hojas;" alt="Sportlercollage
> (Foto: Imago, picture-alliance / Reportdienste, Mike Schmidt, Jens Büttner;
> Revierfoto; Sven Simon, Anke Waelischmiller/SVEN SIMON, BEAUTIFUL
> SPORTS/Nils Koepke; Michael Kappeler; Borjab.Hojas;)" title="Foto: Imago,
> picture-alliance / Reportdienste, Mike Schmidt, Jens Büttner; Revierfoto;
> Sven Simon, Anke Waelischmiller/SVEN SIMON, BEAUTIFUL SPORTS/Nils Koepke;
> Michael Kappeler; Borjab.Hojas;"
> src="http://webarchiv/openwayback/20191206090017im_/https://www.swr.de/sport/mehr-sport/Sportlercollage,1574002596479,landessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dXS_-9a91314e681c924f29ec89ca45e4e12f5b1d728e.jpg
>
> <http://webarchiv/openwayback/20191206090017im_/https://www.swr.de/sport/mehr-sport/Sportlercollage,1574002596479,landessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dXS_-9a91314e681c924f29ec89ca45e4e12f5b1d728e.jpg>"
>
> data-was-processed="true">*
>
> *</picture>*
>
> Open wayback tries to open these links via eg. http://webarchiv/
> sport/mehr-sport/Sportlercollage%2C1574002596479%2Clandessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dXS_-9a91314e681c924f29ec89ca45e4e12f5b1d728e.jpg
>
> However it should be
> http://webarchiv/openwayback/20191210103959/https://www.swr.de/sport/mehr-sport/Sportlercollage,1574002596479,landessportlerwahl2019-rheinland-pfalz-100~_v-1x1@2dXS_-9a91314e681c924f29ec89ca45e4e12f5b1d728e.jpg
>
> Do you have any ideas how I could fix this issue?
>
> Thank you and best regards
> Dominik
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"openwayback-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/openwayback-dev/012875f7-c0d1-401a-a094-dfecdc0725a1%40googlegroups.com.