Create a macro to create thumbnails from jpgs

B

Bill Edwards

I would like to create a macro in FrontPage 2003 that will go through the
AllFiles Collection and create thumbnails for all files with a .jpg
extension based on the Frontpage default thumbnail properties (Tools->Page
Options->Auto Thumbnail).

I am assuming this is possible since I can manually place a jpg on a web
page and then select the "auto thumbnail" option to create thumbnails.

Stepping through AllFiles is not a problem; what I can't locate is a method
to create a thumbnail from a full size image.

Does such a method exist? Failing that, can anyone suggest VB code to
resize the images?

Alternatively, is it possible to:
(1) Open a web page using VB (can do this)
(2) Access any images on the web page (can do this)
(3) Access the properties of the images on the web page (can do this)
(4) Create a new thumbnail image (cannot do this)

Have searched on Google and MSDN looking for a solution to this one, with no
success.
 
S

Steve Easton

What I would do is download the free IrfanView.
Set it as an image editor in FrontPage.
Right click an image in FrontPage and select open with IrfanView and then
use the batch function in IrfanView to create the thumbnails.
Make sure you set the proper "save" location in IrfanView.

www.irfanview.com


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

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

Top