Hi Crystal
Thank you for your reply. I thank you are right about resizing the images, which probably will be the final solution.
I normally do image manipulation with Paint Shop Pro including resizing, but I will check out the two references.
Thank you again
Peter
Den 08-04-2019 kl. 09:50 skrev crystal 8 strive4peace2008@yahoo.com [MS_Access_Professionals]:
hi Peter,
If you were using HTML to render the picture, you could specify image size. Since you are just giving it the image file without the befit of instructions that can be in HTML, perhaps you need to size the images yourself.
You can batch change sizes with Irfanview or WIA (Windows Image Acquisition). Here is example VBA and reference information for both methods:
VBA > Image > Resize Image Irfanview
https://msaccessgurus.com/VBA/Code/Irfanview_ResizeImage.htmVBA > Image > Resize Image WIA
http://msaccessgurus.com/VBA/Code/WIA_ResizeImage_GG.htm
have an awesome day,
crystal
free code you can use in your projects
https://msaccessgurus.com/code.htm
On 4/7/2019 10:59 AM, Peter Randl??v?? [MS_Access_Professionals] wrote:
Dear friends
My "online" DB with 30,000 stereo images is now working except one little detail:
The images do not zoom up/down to fit the webbrowser window.
The code used is:
With Me.Webbrowser20
?????????? .ControlSource = "=" & """" & billedURL & """"
?????? End With
I have tried to add
.ResizeToFit
but get a message like "Only available in design mode".
For the time being I have added the option to click on the image, and it is show full screen.
An alternative would be to size the window and all the images to e.g. 1500 pixels, but I would by far prefer that the image automatically fits into the window.
Any suggestions?
Best regards
Peter
Posted by: Peter =?iso-8859-1?q?Randl=F8v?= <randlov@post9.tele.dk>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (3) |
Tidak ada komentar:
Posting Komentar