Convert jquery to pure JS

En curso Publicado hace 5 años Pagado a la entrega
En curso Pagado a la entrega

Hi guys,

I need this to be converted to pure JS..

// Embed all images using Data URLs

var images = Array();

var img = [login to view URL]('img');

for (var i = 0; i < [login to view URL]; i++) {

// Calculate dimensions of output image

var w = [login to view URL](img[i].width, [login to view URL]);

var h = img[i].height * (w / img[i].width);

// Create canvas for converting image to data URL

var canvas = [login to view URL]("CANVAS");

[login to view URL] = w;

[login to view URL] = h;

// Draw image to canvas

var context = [login to view URL]('2d');

[login to view URL](img[i], 0, 0, w, h);

// Get data URL encoding of image

var uri = [login to view URL]("image/png");

$(img[i]).attr("src", img[i].src);

img[i].width = w;

img[i].height = h;

// Save encoded image to array

images[i] = {

type: [login to view URL]([login to view URL](":") + 1, [login to view URL](";")),

encoding: [login to view URL]([login to view URL](";") + 1, [login to view URL](",")),

location: $(img[i]).attr("src"),

data: [login to view URL]([login to view URL](",") + 1)

};

}

JavaScript jQuery

Nº del proyecto: #18770841

Sobre el proyecto

3 propuestas Proyecto remoto Activo hace 5 años

3 freelancers están ofertando un promedio de $28 por este trabajo

hashanchamikara

lets do now *-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-****-*-*-*** Más

$30 USD en 1 día
(11 comentarios)
4.9
dev152

Dear Prospect,  I am experience Front-End developer Skilled with AjgularJS, Twitter Bootstrap and HTML5/CSS3 to create great UI/UX for Web application application.   //**  A little bit about me: - Team player - Más

$30 USD en 1 día
(9 comentarios)
3.3
karanjuneja11

I'll try to finish it as soon as possible. I've some experience in jQuery and JavaScript as I had to use it a lot in one of my laboratory in my college Relevant Skills and Experience I've made some projects using Ajax Más

$25 USD en 2 días
(0 comentarios)
0.0