Page 3 of 3 FirstFirst 123
Results 31 to 37 of 37
  1. #31
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,822

    If all images are linked it should not affect your db file size - because they're not embedded or stored in a table. When you set a picture property for a command button or image control, just be sure to link rather than embed. IMO, it makes the most sense to have an image folder as a subfolder to the folder containing the db. Then you can store the image path as a relative path and everything (image linking-wise) should be OK no matter where the db folder and its subfolder(s) is kept. There is a CurrentProject.Path property that identifies where the project is stored, so all you have to do is add the image subfolder path to that path.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  2. #32
    LeonS is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jul 2014
    Posts
    115
    Micron - thanks for that. I have begun the process. I have added the Field "Photo" to my Master1 table. On my Contacts form, I have added 2 new fields. A text box linked to the Photo field and an Image field linked to the Photo field. If I type the complete path to the Image Folder/ Image Name.jpg/png, the image appears on my Contacts form. I will now go through the process of converting the JPGs to PNGs. There is one more question I will be asking on the (associated with the path), but I want to get it all working first!

  3. #33
    LeonS is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jul 2014
    Posts
    115
    Micron - thanks for that. I have begun the process. I have added the Field "Photo" to my Master1 table. On my Contacts form, I have added 2 new fields. A text box linked to the Photo field and an Image field linked to the Photo field. If I type the complete path to the Image Folder/ Image Name.jpg/png, the image appears on my Contacts form. I will now go through the process of converting the JPGs to PNGs. There is one more question I will be asking on the (associated with the path), but I want to get it all working first!

  4. #34
    LeonS is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jul 2014
    Posts
    115
    Micron - does it matter if the images are JPG or PNG if they are stored outside the database?

  5. #35
    LeonS is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jul 2014
    Posts
    115
    Micron - does it matter if the images are JPG or PNG if they are stored outside the database?

  6. #36
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,992
    JPGs are a lossy image format (detail is removed to save space) which doesn't always look good in Access.
    PNGs are a similar size but that format gives better quality results

    However, converting JPGs to e.g. PNG can't restore the missing info.
    Also if you use the EXIF data from JPGs, that will be removed on conversion.

    If the images are linked, leave them in their current format.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  7. #37
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,822
    Agree with that.
    The textbox is how you get the image file path into a table field which the image control is linked to? Are these images static or are you swapping them out occasionally? If static, all you need to do is select the image control with the property sheet open. Then choose picture type property (Linked), then on picture property click on the ellipses and use the resulting file dialog to navigate to the file. Or just paste the path into the picture property.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Page 3 of 3 FirstFirst 123
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Compact & Repair
    By Kundan in forum Programming
    Replies: 2
    Last Post: 01-13-2019, 10:24 PM
  2. Compact and repair
    By data808 in forum Access
    Replies: 4
    Last Post: 03-30-2014, 03:22 AM
  3. Compact and Repair
    By Cyberice in forum Access
    Replies: 3
    Last Post: 03-18-2014, 03:22 PM
  4. Replies: 3
    Last Post: 12-19-2013, 11:46 AM
  5. Error 3167 Compact and Repair
    By jonsuns7 in forum Access
    Replies: 3
    Last Post: 10-27-2009, 08:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums