Where is the old "Embed The Viewer" for Seadragon Ajax generated from Deep Zoom Composer?

  • 2
  • Question
  • Updated 9 years ago
  • Answered
I used the "Embed The Viewer" web service to generate codes for Seadragon Ajax dzc_output file generated from Deep Zoom Composer. Now, it seem missing from Seadragon Ajax or Seadragon.com? Since I am not a programmer, I have no clue on the information given in Seadragon.com developer section. Could I have "Embed the Viewer" back, please!!!
Photo of Peter

Peter

  • 28 Posts
  • 0 Reply Likes

Posted 10 years ago

  • 2
Photo of Bill Crow

Bill Crow, Seadragon Group Manager

  • 100 Posts
  • 38 Reply Likes
Deep Zoom Composer generates a fully functional web page with the required embed code when you export using the Seadragon Ajax output type. You can use that web page, or cut/paste the html to add to your own web page.
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
Unfortunately Bill, that's not completely right. The "Seadragon Ajax" output choice generates a page that uses the Seadragon Ajax Library, which means (a) without the Seadragon branding and (b) without using Silverlight when available. It also won't work cross-domain if Peter moves the page to a different location.

Peter, this was a conscious choice we made about two months ago, because we have something better in the works to replace it. =) I can certainly provide you with the same "Embed the viewer" output in the meantime though, manually. I just need one thing: can you point me to (or paste the contents of) your dzc_output.xml file?

Thanks, and sorry for the frustration!
Photo of Peter

Peter

  • 28 Posts
  • 0 Reply Likes
Thanks Aseem!

The dzc_output file is in:
http://peterchanphoto.com/Deepzoom/will 2/GeneratedImages/dzc_output

I am so excited that non programmers' needs are not forgotten because you mentioned something better in the works to replace it. However, it will be great if you can retain the old service and replaced it with better one when it is available.

Thanks for the great service.
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
Here you go, Peter:


