Adding Links in Deep Zoom Composer (June 2009 Preview)

One of the new navigation features that we are supporting in the updated release of Deep Zoom Composer  is the ability to add links. This post is a follow up to my previous posts about the other navigation features: slideshow and menu support in the June 2009 Preview.

Navigation Using Links

With links support you will be able to add interactivity to your Deep Zoom content beyond zooming. When a user clicks on an image inside the browser that has a link created with Deep Zoom Composer the content will pan to another image or link to an external hyperlink. You can access the links features in the tabs to the left of the “Layers” tab. There are two tabs related to links:

    • Internal links: this tab is used for creating links between images & areas within the Deep Zoom content in the browser.
    • External links: this tab is used for creating connections between images & areas in the content to link to URLs.

image

All images that are added to the project can be viewed in the “Images” tab which is now located at the bottom of the artboard. When you drag/drop the images onto the artboard they are displayed in the “Layers” tab. Below is an example of images I have arranged on the artboard:

image The images above are all of my 1.5 year old golden retriever Texas :) 

Adding Links to Images & Areas

Along with the ability to add images to the artboard we have a new feature called “Areas” which can be used to mark or add a placeholder to a section in the Deep Zoom content. These areas can be used later to link with other images so that when the user clicks on an image the content pans to the area in the browser.

image

“Areas” can be added by clicking on the “Add Area” icon highlighted above in the “Images” tab.
This icon is located next to the “Add image” icon.

image

Above is an example of four separate areas that I added to mark the text sections in my background image that I would like to link to other images. When the user clicks the specific areas I would like the Deep Zoom content to pan to a specific set of images in my composition.

Internal Links

The internal links tab allows you to drag and drop images & areas directly from the “Layers” tab. For example, when you drag image “A” into the tab the following dialog displays which allows you to associate this image with another image to establish a direct link:

image This list box displays all of the images that are being used in the artboard.

The same can be done for areas when you drag an area from the “Layers” tab into the “Internal Links” tab and pick images to establish a direct link. You can see below that I have two areas labeled “Area” and “Area 1” that are directly linked to two images on the artboard. When this is previewed in the browser the user can click the section where the areas is located and the Deep Zoom content will pan to the linked image.

image

External Links

Similar to the way you create internal links you can also create external links to URLs. You can drag/drop an image or area from the “Layers” tab into the “External Links” tab to associate with a URL. The following “Manage External Links” dialog will appear where you can create and enter URL information.

image

In this case when a user is viewing the content in a browser and clicks on the image displayed below a separate window will open linking to the URL specified above (a Flickr search of Lake Crescent images).

image

You can edit/remove external links by either right clicking on the entry in the “External Links” tab or opening the Tools->Manage External Links dialog. You can also add tooltips to images by selecting the image and entering text in the “Tooltip” section of the “Properties” panel:

image

In the browser, the user will be able to hover over this specific image and see the tooltip letting them know that they can click it and be redirected to another site.

Previewing Links in a Browser

In the “Export” workspace the user can edit the output settings to export to Silverlight, click the “Export” button, and then click the “Preview in Browser” option to view the Deep Zoom content in Silverlight.

Below is the player that is displayed in the browser in Silverlight. The default controls in the player that are include are: “Zoom in”, “Zoom out”, “Go to previous”, “Go to next”, “Home”, and “Toggle full screen mode”. In the Silverlight control below you will also notice that you can click on the areas that are located over the text which will link you to specific images. You can also click on the “Lake Crescent” image with the tooltip which will redirect you to the Flickr search URL. Use the controls or the mouse wheel/buttons to navigate the content below:

The items that are exported from Deep Zoom Composer can be viewed in the user specified folder under the “Location” label in the “Export” tab. For more info on how to integrate the exported Deep Zoom content into your website/blog check out my previous post on menu support in Deep Zoom Composer.

Stay tuned for more blog posts on Deep Zoom Composer!

Smiles,
Janete   

Share and Enjoy:
  • E-mail this story to a friend!
  • Twitter
  • Facebook
  • Digg
  • del.icio.us
  • Google Bookmarks
  • StumbleUpon
  • RSS

