Jump to content
celsoaroliveira

Gif Animado Fica Parado

Recommended Posts

celsoaroliveira

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

TOPO.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>
</object>

<?
}else{
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> <? } }?>        
</TD>
</TR>
<? }
?>

Share this post


Link to post
Share on other sites
HappyHippyHippo

xiiiiii

antes do mais, esta secção é a errada

depois, a quantidade de erros/warning no teu PHP deverá ser alarmante

nem sei porque meteste ai o código de flash ...

não se vê nehuma imagem gif no teu código


IRC : sim, é algo que ainda existe >> #p@p

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • 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.