Re: Images are rendered differently in tables than in the normal body

eric casteleijn <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Samuel Schluep wrote:
> Dear Developers
> 
> Images are rendered differently in tables than in the normal body:
> 
> - in a table the image is rendered as::
>  '<img src="http://host.org/instance/doc/image.jpg" alt="" title="" 
> class="default" height="xxx" width="yyy">'
> - in the body the image is rendered as::
>  '<img src="http://host.org/instance/doc/image.jpg/image" alt="" 
> title="" class="default" height="xxx" width="yyy">'
> 
> The difference is the '/image' at the end of the URL. Do you also have 
> this difference, and is there some reason for this difference? (In some 
> specialized export function I access the image object from the URL and I 
> want to read the content type of the image with 'getContentTyp', which 
> exists for the 'image' object but not for the 'Silva Image' object).

Hi Samuel,

I have tried to reproduce this, but am not succeeding. In which version 
of Silva is this occurring, and is it in the public view, the public 
preview, the normal preview, or a combination thereof?

eric
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.