Samuel Mathews Samuel Mathews - 1 year ago 69
HTML Question

Image not being retrieved from Dropbox

I have an image slider. When I try toe retrieve the images from my server, the images are properly displayed. (

However, when I try to retrieve the same images from Dropbox, the images are not displayed/retrieved. (

<img src="" alt="image" />

When I open the link in the
attribute in the browser, the images can be seen, so the link is obviously not broken. Please share your suggestions.

Samuel Mathews.

Answer Source

The link in your code opens the gallery feature of Dropbox, which is a HTML webpage, not an image file. The direct link for that image is:

You should always set the source of an image tag in HTML to an URL which outputs an image - and not a webpage containing an image.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download