mardi 30 août 2016

How to set height and width of an image object in js

I have this array of image objects and I want to set the height and width if possible inside the array, because I have tons of images which I put in a table and I want them all to be the same size. Any ideas?

function myFunction(){   
    var imagelist = [{"image":"image3.jpg"}];
}

Aucun commentaire:

Enregistrer un commentaire