Cannot context.drawImage in HTML5 canvas

Igor Ganapolsky's Avatar

Igor Ganapolsky

29 Jul, 2011 03:33 AM

Hello,
on my local machine I can render an image in an HTML5 canvas by doing something like:
helloWorldImage.onload = function () {

            context.drawImage(helloWorldImage, 160, 130);
        }

However, when I do the same thing in Cloud9, the image doesn't load. NOTE: this image does reside in my Cloud9 directory. What is happening here?? You can see my file at http://cloud9ide.com/eazyigz/html5canvas/workspace/CH1EX3.html

Thank you,
Igor

  1. 1 Posted by Nicole on 01 Aug, 2011 02:44 PM

    Nicole's Avatar

    This is the support forum for Lighthouse, a web application for bug/issue tracking. It's likely the group or company you intended to report this issue to uses our application for their project management. My best guess is cloud9ide.lighthouseapp.com is their account.

    Thanks,
    Nicole

  2. Nicole closed this discussion on 01 Aug, 2011 02:44 PM.

  3. Igor Ganapolsky re-opened this discussion on 02 Aug, 2011 02:42 AM

  4. 2 Posted by Igor Ganapolsky on 02 Aug, 2011 02:42 AM

    Igor Ganapolsky's Avatar

    Thanks for that link. I must say, however, that Cloud9's support forum is
    shitty. I mean there is no button to create a new ticket/request. What do
    I do??

    Igor

    On Mon, Aug 1, 2011 at 10:43 AM, Nicole Ramsey <
    [email blocked]> wrote:

    > Cannot context.drawImage in HTML5 canvas

  5. 3 Posted by Nicole on 02 Aug, 2011 03:00 AM

    Nicole's Avatar

    Igor -

    I would check their web site for a contact email or something. They are not associated with our company so I'm unfortunately unable to give better information than that.

    Thanks,
    Nicole

  6. Nicole closed this discussion on 02 Aug, 2011 03:00 AM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac