I dont get it...
The 1st works,

<!DOCTYPE html>
<BODY>
<TABLE align="center" valign="center" summary="This table places remote photography" border="1">
<CAPTION><EM>Photography</EM></CAPTION>
<TR align="center" valign="center">
<TD><img align="center" valign="center" height="495" width="1200" alt="An image from REMOTE location" src="http://www.petapixel.com/assets/uploads/2012/11/stackedclouds-1.jpg"></TD>
</TR>
</TABLE>
</BODY>

& the 2nd does not work ????

<!DOCTYPE html>
<BODY>
<TABLE align="center" valign="center" summary="This table places remote photography" border="1">
<CAPTION><EM>Photography</EM></CAPTION>
<TR align="center" valign="center">
<TD><img align="center" valign="center" height="495" width="1200" alt="An image from REMOTE location" src="http://www.hermosawavephotography.com/potd/detail.php?pixid=913565"></TD>
</TR>
</TABLE>
</BODY>

Recommended Answers

All 5 Replies

The link in the first example is for a image. So you can assign that to the source of an image element. However, look closely at the URL for the second example. It points to a page (PHP), not an image.

Iknow but copy/paste into url
thats the link given by that site as a permalink to the image

It points to a page (PHP), not an image.

As JorgeM and naphets said, the second <img> source is an php page, not an image.

But just to make it clear, note that the point is that the php page returns HTML content. An url with .php extension could return an jpeg/bitmap content(when reading a image from a database in example), but it's not the case.

So... is there any way to use this sites images with they way they offer permanent links?

An url with .php extension could return an jpeg/bitmap content(when reading a image from a database in example), but it's not the case.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.