sizing pictures in frames

G

Guest

In my page, I have a side navigation bar that references drawings to display
in the main frame. The goal being an electrical drawing navigation site that
can be printed from. This all works, the problem being that it navigates
Thousands of drawings of various sizes. How do I make them resize when I
link to them?
 
J

Jim Buyens

What file format are the drawing files? TIFF? PDF? GIF?
Something else?

How big are they now (in pixels, not bytes)?

How big do you want them to be?

How do you visualize printing working?

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
E

E. T. Culling

You will need to edit them in an image editing program before IMPORTING them
into your FP site. You'll be able to use thumbnails linking for the full
size images.
Eleanor
 
A

Andrew Murray

also, what size page of paper are you expecting these to be printed on? (I would
say a good size is no less than A3 size for technical drawings such as
electrical/engineering schematics. A4 size would probably be too small to read
properly.)
 
T

Thomas A. Rowe

I would suggest that you resize the image to what you want prior to importing them into your web and
using.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
T

Thomas A. Rowe

Well, for one thing you may have problem import any image over 1 MB into a web or publishing. Second
you can not control the scaling on the user side, unless you set the image properties to display the
image a specific size, but keep in mind the no matter how you display the image, the file size will
remain the same.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
J

Jim Buyens

You may want to look at the app shown at:

http://www.interlacken.com/fp11extras/piclib/default.aspx

this displays thumbnails for all the pictures in given folder, with
links to full-sized pictures in the frame at the right.

Currently, the app only resizes the thumbnails on the fly, but it
could just as easily resize all the full-sized apps as well.

This app is a bonus that comes on the CD for Microsoft Office
FrontPage 2003 Inside Out. To modify it, you'll need some familiarity
with VB.NET.

Alternatively, you may wish to look for a third-party picture library.
I imagine, however, that the ability to scan and display the current
contents of a folder on the fly will be a key feature to look for.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
J

Jim Buyens

10,000 drawings, eh? And I bet that:

o The engineers or draftemen or whoever adds drawings and updates
them
spontaneously.
o The drawings don't reside on the Web server, so you need to
access them over the network and relay them to the Web visitor.
o You don't feel like hand-coding 10,000 hyperlinks.
o There's a directory structure, or a database, or both that provides
data that Web visitors would use for searching.

I'm a bit concerned about resizing drawings from 1677x2176 to 500x500.
That's going to shrink them vertically more than horizontally. Squares
will become rectangles; circles will become ovals. Normally that's
unacceptable for an engineering drawings.

Also, engineering drawings frequently have 1-pixel-wide lines. These
are
likely to disappear when you shrink the drawing by one-third.

As to the shrinking, I refer you again to the the CD that comes with
Microsoft Office FrontPage 2003 Inside Out. It contains a Web page
named picsizer.aspx that resizes pictures on the fly. If you code an
<img> tag:

<img src="picsizer.aspx?url=drawings/tractor.jpg&width=500">

the picsizer.aspx page will read the drawings/tractor.jpg picture into
memory on the Web server, resize it to 500x649, and then send the
resulting 500x649 picture to the <img> tag for display on the browser.

649 = 2176 * (500/1677)

But again, I think the greater problems are going to be drawing
legibility, drawing search, dealing with ongoing changes, and finding
some alternative to hand-coding 10,000 hyperlinks.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

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