开发者

swf not showing up?

I have a wordpress theme I'm adapting to a clients needs, but I can't make the sidebar ads, which are 125x125px, show a 开发者_开发知识库same sized swf instead of a image. If I insert a swf link, it show a broken image thumbnail. Please help me achieve this. If it helps you, the url of the website is http://infodrum.ro/inde2.php/

PHP code

<?php if(get_theme_option('ads_125') != '') {
?>
    <div class="sidebaradbox">
        <?php sidebar_ads_125(); ?>
    </div>
<?php } ?>

CSS

.ad125 {
    margin: 10px;
    height: 125px;
    width: 125px;
}


You're usually inserting a path to an image in The backend, right? Like "http://somedomain.com/image.jpg"

Most likely, The Code Inside The Plugin then Produces something like

<img src="WHATEVER YOU ENTERED" />

Since an SWF is Not a valid image, everything ends up being terrible.

I suggest you try The normal WP Text Widget instead!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