So yeah, since some users in the chatroom wanted a rotating avatar, I quickly put together a service for you guys.
How it works:
1) Create an account: Call this page in your browser, but replace the NAME with your desired username:
http://data.tymoon.eu/avatars/randicon.php?n=NAME
it should now have created a table for you on my database.
2) Fill it with pictures: to do this, call the following page in your browser, but replace NAME with the previously chosen NAME and URL with the url to the picture. Be careful, the NAME has to be exactly the same (case sensitive)! The same goes for the next steps.
http://data.tymoon.eu/avatars/randicon.php?u=NAME&a=URL
repeat this step as many times as you want.
3) Remove pictures: Just call this:
http://data.tymoon.eu/avatars/randicon.php?u=NAME&d=URL
it should have removed the url from the list.
4) Get a random picture: You just need to call:
http://data.tymoon.eu/avatars/randicon.php?u=NAME
and you'll get a random picture out of your list.
However, there are some limitations you should respect:
-phpBB3 (this forum software) only supports icons with the size 100x100. The pictures the urls links to HAVE to be that size.
-the url CAN'T contain apostrophes!
Otherwise, have fun using it! I hope it works for everyone!
If you have problems, just post here.
How it works in the backend:
The PHP script you are calling connects to my MySQL database and stores your data there. It then reads out the requested table into an array and chooses a random one. Next, it determines the filetype of the picture and sets the header of the file. Finally, it just prints out the picture contents. Simple. (40 lines of code, ~10 minutes of work)
Disclaimer: I do not have constant control over the content those URLs can link to and therefore no constant control over what the called URL may or may not display. I do not take responsibility for any damage done by the viewing of said URLs and/or generated URLs by third party users.
Icon randomizer service
Moderator: ArcWolf
Icon randomizer service
Tymoon.eu A new webcomic every Monday, Wednesday and Friday. Just like HP!
Shinmera@deviantART | Shinmera@FurAffinity
Shinmera@deviantART | Shinmera@FurAffinity
Re: Icon randomizer service
yeah I heared of that, but I stick to "gif-rotations" or just animations.
- Typhon
- Posts: 1008
- Joined: Sat May 08, 2010 1:16 am
- Location: In my house. Reading housepets. And organic chemistry.
Re: Icon randomizer service
I believe someone else has done this already and has a site set up too. Don't remember the username.
Re: Icon randomizer service
ReCreateTyphon wrote:I believe someone else has done this already and has a site set up too. Don't remember the username.
"Why would you ever want to connect the dots?"
-
- Posts: 1415
- Joined: Sun Mar 28, 2010 6:09 pm
- Location: http://bordomirc.co.cc
- Contact:
Re: Icon randomizer service
No, I had the idea, but never bothered actually doing it. XD(my avatar was a dynamic one that showed a random image, but i never made a site where others could set theirs up)Kyderra wrote:ReCreateTyphon wrote:I believe someone else has done this already and has a site set up too. Don't remember the username.
It's now static though, and I doubt it's gonna change for a long time.(if ever )
Don't let others define you, Only you can determine your fate
no longer active, sorry
no longer active, sorry