Re: Naive question about the image directive

Chris Green <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <20170123155828.GA23106@esprimo>
> > 
> OK, thanks, I'll try a bit more.
> 
OK, I've been trying some more!  :-)

I can get the following to work:-

.. image:: http://esprimo/mandyFlat/DSCF6584.JPG


I can't get anything like this to work at all:-

.. image:: DSCF6584.JPG                         

(yes, I have copied the JPG file to the directory where the rst text is)


The code it generates is:-

    <img alt="DSCF6584.JPG" src="DSCF6584.JPG" />

which is sort of alright except that, presumably, the web server
(apache2) can't actually find the image with just that as the address.
I guess the problem is down to the fact that the page is generated
dynamically.

-- 
Chris Green

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.