&lt;script src="<a href="#">http://seadragon.com/combo/embed.js</a>"&gt;&lt;/script&gt;
&lt;script&gt;Seadragon.embed("400px", "300px", "<a href="#">http://peterchanphoto.com/Deepzoom/will 2/GeneratedImages/dzc_output.xml</a>", 62822, 39256, 256, 1, "jpg", [[0, 0, 62822, 39256, 0, 9], [0, 0, 9600, 7452, 0, 10], [10022, 0, 4800, 7452, 0, 10], [15321, 0, 4800, 7452, 0, 10], [20659, 0, 4800, 7452, 0, 10], [25958, 0, 4800, 7452, 0, 10], [31411, 0, 4800, 7452, 0, 10], [36710, 0, 4800, 7452, 0, 10], [42009, 0, 4800, 7452, 0, 10], [47308, 0, 4800, 7452, 0, 10], [52647, 0, 4800, 7452, 0, 10], [58022, 0, 4800, 7452, 0, 10], [10022, 7990, 4800, 7451, 0, 10], [15321, 7990, 4800, 7451, 0, 10], [20659, 7990, 4800, 7451, 0, 10], [25958, 7990, 4800, 7451, 0, 10], [31411, 7990, 4800, 7451, 0, 10], [36710, 7990, 4800, 7451, 0, 10], [42009, 7990, 4800, 7451, 0, 10], [47308, 7990, 4800, 7451, 0, 10], [52647, 7990, 4800, 7451, 0, 10], [58022, 7990, 4800, 7451, 0, 10], [10022, 15864, 4800, 7452, 0, 10], [15321, 15864, 4800, 7452, 0, 10], [20659, 15864, 4800, 7452, 0, 10], [25958, 15864, 4800, 7452, 0, 10], [31411, 15864, 4800, 7452, 0, 10], [36710, 15864, 4800, 7452, 0, 10], [42009, 15864, 4800, 7452, 0, 10], [47308, 15864, 4800, 7452, 0, 10], [52647, 15864, 4800, 7452, 0, 10], [58022, 15864, 4800, 7452, 0, 10], [10022, 23815, 4800, 7452, 0, 10], [15321, 23815, 4800, 7452, 0, 10], [20659, 23815, 4800, 7452, 0, 10], [25958, 23815, 4800, 7452, 0, 10], [31411, 23815, 4800, 7452, 0, 10], [36710, 23815, 4800, 7452, 0, 10], [42009, 23815, 4800, 7452, 0, 10], [47308, 23815, 4800, 7452, 0, 10], [52647, 23815, 4800, 7452, 0, 10], [58022, 23815, 4800, 7452, 0, 10], [10022, 31805, 4800, 7451, 0, 10], [15321, 31805, 4800, 7451, 0, 10], [20659, 31805, 4800, 7451, 0, 10], [25958, 31805, 4800, 7451, 0, 10], [31411, 31805, 4800, 7451, 0, 10], [36710, 31805, 4800, 7451, 0, 10], [42009, 31805, 4800, 7451, 0, 10], [47308, 31805, 4800, 7451, 0, 10], [0, 0, 9600, 7452, 0, 11], [10022, 0, 4800, 7452, 0, 11], [15321, 0, 4800, 7452, 0, 11], [20659, 0, 4800, 7452, 0, 11], [25958, 0, 4800, 7452, 0, 11], [31411, 0, 4800, 7452, 0, 11], [36710, 0, 4800, 7452, 0, 11], [42009, 0, 4800, 7452, 0, 11], [47308, 0, 4800, 7452, 0, 11], [52647, 0, 4800, 7452, 0, 11], [58022, 0, 4800, 7452, 0, 11], [10022, 7990, 4800, 7451, 0, 11], [15321, 7990, 4800, 7451, 0, 11], [20659, 7990, 4800, 7451, 0, 11], [25958, 7990, 4800, 7451, 0, 11], [31411, 7990, 4800, 7451, 0, 11], [36710, 7990, 4800, 7451, 0, 11], [42009, 7990, 4800, 7451, 0, 11], [47308, 7990, 4800, 7451, 0, 11], [52647, 7990, 4800, 7451, 0, 11], [58022, 7990, 4800, 7451, 0, 11], [10022, 15864, 4800, 7452, 0, 11], [15321, 15864, 4800, 7452, 0, 11], [20659, 15864, 4800, 7452, 0, 11], [25958, 15864, 4800, 7452, 0, 11], [31411, 15864, 4800, 7452, 0, 11], [36710, 15864, 4800, 7452, 0, 11], [42009, 15864, 4800, 7452, 0, 11], [47308, 15864, 4800, 7452, 0, 11], [52647, 15864, 4800, 7452, 0, 11], [58022, 15864, 4800, 7452, 0, 11], [10022, 23815, 4800, 7452, 0, 11], [15321, 23815, 4800, 7452, 0, 11], [20659, 23815, 4800, 7452, 0, 11], [25958, 23815, 4800, 7452, 0, 11], [31411, 23815, 4800, 7452, 0, 11], [36710, 23815, 4800, 7452, 0, 11], [42009, 23815, 4800, 7452, 0, 11], [47308, 23815, 4800, 7452, 0, 11], [52647, 23815, 4800, 7452, 0, 11], [58022, 23815, 4800, 7452, 0, 11], [10022, 31805, 4800, 7451, 0, 11], [15321, 31805, 4800, 7451, 0, 11], [20659, 31805, 4800, 7451, 0, 11], [25958, 31805, 4800, 7451, 0, 11], [31411, 31805, 4800, 7451, 0, 11], [36710, 31805, 4800, 7451, 0, 11], [42009, 31805, 4800, 7451, 0, 11], [47308, 31805, 4800, 7451, 0, 11], [0, 0, 9600, 7452, 0, 12], [10022, 0, 4800, 7452, 0, 12], [15321, 0, 4800, 7452, 0, 12], [20659, 0, 4800, 7452, 0, 12], [25958, 0, 4800, 7452, 0, 12], [31411, 0, 4800, 7452, 0, 12], [36710, 0, 4800, 7452, 0, 12], [42009, 0, 4800, 7452, 0, 12], [47308, 0, 4800, 7452, 0, 12], [52647, 0, 4800, 7452, 0, 12], [58022, 0, 4800, 7452, 0, 12], [10022, 7990, 4800, 7451, 0, 12], [15321, 7990, 4800, 7451, 0, 12], [20659, 7990, 4800, 7451, 0, 12], [25958, 7990, 4800, 7451, 0, 12], [31411, 7990, 4800, 7451, 0, 12], [36710, 7990, 4800, 7451, 0, 12], [42009, 7990, 4800, 7451, 0, 12], [47308, 7990, 4800, 7451, 0, 12], [52647, 7990, 4800, 7451, 0, 12], [58022, 7990, 4800, 7451, 0, 12], [10022, 15864, 4800, 7452, 0, 12], [15321, 15864, 4800, 7452, 0, 12], [20659, 15864, 4800, 7452, 0, 12], [25958, 15864, 4800, 7452, 0, 12], [31411, 15864, 4800, 7452, 0, 12], [36710, 15864, 4800, 7452, 0, 12], [42009, 15864, 4800, 7452, 0, 12], [47308, 15864, 4800, 7452, 0, 12], [52647, 15864, 4800, 7452, 0, 12], [58022, 15864, 4800, 7452, 0, 12], [10022, 23815, 4800, 7452, 0, 12], [15321, 23815, 4800, 7452, 0, 12], [20659, 23815, 4800, 7452, 0, 12], [25958, 23815, 4800, 7452, 0, 12], [31411, 23815, 4800, 7452, 0, 12], [36710, 23815, 4800, 7452, 0, 12], [42009, 23815, 4800, 7452, 0, 12], [47308, 23815, 4800, 7452, 0, 12], [52647, 23815, 4800, 7452, 0, 12], [58022, 23815, 4800, 7452, 0, 12], [10022, 31805, 4800, 7451, 0, 12], [15321, 31805, 4800, 7451, 0, 12], [20659, 31805, 4800, 7451, 0, 12], [25958, 31805, 4800, 7451, 0, 12], [31411, 31805, 4800, 7451, 0, 12], [36710, 31805, 4800, 7451, 0, 12], [42009, 31805, 4800, 7451, 0, 12], [47308, 31805, 4800, 7451, 0, 12], [0, 0, 9600, 7452, 0, 13], [10022, 0, 4800, 7452, 0, 13], [15321, 0, 4800, 7452, 0, 13], [20659, 0, 4800, 7452, 0, 13], [25958, 0, 4800, 7452, 0, 13], [31411, 0, 4800, 7452, 0, 13], [36710, 0, 4800, 7452, 0, 13], [42009, 0, 4800, 7452, 0, 13], [47308, 0, 4800, 7452, 0, 13], [52647, 0, 4800, 7452, 0, 13], [58022, 0, 4800, 7452, 0, 13], [10022, 7990, 4800, 7451, 0, 13], [15321, 7990, 4800, 7451, 0, 13], [20659, 7990, 4800, 7451, 0, 13], [25958, 7990, 4800, 7451, 0, 13], [31411, 7990, 4800, 7451, 0, 13], [36710, 7990, 4800, 7451, 0, 13], [42009, 7990, 4800, 7451, 0, 13], [47308, 7990, 4800, 7451, 0, 13], [52647, 7990, 4800, 7451, 0, 13], [58022, 7990, 4800, 7451, 0, 13], [10022, 15864, 4800, 7452, 0, 13], [15321, 15864, 4800, 7452, 0, 13], [20659, 15864, 4800, 7452, 0, 13], [25958, 15864, 4800, 7452, 0, 13], [31411, 15864, 4800, 7452, 0, 13], [36710, 15864, 4800, 7452, 0, 13], [42009, 15864, 4800, 7452, 0, 13], [47308, 15864, 4800, 7452, 0, 13], [52647, 15864, 4800, 7452, 0, 13], [58022, 15864, 4800, 7452, 0, 13], [10022, 23815, 4800, 7452, 0, 13], [15321, 23815, 4800, 7452, 0, 13], [20659, 23815, 4800, 7452, 0, 13], [25958, 23815, 4800, 7452, 0, 13], [31411, 23815, 4800, 7452, 0, 13], [36710, 23815, 4800, 7452, 0, 13], [42009, 23815, 4800, 7452, 0, 13], [47308, 23815, 4800, 7452, 0, 13], [52647, 23815, 4800, 7452, 0, 13], [58022, 23815, 4800, 7452, 0, 13], [10022, 31805, 4800, 7451, 0, 13], [15321, 31805, 4800, 7451, 0, 13], [20659, 31805, 4800, 7451, 0, 13], [25958, 31805, 4800, 7451, 0, 13], [31411, 31805, 4800, 7451, 0, 13], [36710, 31805, 4800, 7451, 0, 13], [42009, 31805, 4800, 7451, 0, 13], [47308, 31805, 4800, 7451, 0, 13], [0, 0, 9600, 7452, 0, 14], [10022, 0, 4800, 7452, 0, 14], [15321, 0, 4800, 7452, 0, 14], [20659, 0, 4800, 7452, 0, 14], [25958, 0, 4800, 7452, 0, 14], [31411, 0, 4800, 7452, 0, 14], [36710, 0, 4800, 7452, 0, 14], [42009, 0, 4800, 7452, 0, 14], [47308, 0, 4800, 7452, 0, 14], [52647, 0, 4800, 7452, 0, 14], [58022, 0, 4800, 7452, 0, 14], [10022, 7990, 4800, 7451, 0, 14], [15321, 7990, 4800, 7451, 0, 14], [20659, 7990, 4800, 7451, 0, 14], [25958, 7990, 4800, 7451, 0, 14], [31411, 7990, 4800, 7451, 0, 14], [36710, 7990, 4800, 7451, 0, 14], [42009, 7990, 4800, 7451, 0, 14], [47308, 7990, 4800, 7451, 0, 14], [52647, 7990, 4800, 7451, 0, 14], [58022, 7990, 4800, 7451, 0, 14], [10022, 15864, 4800, 7452, 0, 14], [15321, 15864, 4800, 7452, 0, 14], [20659, 15864, 4800, 7452, 0, 14], [25958, 15864, 4800, 7452, 0, 14], [31411, 15864, 4800, 7452, 0, 14], [36710, 15864, 4800, 7452, 0, 14], [42009, 15864, 4800, 7452, 0, 14], [47308, 15864, 4800, 7452, 0, 14], [52647, 15864, 4800, 7452, 0, 14], [58022, 15864, 4800, 7452, 0, 14], [10022, 23815, 4800, 7452, 0, 14], [15321, 23815, 4800, 7452, 0, 14], [20659, 23815, 4800, 7452, 0, 14], [25958, 23815, 4800, 7452, 0, 14], [31411, 23815, 4800, 7452, 0, 14], [36710, 23815, 4800, 7452, 0, 14], [42009, 23815, 4800, 7452, 0, 14], [47308, 23815, 4800, 7452, 0, 14], [52647, 23815, 4800, 7452, 0, 14], [58022, 23815, 4800, 7452, 0, 14], [10022, 31805, 4800, 7451, 0, 14], [15321, 31805, 4800, 7451, 0, 14], [20659, 31805, 4800, 7451, 0, 14], [25958, 31805, 4800, 7451, 0, 14], [31411, 31805, 4800, 7451, 0, 14], [36710, 31805, 4800, 7451, 0, 14], [42009, 31805, 4800, 7451, 0, 14], [47308, 31805, 4800, 7451, 0, 14], [0, 0, 9600, 7452, 0, 15], [10022, 0, 4800, 7452, 0, 15], [15321, 0, 4800, 7452, 0, 15], [20659, 0, 4800, 7452, 0, 15], [25958, 0, 4800, 7452, 0, 15], [31411, 0, 4800, 7452, 0, 15], [36710, 0, 4800, 7452, 0, 15], [42009, 0, 4800, 7452, 0, 15], [47308, 0, 4800, 7452, 0, 15], [52647, 0, 4800, 7452, 0, 15], [58022, 0, 4800, 7452, 0, 15], [10022, 7990, 4800, 7451, 0, 15], [15321, 7990, 4800, 7451, 0, 15], [20659, 7990, 4800, 7451, 0, 15], [25958, 7990, 4800, 7451, 0, 15], [31411, 7990, 4800, 7451, 0, 15], [36710, 7990, 4800, 7451, 0, 15], [42009, 7990, 4800, 7451, 0, 15], [47308, 7990, 4800, 7451, 0, 15], [52647, 7990, 4800, 7451, 0, 15], [58022, 7990, 4800, 7451, 0, 15], [10022, 15864, 4800, 7452, 0, 15], [15321, 15864, 4800, 7452, 0, 15], [20659, 15864, 4800, 7452, 0, 15], [25958, 15864, 4800, 7452, 0, 15], [31411, 15864, 4800, 7452, 0, 15], [36710, 15864, 4800, 7452, 0, 15], [42009, 15864, 4800, 7452, 0, 15], [47308, 15864, 4800, 7452, 0, 15], [52647, 15864, 4800, 7452, 0, 15], [58022, 15864, 4800, 7452, 0, 15], [10022, 23815, 4800, 7452, 0, 15], [15321, 23815, 4800, 7452, 0, 15], [20659, 23815, 4800, 7452, 0, 15], [25958, 23815, 4800, 7452, 0, 15], [31411, 23815, 4800, 7452, 0, 15], [36710, 23815, 4800, 7452, 0, 15], [42009, 23815, 4800, 7452, 0, 15], [47308, 23815, 4800, 7452, 0, 15], [52647, 23815, 4800, 7452, 0, 15], [58022, 23815, 4800, 7452, 0, 15], [10022, 31805, 4800, 7451, 0, 15], [15321, 31805, 4800, 7451, 0, 15], [20659, 31805, 4800, 7451, 0, 15], [25958, 31805, 4800, 7451, 0, 15], [31411, 31805, 4800, 7451, 0, 15], [36710, 31805, 4800, 7451, 0, 15], [42009, 31805, 4800, 7451, 0, 15], [47308, 31805, 4800, 7451, 0, 15], [0, 0, 9600, 7452, 0, 16], [10022, 0, 4800, 7452, 0, 16], [15321, 0, 4800, 7452, 0, 16], [20659, 0, 4800, 7452, 0, 16], [25958, 0, 4800, 7452, 0, 16], [31411, 0, 4800, 7452, 0, 16], [36710, 0, 4800, 7452, 0, 16], [42009, 0, 4800, 7452, 0, 16], [47308, 0, 4800, 7452, 0, 16], [52647, 0, 4800, 7452, 0, 16], [58022, 0, 4800, 7452, 0, 16], [10022, 7990, 4800, 7451, 0, 16], [15321, 7990, 4800, 7451, 0, 16], [20659, 7990, 4800, 7451, 0, 16], [25958, 7990, 4800, 7451, 0, 16], [31411, 7990, 4800, 7451, 0, 16], [36710, 7990, 4800, 7451, 0, 16], [42009, 7990, 4800, 7451, 0, 16], [47308, 7990, 4800, 7451, 0, 16], [52647, 7990, 4800, 7451, 0, 16], [58022, 7990, 4800, 7451, 0, 16], [10022, 15864, 4800, 7452, 0, 16], [15321, 15864, 4800, 7452, 0, 16], [20659, 15864, 4800, 7452, 0, 16], [25958, 15864, 4800, 7452, 0, 16], [31411, 15864, 4800, 7452, 0, 16], [36710, 15864, 4800, 7452, 0, 16], [42009, 15864, 4800, 7452, 0, 16], [47308, 15864, 4800, 7452, 0, 16], [52647, 15864, 4800, 7452, 0, 16], [58022, 15864, 4800, 7452, 0, 16], [10022, 23815, 4800, 7452, 0, 16], [15321, 23815, 4800, 7452, 0, 16], [20659, 23815, 4800, 7452, 0, 16], [25958, 23815, 4800, 7452, 0, 16], [31411, 23815, 4800, 7452, 0, 16], [36710, 23815, 4800, 7452, 0, 16], [42009, 23815, 4800, 7452, 0, 16], [47308, 23815, 4800, 7452, 0, 16], [52647, 23815, 4800, 7452, 0, 16], [58022, 23815, 4800, 7452, 0, 16], [10022, 31805, 4800, 7451, 0, 16], [15321, 31805, 4800, 7451, 0, 16], [20659, 31805, 4800, 7451, 0, 16], [25958, 31805, 4800, 7451, 0, 16], [31411, 31805, 4800, 7451, 0, 16], [36710, 31805, 4800, 7451, 0, 16], [42009, 31805, 4800, 7451, 0, 16], [47308, 31805, 4800, 7451, 0, 16]]);&lt;/script&gt;
&nbsp;


Your suggestion is noted -- we'll think about it. Hope this helps in the meantime!
Photo of Peter

Peter

  • 28 Posts
  • 0 Reply Likes
It definitely hellp!! Thank so much!!
Photo of squeakydave

squeakydave

  • 3 Posts
  • 0 Reply Likes
Hi. I guess I have the same question. I suppose I can go the automated 'create your own' seadragon zoom which it seems would host the image on the seadragon url. (and could be taken down at any time) Ideally though I would like to host it on my own site. Is there an artist friendly way of doing this? (I'm not sure I understand about cross domain thing)
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
We're working on updating Deep Zoom Composer to use this "combo embed", so then publishing your compositions onto your own website will be as simple as uploading the Deep Zoom Composer output.

In the meantime, though, I can help you in the same way I helped Peter: just point me to your DZI XML file (hosted on your own site), and I'll give you back the embed snippet to paste into your site. Is that good enough for now? :)
Photo of squeakydave

squeakydave

  • 3 Posts
  • 0 Reply Likes
Hi Aseem:
Thanks for that. Currently I'm reworking my portfolio site. I have some big Illustrations that I would like deepzoomed though the list isn't final yet.
As a temporary measure I am happy to use the 'create your own' Seadragon feature until DZC is updated. Would my artwork be safe there?

Alternatively - to stop wasting your time :-) is there a recipe as to how to arrive at the embed code myself?

Dave
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
Hey Dave,

Unfortunately, the "create your own" Seadragon feature doesn't accept already-generated DZIs (e.g. compositions made through Deep Zoom Composer) -- it's meant to accept raw source images (e.g. JPEGs, PNGs) that *it* converts to DZIs. We do plan on fixing that, it's just a matter of balancing priorities. :)

In the meantime, it is indeed very easy to arrive at the embed code yourself! Open up your DZI XML (e.g. GeneratedImages/dzc_output.xml, but make sure the XML starts with <Image> and not <Collection> -- if it starts with Collection you need to make sure you select "composition" instead of "collection" in Deep Zoom Composer), choose one of these options and fill in the values:

Option 1 - this is really easy, but it requires your DZI to be on the same domain as the webpage which is showing this embed:


&lt;script src="http&#58;//seadragon&#46;com/combo/embed.js"&gt;&lt;/script&gt;
&lt;script&gt;Seadragon.embed("auto", "400px", "GeneratedImages/dzc_output.xml");&lt;/script&gt;
&nbsp;

Option 2 - this is a lot more work, and you only need to do this if the DZI will be on a different domain than the page showing the embed:


&lt;script src="http&#58;//seadragon&#46;com/combo/embed.js"&gt;&lt;/script&gt;
&lt;script&gt;Seadragon.embed("auto", "400px", "http&#58;//example&#46;com/path/to/GeneratedImages/dzc_output.xml", WIDTH, HEIGHT, TILESIZE, TILEOVERLAP, TILEFORMAT, DISPLAYRECTS);&lt;/script&gt;
&nbsp;


  • WIDTH - the Width attribute in the XML, e.g. 20000

  • HEIGHT - the Height attribute in the XML, e.g. 15000

  • TILESIZE - the TileSize attribute in the XML, e.g. 254

  • TILEOVERLAP - the TileOverlap attribute in the XML, e.g. 1

  • TILEFORMAT - the Format attribute in the XML, e.g. "jpg" or "png"

  • DISPLAYRECTS - this is the trickiest. This is an array of the DisplayRect elements from the XML, where each DisplayRect element is represented as an array of six numbers: X, Y, Width, Height, MinLevel, MaxLevel. So e.g. [[0,0,1024,768,0,8],[...],...]


That last one is the trickiest. If you need some help, feel free to just point me to your XML and I'll run it through an internal script we made for this purpose. ;)

But hopefully, you can just put the DZI on the same domain as your site, so you can just stick with option 1!

We're working on updating the Deep Zoom Composer templates, btw, to use this combo embed. Hopefully we can get this update out to you guys soon!

Let me know if you need any other help. =)

