homepage Welcome to WebmasterWorld Guest from 54.234.128.25
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
iFrame Forwarding automatically!
iFrame Forwarding automatically!
rogerharper




msg:3676439
 4:08 am on Jun 17, 2008 (gmt 0)

I am trying to embed a picture from this link into an iframe. But somehow, weirdly, the whole page is being forwarded to the site.

here is the iframe code I am using:
<iframe src="http://www.example.com/content.php?id=9369968" name="euro2008" scrolling="auto" frameborder="no" align="center" height = "500px" width = "500px">
</iframe>

What is going on? What am I missing? Please enlighten!

[edited by: engine at 2:54 pm (utc) on June 18, 2008]
[edit reason] No links, thanks, please post code [/edit]

 

rogerharper




msg:3677928
 7:48 pm on Jun 18, 2008 (gmt 0)

no one has a clue?

londrum




msg:3677954
 8:05 pm on Jun 18, 2008 (gmt 0)

if that last part of the url is real, then it looks like you are linking to an actual page (a php script), rather than an image

the image is probably being served through the php script. the script has probably got a bit in it that stops people hotlinking the image.

(displaying other people's images on your website without uploading it to your own server first is considered bad form - because you are using up their bandwidth without giving them any benefit.)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved