hayem
March 5, 2010, 3:12pm
1
I am using this link to open pictures when someone clicks on this link
http://www.joehopeinc.com/wp-content/uploads/2010/03/presentation.jpg
when i copy/paste in Firefox no problem i can see the picture.
when i try with Internet Explorer I see small x box.
what can cause this problem?
ralphm
March 5, 2010, 11:23pm
2
It’s got something to do with how you’ve saved the image. When I download your image it doesn’t have the .jpg extension, so obviously IE has issues with that.
Using Photoshop, I saved your image for the web, and it now works in IE. So review how you are saving things for the web.
You can test/download the resaved image from here:
http://www.pageaffairs.com/presentation.jpg
How are you preparing images for the web?
hayem
March 6, 2010, 5:11am
3
thank you ralph.
i had to save as.gif and works now.
is there a way to center the image?
ralphm
March 6, 2010, 5:39am
4
You certainly don’t have to do that. You can use the version I posted if you like.
is there a way to center the image?
Only if you create a page for the image, and then link to that page rather than to the image itself.
Create the page, embed the image in it with the <img … > tag, and then center it with CSS.
E.g.
HTML
<body>
<p><img src="image.gif" alt=""></p>
</body>
CSS
p {
margin: 0 auto;
width: 100px; /* set to width of image */
}
hayem
March 6, 2010, 3:30pm
5
thank you ralph.m for the code.
I will see how my client wants to proceed.