472,958 Members | 2,218 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Displaying Pictures in Access

Hi Again,

Throwing this one out to you again as i am not getting anywhere and
can find little to no information out there.

I am currently displaying images (Jpegs) in access via the routine set
up in the article http://support.microsoft.com/kb/285820/en-us. It
works fine if the image is under 1000x1000 pixels. It is set up so
the user can double click to open the image in its host application.

Most of the images are way over the limit, normally 3000x3000 pixels,
and just don't display properly unless I reduce them indivdually. This
isn't a good idea as there are thousands of images to upload, and the
database is pointless without the images. Its kinda funny as some
images such photographs display ok regardless of their size, but
others such as scanned images are just so blocky and unviewable unless
the original is less than the 1000x1000.

I have done a fair bit of research and its not a office filter problem
I have also looked at the paint picture method and no luck there.

Is there any code that you can use to say wherever the image is
stored, whatever image is loaded, whatever size it is, display it at
less than 1000x1000 pixels, without altering the original.

It sounds like a simple idea to me, but i can find nothing to help me
around this problem.

Thanks in advance
Nov 15 '07 #1
4 2624
On Thu, 15 Nov 2007 04:57:50 -0800 (PST), re*********@hotmail.com
wrote:

Why not display the images in whatever viewer the user has installed
on her machine?

-Tom.

>Hi Again,

Throwing this one out to you again as i am not getting anywhere and
can find little to no information out there.

I am currently displaying images (Jpegs) in access via the routine set
up in the article http://support.microsoft.com/kb/285820/en-us. It
works fine if the image is under 1000x1000 pixels. It is set up so
the user can double click to open the image in its host application.

Most of the images are way over the limit, normally 3000x3000 pixels,
and just don't display properly unless I reduce them indivdually. This
isn't a good idea as there are thousands of images to upload, and the
database is pointless without the images. Its kinda funny as some
images such photographs display ok regardless of their size, but
others such as scanned images are just so blocky and unviewable unless
the original is less than the 1000x1000.

I have done a fair bit of research and its not a office filter problem
I have also looked at the paint picture method and no luck there.

Is there any code that you can use to say wherever the image is
stored, whatever image is loaded, whatever size it is, display it at
less than 1000x1000 pixels, without altering the original.

It sounds like a simple idea to me, but i can find nothing to help me
around this problem.

Thanks in advance
Nov 15 '07 #2
Thanks for the reply, but the brief is for an image database. The
client does not want to go through a long winded process of constantly
opening a host application from within access, to find the required
image but to have the images displayed on the form, which they won't
do correctly if they are large. Otherwise the method for displaying
the images is fine, its just telling access to display them correctly

Surely someone out there has come across this problem and can offer a
solution?
Tom van Stiphout wrote:
On Thu, 15 Nov 2007 04:57:50 -0800 (PST), re*********@hotmail.com
wrote:

Why not display the images in whatever viewer the user has installed
on her machine?

-Tom.

Hi Again,

Throwing this one out to you again as i am not getting anywhere and
can find little to no information out there.

I am currently displaying images (Jpegs) in access via the routine set
up in the article http://support.microsoft.com/kb/285820/en-us. It
works fine if the image is under 1000x1000 pixels. It is set up so
the user can double click to open the image in its host application.

Most of the images are way over the limit, normally 3000x3000 pixels,
and just don't display properly unless I reduce them indivdually. This
isn't a good idea as there are thousands of images to upload, and the
database is pointless without the images. Its kinda funny as some
images such photographs display ok regardless of their size, but
others such as scanned images are just so blocky and unviewable unless
the original is less than the 1000x1000.

I have done a fair bit of research and its not a office filter problem
I have also looked at the paint picture method and no luck there.

Is there any code that you can use to say wherever the image is
stored, whatever image is loaded, whatever size it is, display it at
less than 1000x1000 pixels, without altering the original.

It sounds like a simple idea to me, but i can find nothing to help me
around this problem.

Thanks in advance
Nov 15 '07 #3
<re*********@hotmail.comwrote in message
news:ae**********************************@y5g2000h sf.googlegroups.com...
>
Surely someone out there has come across this problem and can offer a
solution?
The way I do it is to have an unbound image object on the form named
"imgMugshot" and have a text box named "txtMugshot" bound to a hyperlink
field containing the path to the image file. Then in the form's current
event:

