Critical Issue: Wrong image loaded in zoom.

  • 1
  • Problem
  • Updated 7 years ago
I entered the following url to create zoom.
https://adesastorage.blob.core.window...

A wrong image is loaded and the View Original link has following Url.
http://ocula.com/getattachment/d94b07...

Please let me know what would be the issue and resolutions steps. The same issue occured when I use zoomit api using Seadragon Ajax.
Thanks,
Aneesh Pulukkul
Photo of Aneesh Pulukkul

Aneesh Pulukkul

  • 5 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of Bill Crow

Bill Crow, Seadragon Group Manager

  • 100 Posts
  • 38 Reply Likes
This happens when that URL was previously pointing to a different image. zoom.it caches the image it creates. if the source image changes, zoom.it is still showing the old image and doesn't know to refresh it with the new image. Or, something weird happened on the zoom.it server and confused a couple different request.

The workaround is to make the URL different, causing zoom.it to render a new picture. You can do this by adding an argument on the end. For example, I changed your URL to this:

https://adesastorage.blob.core.window...

The "?1" is ignored by the browser, but still makes the URL different. When I entered that URL in zoom.it, I got this zoomable image: http://zoom.it/Frvb

Bill
Photo of Aneesh Pulukkul

Aneesh Pulukkul

  • 5 Posts
  • 0 Reply Likes
Thank you Bill. While this solves the problem for now, it doesn't completely resolve our issue. Is there provision in Seadragon API that allows us to control cache duration? It's likely that we would update the image with a new one, without altering the file name.

Thanks,
Aneesh Pulukkul
Photo of Aneesh Pulukkul

Aneesh Pulukkul

  • 5 Posts
  • 0 Reply Likes
Also, this is not the only instance - we have observed it a few times. Please find the url below, if it's helpful to investigate.
For image:
https://adesaphotovin.blob.core.windo...

It gives Original Url as:
http://i.somethingawful.com/u/garbage...

Thanks,
Aneesh Pulukkul