EDIT: Btw, in both the examples, the first two arguments to embed() are the desired width and height of the embed viewer, in CSS units. So "auto", "400px" means the width will be set to "auto" and the height will be set to "400px". The third argument is the path to the DZI relative to the webpage showing the embed, so in both examples, feel free to edit this path if it's different.
Photo of squeakydave

squeakydave

  • 3 Posts
  • 0 Reply Likes
Thanks Aseem
I'll give it a go and look forward to the updated DZC
Photo of Pratik

Pratik

  • 1 Post
  • 0 Reply Likes
Hi Aseem,

Can you give me the embed code. It will be hosted on another domain.

The dzc_output file is in:
http://prahan.com/BaxterBarn/2010king...

Thanks
Photo of Aseem Kishore

Aseem Kishore, Former Employee

  • 702 Posts
  • 124 Reply Likes
Here you go Pratik:


&lt;script src="http&#58;//seadragon&#46;com/combo/embed.js"&gt;&lt;/script&gt;
&lt;script&gt;Seadragon.embed("auto", "400px", "http&#58;//prahan&#46;com/BaxterBarn/2010kingcountyharvestcelebrationposter/GeneratedImages/dzc_output.xml", 3300, 5100, 256, 1, "jpg");&lt;/script&gt;

That should do it; let me know if it doesn't work.