Results 1 to 3 of 3

Thread: Help with changing the banner image!!

  1. #1
    Join Date
    May 2010
    Posts
    18
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Help with changing the banner image!!

    Hello,

    I am trying to change the banner of a website which is ".jpg" format into a flash file.

    At First I thought if I upload the .SWF file into the .JPG directory and then change the name from register.jpg into banner.swf in the header.tpl.php then it will show the banner.swf in the homepage!! But when I changed the register.jpg to banner.swf file and looked at the homepage of the site there was a small squer showing instead of the banner.swf!!

    Here is where I changed the name:

    <center><a href="http://www.rematerd.com/register.php"><img src="http://www.rematerd.com/images/register.jpg" title="Subasta al Mejor Postor"</a><center/>

    in the above code I just changed the regsiter.jpg into banner.swf but the banner.swf didn't show up!



    This must be very simple to do but I can't find the way for some reason!

    Any help or advise will be much appreciated.

    Thank you
    Kind Regards

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You're going to need to embed it into your page. Give this a shot: http://animation.about.com/od/flasha...swfwebpage.htm
    Jeremy | jfein.net

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Images use an <img> tag. Flash is NOT an image (even though it's a"picture"). It uses a different type of embedding, either an <embed> or <object> tag, or actually usually BOTH to make it work in most browsers. Nile's information above will help, and there's a lot more information on google.

    Note: you posted this in PHP for some reason, so I've moved it to HTML where it belongs. (The flash section would be fine too, but since this is about the html code, it's good there.) If this IS related to PHP, explain why and it can be moved back.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •