473,498 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to creat thumbnails of jpg images in MS-Access database

Hi there,

This is my first time here,.....I am a Perl developer by trade but
currently working on Access database.

Anyway,...I use this artical from Microsoft knowldge base number
(285820) to creat a database that contains few .jpg images.

My question is; how can I create a thumbnail imges for those jpg images
and, if how can I get the the original jpg image to be displayed once I
click on the thumbnail?

Thanks for yoyr help.
Tim

Nov 13 '05 #1
1 4013
You can use an image control(s) then use the width and height
propertie(s) of your control(s). Make sure that the size mode property
of the image contorl (in the property sheet of the image control) is set
to zoom for this to work (because you are zooming in and out).

Private Sub Image11_Click()
Static i As Integer
If i Then
Image11.Width = 7920
Image11.Height = 6360
Else
Image11.Width = 2220
Image11.Height = 2040
End If
i = Not i
End Sub

Note: in the property sheet of the image control the sizes are in
inches. In programming you have to use twips - 1440 twips per inch.
The above is in twips. You could have a bunch of image controls placed
together like a table.

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3660
by: Ken | last post by:
I am in the process of designing my first web-site, and am having a problem with my picture gallery. My thumbnails are all different sizes, I would like them to be one size. The manual does not...
11
1959
by: Ian Davies | last post by:
Hello Im having problems displaying my images as thumbnails in a table. My code for producing the new width and height from the original image is as follows...
6
2579
by: c d saunter | last post by:
Greetings All, In Widows Explorer there is a thumbnail view, where you see images as thumbnails. Applications such as MS Office and OpenOffice, when installed, cause their respective filetypes to...
3
11389
by: Vagabond Software | last post by:
I'm trying to display thumbnail images in a Listview that look more like the Windows thumbnail view. Everything is working pretty good, but my thumbnails are decidedly not like the Windows...
2
3919
by: Keith Smith | last post by:
How can I have a box (maybe a picture box or a panel or something?) that will display all of the contents of a particular folder and show the picture files as thumbnails along with the name of the...
1
2351
by: Espen Evje | last post by:
Hi, I am trying to present the images in a folder as thumbnails in a dynamically created asp:table. I however do not want to save the thumbnails to disk, only show the images in this folder as...
8
3189
by: Fabricio Sperandio | last post by:
Hi everyone, I am trying to generate some thumbnails using System.Drawing.Image Class. Actually the GetThumnailImage method. The question is: How can I get a better thumbnail picture? I mean,...
2
1031
by: asad | last post by:
Hello friends, i have a directory in which my uploaded images are stored i want to create thumnails of these images dynamically and show these thumbnail how can i do this pls tell me about that....
2
1083
by: asad | last post by:
Hello friends, i have a images folder in which my uploaded images are stored i want to create thumnails of these images dynamically and show these thumbnail for example i have a folder named...
5
1967
by: JJ | last post by:
I have a gallery-like application. (The gallery will be actually presented in Flash, but the management (cms) of the images will be in asp.net. ) My question is, is it ok to create Thumbnail...
0
7126
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7005
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6891
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7381
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4916
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3087
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1424
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.