Where is Image field data stored

We have a custom module ProductClass, this stores information about our products and we are using this to pull information to our support site. As we want to use this data across multiple sites I have been asked to add some additional fields. One if these was a image field to store a picture of the device

I amended the api call to extract this data but the field itself just contained an ID 

I cannot find where this id then refers to get the image data, I thought it might create a record in documents but cant find any record with that ID

Can anyone help with where sugar stores images using the image field, tried googling it but all that i can find is images as note attachments

Parents Reply Children
  • According to my understanding when we attach some file in Sugar then Sugar want to know its type and file name and it get stores in the filename, file_mime_type, and file_ext fields, but when the field type is already Image then there is no need to store its type information. 

    That is why when field type already defined Image in Studio then no need to store side information by assuming that it must be image file.