Welcome, Guest. Please login or register.
Did you miss your activation email?
2020-Jan-21 13:45

Login with username, password and session length

Recent

Shoutbox

Den:
Nov. 20 2019 - 1:23am
adding drop shadow to rules box makes art pop out toward viewer and rules box much interesting. overall the entire card looks much cooler
Den:
Nov. 16 2019 - 12:20am
check out the new card frames - Vogon GC - like greeting cards - just in time for the holiday season @
https://shenafu.com/magic/cc//
Den:
Nov. 15 2019 - 4:15am
check out the new card frames - Vogon LS - for landscape (letterbox) format @
https://shenafu.com/magic/cc//
break:
Sep. 01 2019 - 2:22am
@Den  Thanks, I have not submitted it and it should be available in about 24~48 hours !!
Den:
Aug. 31 2019 - 11:48pm
the same field for robot stat boost
break:
Aug. 20 2019 - 6:30pm
@Den Small question, what determines which stat and item use increases after battle (For Humans/Mutants) ?
break:
Mar. 24 2019 - 7:46pm
@Den Just finished 2nd playthrough and testing session. I really like the edits I have made. Going to take another week to look over things !!
break:
Mar. 11 2019 - 7:04pm
@Den Hey, thanks for all of the support. Finished with the changes and currently playing through the game !!

Author Topic: Text to image / Dynamic images  (Read 4014 times)

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1262
  • Selina is my Superstar
    • View Profile
    • Amuseum
Text to image / Dynamic images
« on: 2010-Jan-11 18:40 »
Using gd library in PHP, you can put text into images. Can be used for various things, like latest lastfm or twitter status, etc. (TODO: try SVG with inline scripting and styling.)

last.fm
Code: [Select]
http://www.shenafu.com/imgd/lastfm/username.png
e.g.

http://www.shenafu.com/imgd/lastfm/amuseum.png


twitter
Code: [Select]
http://www.shenafu.com/imgd/twitter/username.png
e.g.

http://www.shenafu.com/imgd/twitter/maro254.png


Days Until
Code: [Select]
http://www.shenafu.com/imgd/daysuntil/yyyymmdd.png
e.g.

http://www.shenafu.com/imgd/daysuntil/20121110.png


Weather Forecast
Code: [Select]
http://www.shenafu.com/imgd/weather/place.pngwhere place can be:

city
city,country  ISO 3166 country code
zip code
airport
latitude,longitude


e.g.

http://www.shenafu.com/imgd/weather/san francisco.png


Note: http://api.wunderground.com/ no longer provides free API keys. Find another provider.

Poems
Code: [Select]
http://www.shenafu.com/imgd/poem/genre_poemid_verseid.png
where genre is a valid available genre and poemid is out of accessible poems for that genre and verseid is out of max verses for that poem or song. If genre or poemid or verseid is not found, then it will be randomly selected.

Available genres and number of poems:
Genre# Poems
tang  320
american  12
kaytse  49
kara  1


e.g.






« Last Edit: 2018-Aug-14 21:09 by Den »
Support me on Patreon

I saw. I conquered. I came.

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1262
  • Selina is my Superstar
    • View Profile
    • Amuseum
Image of the Day
« Reply #1 on: 2010-Jan-17 17:42 »
Images of the Day

These SVG images are clickable, upon which a new window will open to the site. (SVGs are clickable only if contained within <object> tags.)

Code: [Select]
http://www.shenafu.com/imgd/daily/site.svg

Sites available, use code in first column (all lowercase):
nasa : http://www.nasa.gov/multimedia/imagegallery/iotd.html
osei : http://www.osei.noaa.gov/OSEIiod.html
epod : http://epod.usra.edu/
comic or comic_name: http://gocomics.com/name/
xkcd: http://xkcd.com/

e.g.
Code: [Select]
http://www.shenafu.com/imgd/daily/nasa.svg


Code: [Select]
http://www.shenafu.com/imgd/daily/comic_bc.svg


Code: [Select]
http://www.shenafu.com/imgd/daily/xkcd.svg

« Last Edit: 2012-Mar-30 19:41 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1262
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Text to image / Dynamic images
« Reply #2 on: 2012-Jan-02 00:31 »
From deck of KARA 5 suited deck, create a random poker hand. Changes hourly.
Code: [Select]
http://www.shenafu.com/imgd/kara5poker.png


Different animated gif on page refresh:
Code: [Select]
http://www.shenafu.com/imgd/kara5anim.gif
« Last Edit: 2012-Apr-03 23:08 by Den »

 

2 Guests, 0 Users