I have a folder on my computer with some images in it. I am wanting to design an HTML page that I have named index.html, and I want to link each JPEG…

I have a folder on my computer with some images in it. I am wanting to design an HTML page that I have named index.html, and I want to link each JPEG file in the directory:

-I want to code a function that I can make a string of the path to a directory

-I want to generate a thumbnail (that is half of the size) copy of each of the images

-I am wanting to use makeEmptyPicture to make a blank picture that is full size, and then scale down that picture into the blank picture

-I want to name the new picture “half” + the original filename (e.g., eric.jpg would be half-eric.jpg). The anchor I have in the link to each full-sized picture, I want to be the half-size image.

Leave a Reply