On Wed, Aug 9, 2017 at 3:01 PM, Peter Briggs
Thanks for the fast response. From reading around elsewhere I'd understood
that using $PATH_TO_IMAGES was now deprecated? I think I tried it anyway and
it didn't seem to help. But I might have missed something, so I'd be
interested to know if it works for you.
On 09/08/17 14:57, Peter Cock wrote:
> It looks like something important is not showing in the best practise
> website, special variable $PATH_TO_IMAGES as per the linked example:
> .. image:: $PATH_TO_IMAGES/slop-glyph.png
> Let me look into this,
> On Wed, Aug 9, 2017 at 2:52 PM, Peter Briggs
> <peter.briggs(a)manchester.ac.uk> wrote:
>> Dear devs
>> I've been updating the <help> section for a locally developed tool and
>> to include some images, but I've had some issues trying to see them when
>> testing locally.
>> I've followed the instructions outlined here:
>> (i.e. put the images files into a 'static/images/' subdir of the tool
>> directory and reference them using ".. image:: picture.png")
>> However when I load the tool into a Galaxy using "planemo serve ..."
>> images fail to render: I just get a line of text with the image filename.
>> The same thing happens when I add the tool manually on our local server
>> (i.e. by adding a <tool file=...> reference to the tool XML in the
>> appropriate conf.xml file).
>> If I upload the same tool files to a toolshed and then install from
>> there, I
>> do see the images rendered correctly.
>> I'm a bit baffled as to why there should be a difference. Is there an
>> or setting I've missed to turn on the image rendering for
>> tools? Or have I made some other mistake?
>> Thanks for your help,
>> Best wishes
>> Peter Briggs peter.briggs(a)manchester.ac.uk
>> Bioinformatics Core Facility University of Manchester
>> B.1083 Michael Smith Bldg Tel: (0161) 2751482
>> Please keep all replies on the list by using "reply all"
>> in your mail client. To manage your subscriptions to this
>> and other Galaxy lists, please use the interface at:
>> To search Galaxy mailing lists use the unified search at:
Peter Briggs peter.briggs(a)manchester.ac.uk
Bioinformatics Core Facility University of Manchester
B.1083 Michael Smith Bldg Tel: (0161) 2751482