dezoomify icon indicating copy to clipboard operation
dezoomify copied to clipboard

archinoe.fr

Open Ayack opened this issue 4 years ago • 2 comments

Archinoe is a solution used by many archive services in France. Could you please support it?

Ex: https://www.archinoe.fr/v2/ad49/visualiseur/registre.html?id=490006288

Thanks.

Ayack avatar Sep 23 '20 19:09 Ayack

Here is a small script you can paste in your browser's javascript console while on the site to access the full size image

async function open_img(){
  const img = document.getElementById("inputvue_actuelle");
  const id = "visu_image_" + img.value;
  const original = document.getElementById(id).dataset.original;
  const f = await fetch(`/v2/images/genereImage.html?r=0&n=0&b=0&c=0&o=IMG&image=${encodeURIComponent(original)}`)
  const txt = await f.text();
  const [_n, _img, _w, _h, w, h] = txt.split('\t');
  const f2 = await fetch(`/v2/images/genereImage.html?l=${w}&h=${h}&ol=${w}&oh=${h}&x=0&y=0&r=0&n=0&b=0&c=0&o=TILE&id=tuile_1_4_4_5&image=${encodeURIComponent(original)}`);
  const cache = (await f2.text()).split('\t')[1];
  return cache;
}
window.open(await open_img())

lovasoa avatar Sep 25 '20 14:09 lovasoa

Great! Thanks a lot!

Ayack avatar Sep 25 '20 18:09 Ayack