talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Proposed contribution: Clickable image component

CH
Chris Hoffman
Tue, Mar 20, 2012 6:32 PM

Hi colleagues,

UCB has built a clickable image component that can be placed on cataloging and other records.  UCB would like to contribute this to the core software for v2.3.  When installed, if a Cataloging record has a related Media Handling record that has an image file (blob) associated with it, an image thumbnail is displayed in the top of the right panel (where the placeholder graphic sits now).  Clicking on the image brings up a larger version of the image (the OriginalJpeg blob) in a separate browser window.

This currently requires some minor app layer configuration.  See the Jira ticket for information about required changes.
http://issues.collectionspace.org/browse/CODE-2

Note that in this version, if there are multiple images available, only the first one displays. Pagination can be added later.

A wiki page for this proposed contribution has been added at
http://wiki.collectionspace.org/display/collectionspace/Contribution+-+clickable+image+component

A demo site with this component enabled is available at
http://ucjeps2.collectionspace.org:8180/collectionspace/ui/ucjeps/html/cataloging.html

Not all Media Handling records on that site have an image file associated with them.  Here are some object numbers you can search for in Cataloging that do have image files:

UC1973958
UC1973959
UC1973960

Please let us know if you have comments or questions about this contribution.

Thanks,
Chris

Hi colleagues, UCB has built a clickable image component that can be placed on cataloging and other records. UCB would like to contribute this to the core software for v2.3. When installed, if a Cataloging record has a related Media Handling record that has an image file (blob) associated with it, an image thumbnail is displayed in the top of the right panel (where the placeholder graphic sits now). Clicking on the image brings up a larger version of the image (the OriginalJpeg blob) in a separate browser window. This currently requires some minor app layer configuration. See the Jira ticket for information about required changes. http://issues.collectionspace.org/browse/CODE-2 Note that in this version, if there are multiple images available, only the first one displays. Pagination can be added later. A wiki page for this proposed contribution has been added at http://wiki.collectionspace.org/display/collectionspace/Contribution+-+clickable+image+component A demo site with this component enabled is available at http://ucjeps2.collectionspace.org:8180/collectionspace/ui/ucjeps/html/cataloging.html Not all Media Handling records on that site have an image file associated with them. Here are some object numbers you can search for in Cataloging that do have image files: UC1973958 UC1973959 UC1973960 Please let us know if you have comments or questions about this contribution. Thanks, Chris
YZ
Yura Zenevich
Tue, Mar 20, 2012 6:44 PM

Chris,

This looks really great. It would be really amazing to put this component into master repository during 2.3. Please let me know if you need my assistance with reviewing the pull request (if that's the contribution form you prefer) and putting it in the main codebase.

Regards,

Yura

On 2012-03-20, at 2:32 PM, Chris Hoffman wrote:

Hi colleagues,

UCB has built a clickable image component that can be placed on cataloging and other records.  UCB would like to contribute this to the core software for v2.3.  When installed, if a Cataloging record has a related Media Handling record that has an image file (blob) associated with it, an image thumbnail is displayed in the top of the right panel (where the placeholder graphic sits now).  Clicking on the image brings up a larger version of the image (the OriginalJpeg blob) in a separate browser window.

This currently requires some minor app layer configuration.  See the Jira ticket for information about required changes.
http://issues.collectionspace.org/browse/CODE-2

Note that in this version, if there are multiple images available, only the first one displays. Pagination can be added later.

A wiki page for this proposed contribution has been added at
http://wiki.collectionspace.org/display/collectionspace/Contribution+-+clickable+image+component

A demo site with this component enabled is available at
http://ucjeps2.collectionspace.org:8180/collectionspace/ui/ucjeps/html/cataloging.html

Not all Media Handling records on that site have an image file associated with them.  Here are some object numbers you can search for in Cataloging that do have image files:

UC1973958
UC1973959
UC1973960

Please let us know if you have comments or questions about this contribution.

Thanks,
Chris


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Chris, This looks really great. It would be really amazing to put this component into master repository during 2.3. Please let me know if you need my assistance with reviewing the pull request (if that's the contribution form you prefer) and putting it in the main codebase. Regards, Yura On 2012-03-20, at 2:32 PM, Chris Hoffman wrote: > Hi colleagues, > > UCB has built a clickable image component that can be placed on cataloging and other records. UCB would like to contribute this to the core software for v2.3. When installed, if a Cataloging record has a related Media Handling record that has an image file (blob) associated with it, an image thumbnail is displayed in the top of the right panel (where the placeholder graphic sits now). Clicking on the image brings up a larger version of the image (the OriginalJpeg blob) in a separate browser window. > > This currently requires some minor app layer configuration. See the Jira ticket for information about required changes. > http://issues.collectionspace.org/browse/CODE-2 > > Note that in this version, if there are multiple images available, only the first one displays. Pagination can be added later. > > A wiki page for this proposed contribution has been added at > http://wiki.collectionspace.org/display/collectionspace/Contribution+-+clickable+image+component > > A demo site with this component enabled is available at > http://ucjeps2.collectionspace.org:8180/collectionspace/ui/ucjeps/html/cataloging.html > > Not all Media Handling records on that site have an image file associated with them. Here are some object numbers you can search for in Cataloging that do have image files: > > UC1973958 > UC1973959 > UC1973960 > > Please let us know if you have comments or questions about this contribution. > > Thanks, > Chris > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org