473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 2652
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.