How to get JPG to fill image control (too small now) (1 Viewer)

bignose2

Registered User.
Local time
Today, 05:46
Joined
May 2, 2010
Messages
219
Hi,

I have an Image control that gets it image from a simple text link (no html links) e.g. C:\images\picture1.jpg

It loads & shows it OK but it is too small in the frame. perhaps 1/3 size.
I have tried Zoom & stretch etc properties.

Clip show the image to be huge, not sure why as it is a scanned A4 document at 300dpi

I really would prefer to view in a form rather than open a separate viewer as I want to scroll through quickly.

I have tried & seen stuff about getting image.height etc. but can't get it to work but not tried too hard, overflow error & before I investigate further I wondered if this would work anyway. It seems to me the image control is simply going to get v large to match what it thinks the image is.

I think .tif might work but larger files size & generally usually work in .jpg

I could not load Lebans zoom example as old mdb, from what I can see I think a little overkill & suspect more webcontrol which I am trying to avoid.
I have office 365.

thanks I/A
greg
 

June7

AWF VIP
Local time
Yesterday, 20:46
Joined
Mar 9, 2014
Messages
5,471
Zip the image and attach to post so when can take a look at.
 

Users who are viewing this thread

Top Bottom