You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Christian Hoofe <hc...@yngoor.de> on 2005/07/13 17:05:18 UTC

Kupu and images and IE

Saving images with the Internet Explorer 6 (Lenya 1.2.4, W2K) saves something
like this

<object data="http://localhost:8888/lenya/default/authoring/.../xyz.jgp ...

The same edited with firefox <object data="xyz.jpg"

I have made a change in
.../build/lenya/webapp/lenya/resources/kupu/apache-lenya/lenya/kupusave.xsl


 <xsl:template match="xhtml:img">
  <object>
    <xsl:attribute name="data">
    <!-- strip the nodeid out again (it is not saved in the object @data) -->
    <xsl:choose>
     <xsl:when test="starts-with(@src, 'http://localhost:8888')">
      <xsl:value-of select="substring-after(@src, 'http://localhost:8888')"/>
     </xsl:when>
     .
     .
     .


to fix the problem, but I'm not sure if this is the solution.

Any ideas?

Regards,
Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org