iframes?
4 posts
• Page 1 of 1
iframes?
is it possible to embed an iframe in a image?
if so how, and if not..
how would i link my wow charachter from here
http://www.wowarmory.com/character-shee ... Diabloloco
to myspace, or on a website of my own.
No you can't embed an iframe into an image, but if you use php or some other means of server generated pages, you can query a lot of the armory info at page load, though I've not looked too heavily into the specific coding to do it. You can also use one of the armory based sig generation sites that will pull the info for you, throw it into an image, and update weekly or so ...
http://www.dkpsigs.com is the site I used, and it looks like this:
But, there's a ton of other sites that do it as well... if you want a more "full" view, you'll likely have to build your own page that references the armory data, or just pull the whole of the armory page into an iframe. If you want a image based border *around* the iframe, you should be able to do that with css, but I don't have time to look up specifics.
- poisonbl
- Posts: 432
- Joined: Mon Nov 15, 2004 10:02 pm
- Location: WVU -- Morgantown, WV. -- USA (TZ: -5 hrs GMT, -4 DST)
well myspace is very stricked, so i was thinking as a work around i can just maybe use an iframe with in an image.. but then i remembered the GD2 ext. and i can use php to create an image..
would it be possible to use php to grab the links and such from the armory and add the code to an image ....
IE
where "http://www.wowarmory.com/character-sheet.xml?r=Lightbringer&n=diabloloco" is the image???
would it be possible to use php to grab the links and such from the armory and add the code to an image ....
IE
- Code: Select all
$im = imagecreate(800, 600);
// white background and blue text
$bg = imagecolorallocate($im, 255, 255, 255);
$textcolor = imagecolorallocate($im, 0, 0, 255);
// write the string at the top left
imagestring(http://www.wowarmory.com/character-sheet.xml?r=Lightbringer&n=diabloloco);
// output the image
header("Content-type: image/jpeg");
imagejpeg($im);
where "http://www.wowarmory.com/character-sheet.xml?r=Lightbringer&n=diabloloco" is the image???
4 posts
• Page 1 of 1
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 7 guests