Results 1 to 7 of 7
  1. #1
    flshfrnd is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Posts
    5

    Design of a Database of Images


    I have a project to catalogue images. These images are currently stored (and discovered) in a 3-deep hierarchical folder structure of subjects. We want to retain a simplified form of this structure (i.e a drop down field for top level) that will limit selections for second tier field etc. However some images will also be relevant to subjects in other subject subtrees in the folder structure. I'm not sure what the best way to approach this is in Access. We don't want the restrictiveness of a wholly hierarchical system; nor do we want a free-for all set of subject category fields with a potentially very large dictionary of subjects. Any pointers on how to proceed would be very welcome. Using Access 2013. Thanks

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    i think youd want a tRelated table (a child table) to show all the items that are related to this image:

    tRelated (* = keyed so you cant double up on a subject)
    ------------
    imageID *
    SubjID *

    this way 1 image can have many subjects.

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    I agree with ranman256 regarding a related table of attributes and indexing to prevent duplication.
    I have seen projects along this theme before.
    Tourism stock photos, for example:
    You may want to consider some common categories for classifying photos(relevant to your needs)

    City/urban vs rural
    Season (spring, summer,fall, winter)
    Seascape/landscape/mountainscape
    Major color theme (red, blue, green......)
    TimeofDay(AM/PM/evening..)
    Animals(yes-specific horse, birds,....
    People(yes - kids, adults..
    any other classification that makes sense to you.

    and a link to the actual photo

  4. #4
    flshfrnd is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Posts
    5
    Thanks for the replies. I have another question. My form has a thumbnail image - this image uses the 'Image Path' field as the control path. What I'd like to be able to do is click on this new image to display a larger one (on another form). I assume this needs some VBA for the on click event. Can anybody advise please, my experience of VBA is limited to say the least.

    Many thanks

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    Does the thumbnail image have a click event when you look at its properties in design view?
    I don't have Acc 2013, but you could post a copy of your db with just enough info to show the setup. Others may be able to review the code or "experiment" to get it working.

    I'd look at the properties first. If it supports on Click Event, I'd start with a message eg "Clicked on Thumbnail, now figure out how to open and display the photo" That way you'll know you re in the right area.

  6. #6
    flshfrnd is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Posts
    5
    Thanks orange, yes it does support an on click event - with a drop-down for 'Event Procedure' and then the '...' that promps you to choose builder. Don't have access to the db at the moment but as you suggest, I'll make a more appropriate thread

  7. #7
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    flshfrnd,

    You do not need to create new threads with each question. It is more conducive to continuity to keep related facts/questions/dialog in one thread.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Database With Tags for Images
    By bslarch in forum Access
    Replies: 3
    Last Post: 02-20-2015, 03:43 PM
  2. Replies: 1
    Last Post: 05-16-2014, 12:32 AM
  3. Removing images from the database
    By ksammie01 in forum Access
    Replies: 4
    Last Post: 01-15-2013, 12:50 AM
  4. How to view images in a database.
    By Samari in forum Access
    Replies: 1
    Last Post: 04-03-2012, 06:16 AM
  5. Replies: 17
    Last Post: 08-26-2009, 11:27 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