Dynamic Images not showing on server

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Dynamic Images not showing on server

    Hi
    I have developed a database and uploaded it to the server. I am using a repeat
    to show all records given a particular value. The database has a reference to
    the image, ie images/adhesives/2033.jpg

    I added a dynamic image to the region, and selected fields from the record set
    rsAdhesives.
    I can see the folowing field: text description, price and title. I can't
    however see the images. I used the following to display the images
    dynamically: <%=(rsAdhesives.Fields.Item("ProdImage").Value)% >


    Do I have to prepend some of the path I used to make the database connection
    into the image path on the database?

    It show the image in Live Data mode but not if I connect to the internet and
    browse my way there.

    libbystow Guest

  2. Similar Questions and Discussions

    1. Extension: Dynamic Images/Advance Random Images
      Hi there, I have downloaded 2 extensions: Dynamic Images or/and Advanced Random Images (kaosweaver.com); it seems both are the same and I have...
    2. 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,...
    3. 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...
    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: Dynamic Images not showing on server

    Hi Libby,

    I'm assuming that your image field, in your database, holds the name of the
    file? 2033.jpg?

    If so, then you want to use this:

    <img
    src="images/adhesives/<%=(rsAdhesives.Fields.Item("ProdImage").Value)%>" >

    Hope this helps.

    Nath.

    "libbystow" <webforumsuser@macromedia.com> wrote in message
    news:d4kphf$b6g$1@forums.macromedia.com...
    > Hi
    > I have developed a database and uploaded it to the server. I am using a
    > repeat
    > to show all records given a particular value. The database has a reference
    > to
    > the image, ie images/adhesives/2033.jpg
    >
    > I added a dynamic image to the region, and selected fields from the record
    > set
    > rsAdhesives.
    > I can see the folowing field: text description, price and title. I can't
    > however see the images. I used the following to display the images
    > dynamically: <%=(rsAdhesives.Fields.Item("ProdImage").Value)% >
    >
    >
    > Do I have to prepend some of the path I used to make the database
    > connection
    > into the image path on the database?
    >
    > It show the image in Live Data mode but not if I connect to the internet
    > and
    > browse my way there.
    >

    Nathon Jones Guest

  4. #3

    Default Re: Dynamic Images not showing on server

    Hi Nat
    Unfortunately that didn't work either. I think it's because the path has to be even more specific for this web hosting company . If you have any other ideas they are welcome.

    Cheers
    libbystow Guest

  5. #4

    Default Re: Dynamic Images not showing on server

    As long as you give the relative path to the folder your images are stored it,
    it will work locally and on the live server, of course this assumes the images
    are all uploaded..?

    If you have not already, enter an Alt tag, so if the images are not loaded,
    the browser will show the ALT tag and this might give you better idea of what
    is going on.
    Also check the properities of the Image tag on your live page to see the path
    it is following for the images.

    Originally posted by: libbystow
    Hi
    I have developed a database and uploaded it to the server. I am using a repeat
    to show all records given a particular value. The database has a reference to
    the image, ie images/adhesives/2033.jpg

    I added a dynamic image to the region, and selected fields from the record set
    rsAdhesives.
    I can see the folowing field: text description, price and title. I can't
    however see the images. I used the following to display the images
    dynamically: <%=(rsAdhesives.Fields.Item("ProdImage").Value)% >


    Do I have to prepend some of the path I used to make the database connection
    into the image path on the database?

    It show the image in Live Data mode but not if I connect to the internet and
    browse my way there.



    CarlGrint Guest

  6. #5

    Default Re: Dynamic Images not showing on server

    Hi Carl and Nat
    My apologies the original answer from Nat was correct. I can see the images in
    Mozilla Firefow and Mac IE but not in PC IE. This makes me think some coding
    somewhere needs some attention to fix this bug.

    Thanks for the help
    Cheers:D

    libbystow Guest

  7. #6

    Default Re: Dynamic Images not showing on server

    Strange one that Lib.
    Not sure why it would work in one browser and not another...the data source
    is the same and the image location is the same.

    It's easy to delete out an important " or < or % somewhere along the line
    though, particularly when you're staring at code all the time.

    Hope you manage to sort it.
    Nath.

    "libbystow" <webforumsuser@macromedia.com> wrote in message
    news:d4o2b7$dc8$1@forums.macromedia.com...
    > Hi Carl and Nat
    > My apologies the original answer from Nat was correct. I can see the
    > images in
    > Mozilla Firefow and Mac IE but not in PC IE. This makes me think some
    > coding
    > somewhere needs some attention to fix this bug.
    >
    > Thanks for the help
    > Cheers:D
    >

    Nathon Jones 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