Trackbacks & Pingbacks

  1. Deep Zoom Composer – Adding Links, Creating Menus, and Creating Slideshows | Silverlight Travel pingbacked Posted July 8, 2009, 9:39 pm

    [...] Adding Links [...]

  2. New Deep Zoom Composer features « Dragonosticism pingbacked Posted July 9, 2009, 9:36 am

    [...] Adding Links [...]

  3. DotNetShoutout trackbacked Posted July 12, 2009, 5:42 pm

    Sunny Pixels | Adding Links in Deep Zoom Composer (June 2009 Preview)…

    Thank you for submitting this cool story – Trackback from DotNetShoutout…

Comments

  1. Quote

    Hello Janete,
    Internal links are not working for me.

    I exported(in deep zoom composer) as:
    Output type = “silverlight deep zoom”,
    Template = “Deep Zoom Classic + source”.

    I have not written any code. Just executed the project created by deep zoom composer. Please let me know where i am going wrong.

    Thanks.

  2. Quote

    Hi Amodi,

    I think my officemate Kirupa (from Kirupa.com) answered this question for you :):
    You have to use the Default Navigation template instead of the Deep Zoom Classic + source template.

    Let me know if you have any other questions :)

    Thanks!
    Janete

  3. Quote

    I wanted to and my thanks for this clear and straightforward tutorial.

    I’d also like to ask if it’s possible to still use the Internal/External links, Menu and Slideshow options if you are exporting to Seadragon Ajax instead of Silverlight?

    Thanks (x2)

    Ptah

  4. Quote

    Hello Janete,
    In C# how to display in blue the edges of areas and pictures
    defined in scene.xml in order that the visitor could click on them?
    I would like to reproduce the great behavior of the Headlight player.

    default.xap works fine in a Web server
    (ASP.Net Development Server, Apache, online or localhost),
    but it does not seem to access to GeneratedImages
    if I zip GeneratedImages and default.xap
    on the Silverlight Streaming host: silverlight.live.com

    Thanks in Advance.
    Nimmzo

  5. Quote

    Hi

    Is it possible to access the interactivity added in Deep Zoom Composer while not within Deep Zoom Composer?

    I am trying to use the internal and external link interactivity that I added in deep zoom composer within a silverlight application project built in VS2008. After adding the contents of the /ClientBin that Composer exports to the VS2008 project I can load up the correct image(s) but there is no internal or external link interactivity. Outside of VS2008 the preview and test html’s that Composer exports never fully load up the .xap file – they just display the loading animation and ‘100%’.

    I just want to be able to associate my Silverlight application’s output .xap with the interactivity I have built into the .xap exported by DZ Composer. This is really frustrating. Apologies if missing something obvious.

    Thanks

    Simon

  6. Quote

    Hi again,

    I suppose i might simply be asking how to I get the multiscaleimage control in my .xaml to access the information stored in the scene.xml.

    Worryingly another post by kirupa suggests that this file can only be used by the ‘headlight player’ it references which is an older protocol for the Deep Zoom Composer.

    I must have misunderstood this as the idea that interactivity adding by the DZ Composer is only viewable with the DZ Composer seems ridiculous.

    Please correct me asap as I only have a short time in which to present a Silverlight/deep Zoom solution or use another approach entirely

    Thanks again

    Si

  7. Quote

    Back again,

    I added the following param to the object tag

    hoping to access the .xml files in that folder but no change :(

    i did get a basic html page to display the link interactivity as the test.html produced by DZC by navigating to it via the same port that the the expression development server was running on

    e.g. http://localhost:…/myOwnTest.html

    What is the difference between the expression and asp.net internal dev servers and how can I access what expression server has from .net server in VS2008

    Sorry to bother you again but i want to understand this and for it too work.

    Si

  8. Quote
    s.gnanasekar said June 30, 2010, 11:55 pm:

    hello how to change border size of the image in deep zoomer…..

Leave a Comment

Formatting Your Comment

The following XHTML tags are available for use:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

URLs are automatically converted to hyperlinks.