Attention: PROnetworks has upgraded our forum from phpbb2 to phpbb3!!

Please head over to our new converted forum at: http://www.pronetworks.org/forums/

This old forum will remain 'read-only' until approximately February 2009. We look forward to seeing you at the new forum!
Author Message
c0ldfyr3
Andrew J Gurklies
PostPosted: Mon Apr 28, 2008 6:09 pm Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3067
Location: 127.0.0.1
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-sheet.xml?r=Lightbringer&n=Diabloloco

to myspace, or on a website of my own.
 
Back to top
poisonbl
Joshua M. Murphy
PostPosted: Tue Apr 29, 2008 11:27 am Reply with quote

PRO Level 15
 
 


Joined: 15 Nov 2004
Posts: 1041
Location: WVU -- Morgantown, WV. -- USA (TZ: -5 hrs GMT, -4 DST)
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.
 
Back to top
c0ldfyr3
Andrew J Gurklies
PostPosted: Tue Apr 29, 2008 8:10 pm Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3067
Location: 127.0.0.1
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
Code:

$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???
 
Back to top
c0ldfyr3
Andrew J Gurklies
PostPosted: Tue Apr 29, 2008 9:20 pm Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3067
Location: 127.0.0.1
this just isn't enough for my myspace.. lol no onw will even notice it...





i want my friends to be able to view my toon from my profile page.. hmmmm
 
Back to top
Back to top

Page 1 of 1

 


Tired of the Ads? Registered users have 80% less adverts.