talk@lists.collectionspace.org

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

View all threads

how to add custom icons for various document types

JM
Jesse Martinez
Mon, Nov 18, 2013 6:27 PM

Hi all,
I'm looking to change the default blue document icon that is used in the UI
when uploading a pdf file in the media procedure. I see where in the
services code the documentImage.jpg is located but it appears that it gets
used for all document/non-image types. How would one go about setting up a
variety of image placeholder icons for various document types?

Thanks,

  • Jesse
Hi all, I'm looking to change the default blue document icon that is used in the UI when uploading a pdf file in the media procedure. I see where in the services code the documentImage.jpg is located but it appears that it gets used for all document/non-image types. How would one go about setting up a variety of image placeholder icons for various document types? Thanks, - Jesse
RM
Richard Millet
Mon, Nov 18, 2013 7:44 PM

Jesse,

I'm pretty sure we don't have support for displaying different images
for different document (MIME) types.  To get this feature, we'd need to
add some code that would map MIME types to images.  This would not be
much work and is a great candidate for both a Feature Request via JIRA
and a code contribution.

-Richard

Jesse Martinez mailto:mjesse@gmail.com
Monday, November 18, 2013 10:27 AM
Hi all,
I'm looking to change the default blue document icon that is used in
the UI when uploading a pdf file in the media procedure. I see where
in the services code the documentImage.jpg is located but it appears
that it gets used for all document/non-image types. How would one go
about setting up a variety of image placeholder icons for various
document types?

Thanks,

  • Jesse

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

Jesse, I'm pretty sure we don't have support for displaying different images for different document (MIME) types. To get this feature, we'd need to add some code that would map MIME types to images. This would not be much work and is a great candidate for both a Feature Request via JIRA and a code contribution. -Richard > Jesse Martinez <mailto:mjesse@gmail.com> > Monday, November 18, 2013 10:27 AM > Hi all, > I'm looking to change the default blue document icon that is used in > the UI when uploading a pdf file in the media procedure. I see where > in the services code the documentImage.jpg is located but it appears > that it gets used for all document/non-image types. How would one go > about setting up a variety of image placeholder icons for various > document types? > > Thanks, > > - Jesse > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org