Results 1 to 3 of 3

Thread: how can display the GIF file and swf file using PHP

  1. #1

    Thread Starter
    Fanatic Member vijy's Avatar
    Join Date
    May 2007
    Location
    India
    Posts
    548

    how can display the GIF file and swf file using PHP

    hai friends
    i am trying to dispaly a banner for my website it contains both gif file and swf files...
    to display both using same code what can i do so...
    i tried using object tag...but the size of gif is not increasing according to width and height i specified,it display in its default size and i cannot able to give a url link from the image.


    please try clear any of u .....
    Visual Studio.net 2010
    If this post is useful, rate it


  2. #2
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: how can display the GIF file and swf file using PHP

    what you are trying to do is css/html, not php.
    My usual boring signature: Something

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: how can display the GIF file and swf file using PHP

    Why not use a conditional on the server side? You cannot reliably use an object tag to display an image. It may be standard but few browsers support it properly and it triggers various undesirable mechanisms such as Adblock et al.

Posting Permissions

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



Click Here to Expand Forum to Full Width