If IsNull(Me.txtMugshot) Or Me.txtMugshot = "" Then
Me.imgMugshot.Visible = False
Else
Me.imgMugshot.Visible = True
Me.imgMugshot.Picture = HyperlinkPart(Me.txtMugshot, acAddress)
End If

Worth a try, works for me.

HTH - Keith.
www.keithwilby.com

Nov 15 '07 #4
Your stated maximum dimensions are not accurate but you do accurately
describe an issue that's been with Access for far too long. I have asked
repeatedly for an update to the Image control but to no avail. Perhaps A2007
with resolve this issue once and for all.

Prior to A2007, you can use the routine on my site to load larger images
into the standard Image control. See:
http://www.lebans.com/loadjpeggif.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
<re*********@hotmail.comwrote in message
news:ae**********************************@y5g2000h sf.googlegroups.com...
Thanks for the reply, but the brief is for an image database. The
client does not want to go through a long winded process of constantly
opening a host application from within access, to find the required
image but to have the images displayed on the form, which they won't
do correctly if they are large. Otherwise the method for displaying
the images is fine, its just telling access to display them correctly

Surely someone out there has come across this problem and can offer a
solution?
Tom van Stiphout wrote:
>On Thu, 15 Nov 2007 04:57:50 -0800 (PST), re*********@hotmail.com
wrote:

Why not display the images in whatever viewer the user has installed
on her machine?

-Tom.

>Hi Again,

Throwing this one out to you again as i am not getting anywhere and
can find little to no information out there.

I am currently displaying images (Jpegs) in access via the routine set
up in the article http://support.microsoft.com/kb/285820/en-us. It
works fine if the image is under 1000x1000 pixels. It is set up so
the user can double click to open the image in its host application.

Most of the images are way over the limit, normally 3000x3000 pixels,
and just don't display properly unless I reduce them indivdually. This
isn't a good idea as there are thousands of images to upload, and the
database is pointless without the images. Its kinda funny as some
images such photographs display ok regardless of their size, but
others such as scanned images are just so blocky and unviewable unless
the original is less than the 1000x1000.

I have done a fair bit of research and its not a office filter problem
I have also looked at the paint picture method and no luck there.

Is there any code that you can use to say wherever the image is
stored, whatever image is loaded, whatever size it is, display it at
less than 1000x1000 pixels, without altering the original.

It sounds like a simple idea to me, but i can find nothing to help me
around this problem.

Thanks in advance

Nov 16 '07 #5

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

Similar topics

0
by: M P | last post by:
I have an MS Access DB and wanting to display OLE Object(pictures) data type of MS Access to the browser. Is there a way that I can call it from the database? Mark
8
by: Jason Steeves | last post by:
Can someone please point me in the right direction for displaying word documents onto a webpage? The word documents will contain text/tables/pictures. I am new to this and can't quite find what I...
6
by: Nutshell | last post by:
Hi, I created a web page which contains table. I use table cells to display a picture using <img src>. The problem is that some pictures are not being fully displayed, only a quarter of the left...
1
by: wschlichtman | last post by:
I'm attempting to retrieve a bitmap from an image field in SQL Server 2005 using Visual Studio 2005 C#. I then want to load the bitmap into a picturebox. When I run the following code, I get the...
2
by: tperri | last post by:
I'm familiar with the Data Controls, however what I have is a website where users can upload multiple pictures. I want to display these pictures in a table, that has 3 columns in each row, and...
13
by: gooze | last post by:
Hello I am working on an applicaion that shows several pictures on a webpage. These pictures are saved in a MySQL DB as BLOB. I noticed, that the web server suffers in its performance by...
8
by: Jon Weston | last post by:
I'm setting up an Access2003 database with pictures. I put a bound ole picture ctrl on a form that's source is the table that contains the pictures and follow ALL the directions for embedding a...
1
by: blueheelers | last post by:
I have been researching for several hours on the best way to display images in continous forms in Access 2003. For example, I want to display employee name, email, phone, and picture for each...
2
by: Tyler | last post by:
I need to have a form that displays a group of 20 pictures in 4 rows of 5 pictures. The pictures are of people. Each Subject record has a picture field. I have a query written that selets the...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.