How to automatically add all images in a folder to page?

D

Davy

What I have in mind is a VBA script that will examine a folder to discover
all the files (jpg images) in the folder and then create html in my current
page that displays the images. I can then move the images around on the
page and then save the page which will place the images in the web's images
folder.

any thoughts?

Davy
 
A

Andrew Murray

Davy said:
What I have in mind is a VBA script that will examine a folder to discover
all the files (jpg images) in the folder and then create html in my
current
page that displays the images. I can then move the images around on the
page and then save the page which will place the images in the web's
images
folder.

any thoughts?

Davy
The images should be in the "images" folder to start with, else you may have
issues with "missing" images and "red-x's".
Make sure to open a web first in Frontpage.......I don't know that FP works
with VB macros or whatever you're wanting to do.

If you're trying to make a photo gallery, there are easier ways.......if you
have 100's of images you don't want to insert manually then a number of
image editors are capable of producing the HTML table, from a folder of
images for you including making thumbnail sized versions and linking to the
larger versions.

Products like Irfanview (free) or J-Album (free) , even Photoshop (or PS
Elements) can process your images (optimise them) and if you wish, create
an HTML page or pages as a photo album type thing. That seems to be what
you want, those image editor programs will do that for you.

You simply then import the resulting HTML page(s) and images and thumbnails
of those images into your Frontpage web.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top