OLS icon indicating copy to clipboard operation
OLS copied to clipboard

Feature request: ability to add a logo

Open mcourtot opened this issue 3 years ago • 6 comments

Not a priority, but it'd be nice to have the option to add a logo on the ontology page. Eg for GECKO at https://www.ebi.ac.uk/ols/ontologies/gecko I'd like to display GECKO_logo_2021

mcourtot avatar Jan 20 '21 13:01 mcourtot

That would be great! Also for SNOMED, MONDO, HPO etc - they would all love that.

As an aside: I am loving the G in the new GECKO logo!!! I didnt even notice that before! Extremely cool!

matentzn avatar Jan 20 '21 14:01 matentzn

should be an option in ontology config, the option being logo: and the value being a URL (test https and HTTP).

matentzn avatar Feb 05 '21 16:02 matentzn

In 3.x-dev branch

jamesamcl avatar Mar 25 '21 18:03 jamesamcl

This ols-config.yaml does not work for me:

'@context': null
ontologies:
- base_uri:
  - https://purl.ihccglobal.org/CHOP_
  description: Data elements collected by CHOP to develop the Philadelphia Neurodevelopmental
    Cohort (PNC) plus data developed with the University of Pennsylvania on Alzheimer's
    susceptibility
  id: chop
  ontology_purl: https://raw.githubusercontent.com/IHCC-cohorts/data-harmonization/master/data_dictionaries/chop.owl
  preferredPrefix: CHOP
  logo: https://user-images.githubusercontent.com/2214135/105184315-1fc83a00-5b27-11eb-94d8-525bab7becba.png
  title: Center for Applied Genomics, Children's Hospital of Philadelphia

Neither is there a logo, no an HTML element with a logo generated? Any idea what could be wrong?

matentzn avatar Apr 01 '21 10:04 matentzn

@matentzn did we get this working?

jamesamcl avatar Sep 16 '21 09:09 jamesamcl

Hey @udp - no unfortunately not! :) Thanks for catching up!

matentzn avatar Sep 20 '21 11:09 matentzn