[WEB] HTML5 Skin Viewer

Discussion in 'Bukkit Tools' started by earthiverse, Feb 14, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    earthiverse

    http://earthiverse.ath.cx:8000/test5.php for an example using iframes.

    I'll get some updated source up, so people can just throw it in a folder and use it on their own sites.
    It's horribly inefficient because it makes like 44 images per person (Well, it's not too bad, considering I run everything off a $300 acer mini-desktop and my load average is ~1.1 for a cheap AMD dual core).
    It's about 200 KB of storage per skin.

    Ideally, I'd like to somehow manipulate the image on the client-side using javascript, but I'm bad at coding, and school is keeping me busy.
     
  2. Offline

    contex

    Thank you, I will be waiting for the source. Also as I said above, add an overlayed copyright text in bottom right (c) earthiverse so people do not take the credits :)
     
  3. Offline

    earthiverse

    http://dl.dropbox.com/u/431832/skin.zip
    I won't bother adding a copyright, people will just remove it.

    Steps you should take:
    1. Unzip to php-enabled website (You'll need gd too, but this is pretty much standard)
    2. Open the index.php file, see if it works.
    3. Add ?user=Your_Username to the end of the url, see if it works.

    I don't know how well this will work, as I haven't tested it on other websites.
    I don't see any reason for it not to work out-of-the-box.
    Reply with errors that you encounter or improvements.
     
  4. Offline

    contex

    I will try right now on my VPS. Give me a second.

    The index works, it shows the 3D model, but trying to show the 3d model of a username does not work: http://moincraft.com/skin/index.php?user=contex

    PHP 5.2.10 (cli) (built: Nov 13 2009 11:44:05)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

    php-gd-5.2.10-1.el5.centos
    php-5.2.10-1.el5.centos

    Access log: *.*.*.* - - [10/Mar/2011:11:28:47 -0500] "GET /skin/index.php HTTP/1.1" 200 8421 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13"

    Error log:
    Code:
    [Thu Mar 10 11:31:54 2011] [error] [client *.*.*.*] PHP Warning:  include_once(resources/rmdir.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/html/skin/backend/backend.php on line 125
    [Thu Mar 10 11:31:54 2011] [error] [client *.*.*.*] PHP Warning:  include_once() [<a href='function.include'>function.include</a>]: Failed opening 'resources/rmdir.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/skin/backend/backend.php on line 125
    [Thu Mar 10 11:31:54 2011] [error] [client *.*.*.*] PHP Warning:  mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in /var/www/html/skin/backend/backend.php on line 41
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  file_put_contents(images/skins/contex/base.png) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: No such file or directory in /var/www/html/skin/backend/backend.php on line 46
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecreatefrompng(images/skins/contex/base.png) [<a href='function.imagecreatefrompng'>function.imagecreatefrompng</a>]: failed to open stream: No such file or directory in /var/www/html/skin/backend/backend.php on line 49
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresized(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 57
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/base_x2.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 58
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/hat_top.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/hat_bottom.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/hat_right.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/hat_front.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/hat_left.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/hat_back.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/head_top.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/head_bottom.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/head_right.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/head_front.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/head_left.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/head_back.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/body_top.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/body_bottom.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/body_right.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/body_front.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/body_left.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/body_back.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_left_top.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_left_bottom.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_left_outer.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_left_front.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_left_inner.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_left_back.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_right_top.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_right_bottom.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_right_outer.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_right_front.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_right_inner.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/arm_right_back.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_left_top.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_left_bottom.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_left_outer.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_left_front.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_left_inner.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_left_back.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_right_top.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_right_bottom.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_right_outer.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_right_front.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_right_inner.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagecopyresampled(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 31
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open 'images/skins/contex/leg_right_back.png' for writing: No such file or directory in /var/www/html/skin/backend/backend.php on line 32
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] PHP Warning:  imagedestroy(): supplied argument is not a valid Image resource in /var/www/html/skin/backend/backend.php on line 115
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:55 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:56 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    [Thu Mar 10 11:31:57 2011] [error] [client *.*.*.*] File does not exist: /var/www/html/skin/images/skins/contex, referer: http://moincraft.com/skin/index.php?user=contex
    
     
  5. Offline

    earthiverse

    Try giving the backend.php and rmdir.php enough permissions to execute scripts. Google "chmod". I'm not too sure on the specifics.
     
  6. Offline

    contex

    chmod fixed it, thank you!
     
  7. Offline

    TnT Retired Staff

    @earthiverse
    Mind if I move this to the Bukkit Tools subforum? While its not technically a Bukkit tool, an admin could add this to their website to make it a little more feature rich, so it kind of fits there, imo.
     
  8. Offline

    contex

    @earthiverse,
    I was wondering if I could use your CSS coding of the block icons? It seems so simply but so clean, would you mind?
     
  9. Offline

    earthiverse

    @TnT - Sure, go ahead.
    @contex - Sure, go ahead.
     
  10. Offline

    Killie01

  11. Offline

    contex

  12. Offline

    earthiverse

  13. Offline

    contex

    I know :) haven't had time to get the item name from the database as i was in a hurry D:
     
  14. Offline

    Anoniempje

    darn, I cant get the ?user= thing working, i chmodded all the files in the skin dir to 777. still nothing. just the index.php shows the rainbow skin. Any other ideas?
     
  15. Offline

    earthiverse

    Can you post a link to where you installed it?
    If you don't want to post, you can always pm me.
     
  16. Offline

    Anoniempje

  17. Offline

    earthiverse

    You seem to be having the same problem contex had.
    Even though you said you chmoded everything to 777, make sure the /skin/backend/ files are chmoded especially.

    Just try it again, maybe.
     
  18. Offline

    Anoniempje

    I made it work, i just gave the skin dir and every folder and file under it 777.
    So you'd better write proper code mister!
     
  19. Offline

    xpansive

    Works great, but seems the names need to be capitalized properly, stumped me for a while
     
  20. Offline

    MJRamon

    Hello, and thank you for this.
    We need to choose, if we want to stop the animation and show just the fron of the player. How can I do this?

    And, maybe, someone has working swf with linking to it standart png skin?
    Thanx!
     
  21. Offline

    captainawesome7

    Notch's cape and deadmau5's ears don't show up :(
    But I'm pretty sure that means you would have to do a lot of work for only about 6 skins to show up as they do in-game?
    (I'm assuming only deadmau5 has the epic skin and that only about 5 people have mojang capes)
     
  22. Offline

    Nemesis036

    This is amazing and I would so appreciate it if you could do anything to optimise it.
    Is there any way I can get a static image of the skin as an overview, for those whose browsers do not support html5?

    My use: http://classic-smp.bambofy.co.uk/profiles/iframe.php?user=occidio

    Also if the player doesnt have a skin what about displaying the default one instead of black boxes? Just a suggestion.
     
  23. Offline

    rct2guy

    This thing is amazing. Unfortunatly, I can't seem to get it to work. I'm guessing this is a CHMOD thing, but I went through and made sure every file had 777 permissions, yet FileZilla tells me this:
    Code:
    Status:    Set permissions of '/minecraft/skin/images/skins/earthiverse/arm_left_back.png' to '777'
    Command:    SITE CHMOD 777 arm_left_back.png
    Response:    500 'SITE CHMOD 777 arm_left_back.png': command not understood
    I guess this means my server doesn't support CHMOD? If so, I read on a CHMOD tutorial that Windows severs support "cgi-bin". Is there a way you could get this to work with that? If that's not possible, I understand; I'm not that knowledgeable when it comes to servers, lol.
     
  24. Offline

    Traq

    Very nice work ! I just have a little problem : the head of the skin is completely black... I need to comment the 7 lines in backend.php relatives to the hat to correct it.
    Hope you can solve it !

    Edit : The index.php page works perfectly, but I can't run it in an iframe like you do. Have you any idea to solve it ?
    Edit 2 : No more problem with the Iframe. Wamp didn't want to load it correctly the first time, but it now works perfectly !
     
  25. Offline

    Traq

    Bump, still having the annoying "black head" problem with WebGl (which is a lot smoother than the HTML 5 version btw)
     
  26. Offline

    Valrix

    This is pretty awesome, I'll see if I can work on the source a bit and improve upon it for you (Web Developer).
     
  27. Offline

    blaize9

    Hey thanks for makeing this, i will use it on my website.
     
  28. Offline

    Stephen304

    This is cool! It doesn't seem to work well for my head/hat situation though. Since your main one seems to be down, I used someone else's : "Stephen304", my head appears white with only the hat part showing, possibly a transparency issue? I could have sworn I erased the white and set it to transparent in photoshop, and it looks fine in game.
     
  29. Offline

    Janka

    Thanks for this little Script :)
    I removed the "Spinning" of the Character. I got some sort of sea sick after watching it for a few minutes :)

    You can see my implementation here:
    http://develop.tekuno.at/einwohner/
     
  30. Offline

    matejdro

    send this to mojang to replace their original java character display, which does not work for me for some reason.
     
Thread Status:
Not open for further replies.

Share This Page