How can we use a secondary data source to access a list, and get the attachments from a item list?
How can we use the picture control as a link and display TIFF pictures? This file extension is not available, just if the picture is included in the form. Any other control that allows this? The scenario is: pictures are being saved in a sharepoint picture library after being scanned, and I would like to show the picture as a link (ex: http://site/image.tif) in the form. Any way to achieve this?
Not sure if you tested this but if you try and use Internet Explorer to open a ".tif" file it will open in a separate application indicating IE cannot display this file type. When you try to link to an image in InfoPath we are going to use IE's engine to try an render that file - hence this will fail.
There may be a 3rd party control that will do this for you or you could try and write an ActiveX control to do what you need; however, keep in mind custom controls are only supported in the InfoPath client.
If you don't "have" to have the images in .tif format you may want to look at converting those to something else (i.e. .jpg) so you can get the behavior you desire.
I hope this helps!
You could also add the photos to the infopath form as a resource. But if this was going to be used as an online form that would be connected with the sharepoint image library the the shared location this would not be a problem and would allow you to update the pictures of the phones without having to change the form itself.