1
vote
4answers
36 views

Why doesn't this Javascript image object get added to the image array?

I've been trying to create a small HTML5-based example, but I've ran into some problems. I want to render a rock on a <canvas> but this Javascript object won't work properly. function ...
1
vote
1answer
30 views

Images in web browser are blurred a bit. How to fix it?

I'm making a game. Collisions in this game are based on color of pixel on canvas. I get color pixel and if it is for example red, player can't move. Unfortunately in firefox images are remotely ...
7
votes
4answers
16k views

How To Save Canvas As An Image With canvas.toDataURL()?

I'm currently building a HTML5 web app/Phonegap native app and I can't seem to figure out how to save my canvas as an image with canvas.toDataURL():( Can somebody please help me out? Here's the code, ...
0
votes
2answers
24 views

List style image with not function

i try to personalizate my web page with an image on a list. I try to use the list style image but not function. You can see at the page http://ctp.servizieweb.it/flotta/ I use this code: CSS ...
0
votes
0answers
20 views

Cross-domain product images in Big Commerce work around?

I am working on a script to add effects to product images using Pixastic. The library throws an exception because BC stores the product images on a different server and the script uses the canvas ...
0
votes
1answer
37 views

Wrapping a text around an image in a Canvas

Is it possible to wrap a text around an image inside an HTML 5 Canvas? For example using some Javascript framework? I looked into KineticJS, but couldn't find something useful. Edit: It seems my ...
0
votes
0answers
12 views

html request and display multiple items/images

I have a sequence of images appropriately labelled 01.jpg, 02.jpg....99.jpg I have an image gallery using simple data filtering using jquery, where I can display all images in a certain folder ...
0
votes
0answers
20 views

Turn.js stream download images as needed

I'm creating a online digital catalog. You can see it here. The problem is, it's a huge catalog (more than 800 pages) and most browsers (Chrome seems to be the best in this case) try to download the ...
0
votes
1answer
22 views

Why does the first load fail, but subsequent loads work?

The question is best demonstrated with a jsFiddle. Here is is. So according to this code: var canvas = document.getElementById('canvas'); canvas.width = 200; canvas.height = 150; var context = ...
-1
votes
2answers
41 views

Is it dangerous to let user embed images from their own urls?

Would it compromise the security of a website if users were allowed to create img tags with whatever src attribute they wanted? What kind of damage would be possible?
0
votes
2answers
36 views

How do i use jQuery to fade a picture out then go to a new page?

The opening page of my website is picture and when clicked i want it to fade out then go to the main page. Should i fade out the picture then fade in the body of the next page or is there a way to do ...
8
votes
5answers
323 views

Do I need a “/” at the end of an <img> or <br> tag, etc.? [duplicate]

Do you need to have a / at the end of an img tag? I saw an example on W3schools.com without a /: <img src="smiley.gif" alt="Smiley face" height="42" width="42"> I know it isn't necessary to ...
8
votes
3answers
4k views

Can I get image from canvas element and use it in img src tag?

Is there possibility to convert the image present in a canvas element into an image representing by img src? I need that to crop an image after some transformation and save it. There are a view ...
-5
votes
1answer
35 views

Using Web technologies, how to measure image surfaces in crop-like fashion? [duplicate]

I want to build a crop-like tool that can basically select an area of an image using mouse and give back its surface? What do you suggest, is there any plugin that can help me; I dont want to start ...
0
votes
2answers
3k views

Centering an image for responsive website

So i am making a responsive design for a school assignment and i am trying to center an image width. i scaled the image in photoshop so i don't have to set any width or height to the image this is ...

1 2 3 4 5 33
15 30 50 per page