tania (22nd July 2009)
I've got a content item in which I have put the following code:
Now, this all displays fine in Safari. In IE and Firefox the images do not display. Can't work it out for life of me!<table align="center" width="600px">
<tr"><td><a href="http://www.websitename.co.uk/index.php?option=com_content&task=view&id=19&Itemi d=22" style="text-decoration:none" ><img src ="http://www.websitename.co.uk/images/stories/content/p1.jpg"></a></tr>
</tr>
</table>
Code:<table align="center" width="600px"> <tr> <td> <a href="http://www.websitename.co.uk/index.php?option=com_content&task=view&id=19&Itemi d=22" style="text-decoration:none"</a> <img src ="http://www.websitename.co.uk/images/stories/content/p1.jpg" alt="This is an image"> </td> </tr> </table>
Last edited by mac_shinobi; 24th February 2009 at 08:49 PM.
I'd forgotten to add a </td> tag, silly me. But I've validated the code now and I still can't view the images on some browsers?
Thanks for the help!
Baffled by how this worked, but thought I'd write how I fixed this in case anyone else reads the thread! I copied my jpg image into a new photoshop file, re-saved it, re-uploaded it and it worked... strange!
tania (22nd July 2009)
your final entry saved me as i was stumped and under a crunch deadline - it finally worked to just resave the images that were only not displaying in ie - thank you again!
Mac you missed out a '>' in there i'll leave it to you to edit italso I think she wanted to use the picture as a link.
Just a FYI but pictures as links are bad according to the DDA unless theres a text counterpart.
Should beCode:<a href="http://www.websitename.co.uk/index.php?option=com_content&task=view&id=19&Itemi d=22" style="text-decoration:none"</a>
Code:<a href="http://www.websitename.co.uk/index.php?option=com_content&task=view&id=19&Itemi d=22" style="text-decoration:none"></a>
cheers for that - however I dont get the edit button for the above post of mine so can not edit it and yes I am logged in
You also didn't close the img tag, but that doesn't really matter unless you want it fully valid.
<img src ="http://www.websitename.co.uk/images/stories/content/p1.jpg" alt="This is an image" />
There are currently 1 users browsing this thread. (0 members and 1 guests)