Jump to content

Gif Animado Fica Parado


Recommended Posts

Pessoal tenho um site que faz upload da imagens so que os gifs animados ficam parado segue o php


$BuscaBanner = mysql_query ("SELECT * FROM banners WHERE exibe = '1' AND posicao = 't' AND id != '$IdBannerTop' ORDER BY rand() LIMIT 1");

while($retorna = mysql_fetch_array($BuscaBanner)){
$IdBannerTop = $retorna[id];?>

<script src="DWConfiguration/ActiveContent/IncludeFiles/AC_RunActiveContent.js" type="text/javascript"></script>

       <TR align="center">
       <TD vAlign=center align=middle height=70>
   <? if(substr($retorna[imagem],-3) == "swf"){ ?>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="510" height="60">
          <param name="movie" value="imagens/banners/<?=$retorna[imagem];?>" />
          <param name="quality" value="high" />
          <embed src="imagens/banners/<?=$retorna[imagem];?>" quality="high" pluginspage= "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="510" height="77"></embed>

if($retorna[site] != NULL){ 
       <A href="http://<?=$retorna[site];?>" target=_blank> 
<? } ?>
       <IMG src="imagens/thumbs.php?maxsize=510&src=banners/<?=$retorna[imagem];?>" border=0>

       <? if($retorna[site] != NULL){ ?></A> <? } }?>        
<? }
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.