Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to add a .swf image


filmcell

Recommended Posts

any help would be great .

 

I want to add a swf file ( santa thing ) to my main index page . I have a jpg already there , So i just changed the name to the swf file. But all i got was a blank box.

 

<img border="0" src="http://www.'''''.co.uk/images/poster3.jpg" width="550" height="150"></p>

 

<img border="0" src="http://www.''''''.co.uk/images/santa.swf" width="550" height="150"></p>

 

Just got blank box. I put the swf in the image folder.

 

I think i may have to add more code?

 

thanks.

Link to comment
Share on other sites

.swf is a Shockwave video file. You can't just simply swap it in place of a .jpeg or .gif image name. I think you need some additional HTML code to "embed" a Shockwave application. Certainly it won't work with an image (<img>) tag. Look around to see what others have done with Shockwave -- I don't use it myself, but I seem to recall others talking about how they had used it.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...