See also Where are Images stored in VIVO?, Access images after changing the default namespace
A note from Jim Blake to Eliza Chan
...
For an individual on my test installation (in N3, if I remember how to write it)
INDIVIDUAL
Panel |
---|
No Format |
---|
<http://vivo.mydomain.edu/individual/n1451>
http://vitro.mannlib.cornell.edu/ns/vitro/public#mainImage
http://vivo.mydomain.edu/individual/n1674.
|
|
IMAGE FILE SURROGATE
Panel |
---|
No Format |
---|
<http://vivo.mydomain.edu/individual/n1674>
http://vitro.mannlib.cornell.edu/ns/vitro/public#thumbnailImage
http://vivo.mydomain.edu/individual/n5863;
http://vitro.mannlib.cornell.edu/ns/vitro/public#downloadLocation
http://vivo.mydomain.edu/individual/n3156;
http://vitro.mannlib.cornell.edu/ns/vitro/public#mimeType
"image/jpeg";
http://vitro.mannlib.cornell.edu/ns/vitro/public#filename
"lily1.jpg";
http://vitro.mannlib.cornell.edu/ns/vitro/0.7#modTime
"2010-10-18T09:51:58";
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://vitro.mannlib.cornell.edu/ns/vitro/public#File;
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Thing.
|
|
IMAGE FILE BYTESTREAM
Panel |
---|
No Format |
---|
<http://vivo.mydomain.edu/individual/n3156>
http://vitro.mannlib.cornell.edu/ns/vitro/0.7#modTime
"2010-10-18T09:51:57";
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://vitro.mannlib.cornell.edu/ns/vitro/public#FileByteStream;
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Thing.
|
|
THUMBNAIL SURROGATE
Panel |
---|
No Format |
---|
<http://vivo.mydomain.edu/individual/n5863>
http://vitro.mannlib.cornell.edu/ns/vitro/public#downloadLocation
http://vivo.mydomain.edu/individual/n5889;
http://vitro.mannlib.cornell.edu/ns/vitro/public#mimeType
"image/jpeg";
http://vitro.mannlib.cornell.edu/ns/vitro/public#filename
"thumbnail_lily1.jpg";
http://vitro.mannlib.cornell.edu/ns/vitro/0.7#modTime
"2010-10-18T09:52:12";
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://vitro.mannlib.cornell.edu/ns/vitro/public#File;
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Thing.
|
|
THUMBNAIL BYTESTREAM
Panel |
---|
No Format |
---|
<http://vivo.mydomain.edu/individual/n5889>
http://vitro.mannlib.cornell.edu/ns/vitro/0.7#modTime
"2010-10-18T09:52:12";
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://vitro.mannlib.cornell.edu/ns/vitro/public#FileByteStream;
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Thing;
|
|
...
1. Create RDF for images and add to the VIVO site, e.g.
Panel |
---|
<rdf:Description rdf:about="http://localhost:8080/vivo/individual/cwid-gwa2001"> <j.2:mainImage rdf:resource="http://localhost:8080/vivo/individual/mainImage-gwa2001"/> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing"/> <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/> <rdf:type rdf:resource="http://vivoweb.org/ontology/core#FacultyMember"/> <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/> </rdf:Description> |
...
Panel |
---|
<rdf:Description rdf:about="http://localhost:8080/vivo/individual/n12291199549391"> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing"/> <j.5:modTime xml:lang="en">2010-11-04T10:44:04</j.5:modTime> <rdf:type rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/public#FileByteStream"/> </rdf:Description> |
2. Copy images to the following folders:
...
IMAGE FILE BYTESTREAM
Panel |
---|
No Format |
---|
<http://vivo.mydomain.edu/individual/n3156>
http://vitro.mannlib.cornell.edu/ns/vitro/0.7#modTime
"2010-10-18T09:51:57";
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://vitro.mannlib.cornell.edu/ns/vitro/public#FileByteStream;
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Thing.
http://vitro.mannlib.cornell.edu/ns/vitro/public#directDownloadUrl
"/file/n3156/lily1.jpg"
|
|
THUMBNAIL BYTESTREAM
Panel |
---|
No Format |
---|
<http://vivo.mydomain.edu/individual/n5889>
http://vitro.mannlib.cornell.edu/ns/vitro/0.7#modTime
"2010-10-18T09:52:12";
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://vitro.mannlib.cornell.edu/ns/vitro/public#FileByteStream;
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.w3.org/2002/07/owl#Thing;
http://vitro.mannlib.cornell.edu/ns/vitro/public#directDownloadUrl
"/file/n5889/thumbnail_lily1.jpg"
|
|