Images not Showing using Spry

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Images not Showing using Spry

    I am trying to learn xml, xsl, and how to use these with spry with the
    client-side approach. I can get text to show up using the dataset from the xml
    file and Dreamweaver spry regions in an html file. However, images do not show
    up. When defining my spry xml dataset in Dreamweaver, I showed my "image"
    element to be of the image data type.

    When testing this in Safari, it just says "undefined" where I would expect to
    see an image. In Firefox, the text that I put into the images element in xml
    shows up-- "/images/butterfly2.jpg"
    Here is a link to the site where I am testing this:
    [url]http://myweb.cableone.net/mccook/books/[/url]

    Here is my xml code:
    <?xml version="1.0" encoding="UTF-8"?>
    <?xml-stylesheet href="books.xsl" type="text/xsl"?>

    <books>
    <book>
    <title>Making it Work </title>
    <author>Clyde Best</author>
    <image>/images/butterfly2.jpg</image>


    </book>

    <book>
    <title>Making it Fail </title>
    <author>Klutz Dweeb </author>
    <image>/images/butterfly2</image>
    </book>
    </books>
    And I don't know if the xsl file is even used in the Dreamweaver spy process.
    If it is, let me know and I will post that code too.
    I would greatly appreciate assistance with this. I have spent hours trying to
    solve the problem, to no avail.

    Monty


    MontyC Guest

  2. Similar Questions and Discussions

    1. Images not showing on edit
      Hi I have Contribute CS3 on the PC and when I navigate to this page http://www.beaufieldhomes.co.uk/homes/white_gates.html I can see the images,...
    2. images not showing up
      Hi everyone. I am VERY new to Dreamweaver which I am currently using to create a wesbite for the non-profit I work for. This is my first website...
    3. AdRotator Images not Showing
      I am currently developing an ASP.Net website for a client and one of the users is not able to see images rendered by the AdRotator control. I have...
    4. Images are not showing up
      My images aren't showing up when I email DWfiles to a client to look over. What do I need to do in DW to make them show up on the templates in an...
    5. images not showing
      dreamweaver mx. 4 page site, all images show when tested seperatly in browser F12. Then if you try to link to any of the other 3 pages the links...
  3. #2

    Default Re: Images not Showing using Spry

    "MontyC" <webforumsuser@macromedia.com> wrote in message
    news:f2j2c1$kso$1@forums.macromedia.com...
    > When testing this in Safari, it just says "undefined" where I would
    > expect to
    > see an image. In Firefox, the text that I put into the images element in
    > xml
    > shows up-- "/images/butterfly2.jpg"
    > Here is a link to the site where I am testing this:
    > [url]http://myweb.cableone.net/mccook/books/[/url]
    Due to a bug in Safari you can't use <image> as a tag name in the XML.
    Rename the tag and it willwork. Then blame Aple.

    > And I don't know if the xsl file is even used in the Dreamweaver spy
    > process.
    Not at all.


    --
    ----------------------------
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion and Dreamweaver developers:
    [url]http://www.massimocorner.com[/url]
    ----------------------------


    Massimo Foti Guest

  4. #3

    Default Re: Images not Showing using Spry

    Thank you so much, Massimo. Your response helped me get it to work.
    MontyC Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139