pictures not displaying on form instead show icon only

siamandm
BronzeLounger
Posts: 1226
Joined: 01 May 2016, 09:58

pictures not displaying on form instead show icon only

Post by siamandm »

Hello all,

on a form when I try to display a picture it displays an icon instead of the picture, andy idea, please?
Image-1.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78480
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: pictures not displaying on form instead show icon only

Post by HansV »

What kind of control do you use?
Best wishes,
Hans

User avatar
Gasman
2StarLounger
Posts: 104
Joined: 22 Feb 2022, 09:04

Re: pictures not displaying on form instead show icon only

Post by Gasman »

My first port of call is always some sort of search?

One cannot post actual links here, so
https://www.startpage.com/do/search?q=a ... ge.vivaldi
Using Access 2007/2019.
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Please, please use code tags when posting code snippets, click the </>icon.
Debug.Print is your lifesaver.

User avatar
HansV
Administrator
Posts: 78480
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: pictures not displaying on form instead show icon only

Post by HansV »

Hi Gasman, welcome to Eileen's Lounge!

What do you mean by "One cannot post actual links here"?
Best wishes,
Hans

siamandm
BronzeLounger
Posts: 1226
Joined: 01 May 2016, 09:58

Re: pictures not displaying on form instead show icon only

Post by siamandm »

HansV wrote:
22 Feb 2022, 11:30
What kind of control do you use?
using Image: ole object
Screenshot 2022-02-22 162308.png
You do not have the required permissions to view the files attached to this post.

User avatar
Gasman
2StarLounger
Posts: 104
Joined: 22 Feb 2022, 09:04

Re: pictures not displaying on form instead show icon only

Post by Gasman »

HansV wrote:
22 Feb 2022, 11:52
Hi Gasman, welcome to Eileen's Lounge!

What do you mean by "One cannot post actual links here"?
Thank you.

Well, when I went and made a post about a cross poster, the site said I could not use links to other sites?
So in this thread, I just posted the url as text, and the site converted it into a link? :scratch:
Using Access 2007/2019.
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Please, please use code tags when posting code snippets, click the </>icon.
Debug.Print is your lifesaver.

User avatar
HansV
Administrator
Posts: 78480
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: pictures not displaying on form instead show icon only

Post by HansV »

@Gasman: Should be OK now.
Best wishes,
Hans

User avatar
HansV
Administrator
Posts: 78480
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: pictures not displaying on form instead show icon only

Post by HansV »

@siamandm: I meant: what type of control do you use on the form?
Best wishes,
Hans

siamandm
BronzeLounger
Posts: 1226
Joined: 01 May 2016, 09:58

Re: pictures not displaying on form instead show icon only

Post by siamandm »

im using image control.

another thing I like to mention, it displays pictures fine on a laptop, but when I use the database on a desktop I get this issue.

User avatar
HansV
Administrator
Posts: 78480
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: pictures not displaying on form instead show icon only

Post by HansV »

So the problem is not caused by the database itself. Do the desktop and laptop have different versions of Windows?

(In general, I avoid storing images in a database. I store them in the same folder as the database, create a text field to store the file names of the image files, and set the Control Source of the Image control to the name of the text field)
Best wishes,
Hans

siamandm
BronzeLounger
Posts: 1226
Joined: 01 May 2016, 09:58

Re: pictures not displaying on form instead show icon only

Post by siamandm »

thank you very much for the reply,
I will try saving the photos inside a folder.

Regards