<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [opencms-dev] problem with img tags</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2>Hi,</FONT>
</P>

<P><FONT SIZE=2>I'm using image gallery.</FONT>
</P>

<P><FONT SIZE=2>I export my file htmls to D:\Apache\webapps\opencsm\export\myproject\htmls, and </FONT>
<BR><FONT SIZE=2>the pictures in gallery to D:\Apache\webapps\opencsm\export\pics</FONT>
</P>

<P><FONT SIZE=2>Here is my code:</FONT>
<BR><FONT SIZE=2>          <TD vAlign=bottom align=middle><A </FONT>
<BR><FONT SIZE=2>            onmouseover="MM_swapImage('home','','/opencms/opencms/system/galleries/pics/pics/navTop_about_over.gif',1)" </FONT></P>

<P><FONT SIZE=2>            onmouseout=MM_swapImgRestore() </FONT>
<BR><FONT SIZE=2>            href="/opencms/opencms/myproject/htmls/about.html" </FONT>
<BR><FONT SIZE=2>            target=_self><IMG height=14 alt=Home </FONT>
<BR><FONT SIZE=2>            src="/opencms/opencms/system/galleries/pics/pics/navTop_about.gif" </FONT>
<BR><FONT SIZE=2>            width=42 border=0 name=home></A></TD></FONT>
</P>

<P><FONT SIZE=2>Open D:\Apache\webapps\opencsm\export\myproject\index.html file, the navTop_about_over.gif is not found. </FONT>
</P>

<P><FONT SIZE=2>How to avoid this hardcode?</FONT>
</P>

<P><FONT SIZE=2>Thanks in advanced,</FONT>
</P>

<P><FONT SIZE=2>Yendung </FONT>
</P>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Mark Miller [<A HREF="mailto:mark.miller@hema.ch">mailto:mark.miller@hema.ch</A>]</FONT>
<BR><FONT SIZE=2>Sent: 04 July 2003 14:02</FONT>
<BR><FONT SIZE=2>To: opencms-dev@opencms.org</FONT>
<BR><FONT SIZE=2>Subject: AW: [opencms-dev] problem with img tags</FONT>
</P>
<BR>

<P><FONT SIZE=2>Also .... if you want to upload a group of images ... work with them</FONT>
<BR><FONT SIZE=2>locally, then zip them up, then upload the zip file to the gallery</FONT>
<BR><FONT SIZE=2>(making sure the zip option is checked when uploading).</FONT>
</P>

<P><FONT SIZE=2>The behaviour you were talking about simply takes the object on YOUR</FONT>
<BR><FONT SIZE=2>clipboard and pastes it into whichever container (IE Explorer in WYSIWYG</FONT>
<BR><FONT SIZE=2>mode). But, what is on your clipboard is a reference to the image, not</FONT>
<BR><FONT SIZE=2>the image itself, so, the container simply inserts the reference, which</FONT>
<BR><FONT SIZE=2>can be rendered locally. The image has never been physically moved to</FONT>
<BR><FONT SIZE=2>the server.</FONT>
</P>

<P><FONT SIZE=2>So by opening the page on another machine, the page still has the</FONT>
<BR><FONT SIZE=2>reference to the (your) local image (Eg. c:\test\image1.jpg) and it is</FONT>
<BR><FONT SIZE=2>not guaranteed that everyone has that image on their machine.</FONT>
</P>

<P><FONT SIZE=2>Hence this is a behavioural trait.</FONT>
</P>

<P><FONT SIZE=2>-----Ursprüngliche Nachricht-----</FONT>
<BR><FONT SIZE=2>Von: opencms-dev-admin@opencms.org</FONT>
<BR><FONT SIZE=2>[<A HREF="mailto:opencms-dev-admin@opencms.org">mailto:opencms-dev-admin@opencms.org</A>] Im Auftrag von Joachim Arrasz</FONT>
<BR><FONT SIZE=2>Gesendet: 04 July 2003 08:28</FONT>
<BR><FONT SIZE=2>An: opencms-dev@opencms.org</FONT>
<BR><FONT SIZE=2>Betreff: Re: [opencms-dev] problem with img tags</FONT>
</P>

<P><FONT SIZE=2>Hy,</FONT>
</P>

<P><FONT SIZE=2>yes this is a normal behavour. I can`t understand it too, but it`s</FONT>
<BR><FONT SIZE=2>normal.</FONT>
<BR><FONT SIZE=2>You shoud it do like this:</FONT>
</P>

<P><FONT SIZE=2>First for "normal" users who just but content in Pages, make a image</FONT>
<BR><FONT SIZE=2>Gallery and give the users right for read and write.</FONT>
<BR><FONT SIZE=2>Then in the WYSIWYG Editor they can chosse the images from the icon for</FONT>
<BR><FONT SIZE=2>Image Galleries. When they want to use a new Picture, they also can</FONT>
<BR><FONT SIZE=2>upload</FONT>
<BR><FONT SIZE=2>via this icon a new one to the Image Gallery, and everything is fine!</FONT>
<BR><FONT SIZE=2>I don`t know another way to handle it correct.</FONT>
</P>

<P><FONT SIZE=2>Regards Achim</FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Questions about OpenCMS?</FONT>
<BR><FONT SIZE=2>--> www.synyx.de/board</FONT>
</P>
<BR>

<P><FONT SIZE=2>> Sebastián Alberoni></FONT>
<BR><FONT SIZE=2>> This is a multi-part message in MIME format.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> ------=_NextPart_000_0091_01C341C5.197BC390</FONT>
<BR><FONT SIZE=2>> Content-Type: text/plain;</FONT>
<BR><FONT SIZE=2>>       charset="iso-8859-1"</FONT>
<BR><FONT SIZE=2>> Content-Transfer-Encoding: quoted-printable</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Hi!</FONT>
<BR><FONT SIZE=2>> I sent this on Tuesday and I had no reply.</FONT>
<BR><FONT SIZE=2>> I have Opencms 5.0.0 installed both in Red Hat Linux and Windows XP,</FONT>
<BR><FONT SIZE=2>> and = I have the same problem in both environments.</FONT>
<BR><FONT SIZE=2>> My simple question (for Opencms developers or experienced users), is:</FONT>
<BR><FONT SIZE=2>> Is this the normal behavior of Opencms or do I have to configure =</FONT>
<BR><FONT SIZE=2>> something in order for this to work properly?</FONT>
<BR><FONT SIZE=2>> Please, I need an answer on this.</FONT>
<BR><FONT SIZE=2>> Thank you very much in advance.</FONT>
<BR><FONT SIZE=2>> Sebastian</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>>>>>original message:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Hi all.</FONT>
<BR><FONT SIZE=2>> I'm having a problem with images.</FONT>
<BR><FONT SIZE=2>> When a user edits a page in the WYSIWYG editor, if he puts an image =</FONT>
<BR><FONT SIZE=2>> which is located in his computer (using the "insert image" button),</FONT>
<BR><FONT SIZE=2>> when = the page is published the path of the src attribute of that img</FONT>
<BR><FONT SIZE=2>> tag is = harcoded to the original physical location of the image. The</FONT>
<BR><FONT SIZE=2>> result is = that when the page is published, that image is not seen by</FONT>
<BR><FONT SIZE=2>> anybody, the = only person who can see it the person who inserted that</FONT>
<BR><FONT SIZE=2>> image.</FONT>
<BR><FONT SIZE=2>> The alternative is to use the image gallery, of course, but... I think</FONT>
<BR><FONT SIZE=2>> = that inserting local images should work.</FONT>
<BR><FONT SIZE=2>> Perhaps I have to configure something.</FONT>
<BR><FONT SIZE=2>> Hints are welcome.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> ------=_NextPart_000_0091_01C341C5.197BC390</FONT>
<BR><FONT SIZE=2>> Content-Type: text/html;</FONT>
<BR><FONT SIZE=2>>       charset="iso-8859-1"</FONT>
<BR><FONT SIZE=2>> Content-Transfer-Encoding: quoted-printable</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"></FONT>
<BR><FONT SIZE=2>> <HTML><HEAD></FONT>
<BR><FONT SIZE=2>> <META http-equiv=3DContent-Type content=3D"text/html; =</FONT>
<BR><FONT SIZE=2>> charset=3Diso-8859-1"></FONT>
<BR><FONT SIZE=2>> <META content=3D"MSHTML 6.00.2726.2500" name=3DGENERATOR></FONT>
<BR><FONT SIZE=2>> <STYLE></STYLE></FONT>
<BR><FONT SIZE=2>> </HEAD></FONT>
<BR><FONT SIZE=2>> <BODY bgColor=3D#ffffff></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2>Hi!<BR>I sent this on Tuesday and I</FONT>
<BR><FONT SIZE=2>> had = no=20</FONT>
<BR><FONT SIZE=2>> reply.<BR>I have Opencms 5.0.0 installed both in Red Hat Linux and =</FONT>
<BR><FONT SIZE=2>> Windows XP,=20</FONT>
<BR><FONT SIZE=2>> and I have the same problem in both environments.<BR>My simple</FONT>
<BR><FONT SIZE=2>question</FONT>
<BR><FONT SIZE=2>> = (for=20</FONT>
<BR><FONT SIZE=2>> Opencms developers or experienced users), is:<BR>Is this the normal =</FONT>
<BR><FONT SIZE=2>> behavior of=20</FONT>
<BR><FONT SIZE=2>> Opencms or do I have to configure something in order for this to</FONT>
<BR><FONT SIZE=2>> work=20 properly?<BR>Please, I need an answer on this.<BR>Thank you</FONT>
<BR><FONT SIZE=2>> very much in =</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> advance.<BR>Sebastian</FONT></DIV></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2>&gt;&gt;&gt;&gt;original =</FONT>
<BR><FONT SIZE=2>> message:</FONT></DIV></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2>Hi all.</FONT></DIV></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2>I'm having a problem with =</FONT>
<BR><FONT SIZE=2>> images.</FONT></DIV></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2>When a user edits a page in the</FONT>
<BR><FONT SIZE=2>> WYSIWYG = editor, if=20</FONT>
<BR><FONT SIZE=2>> he puts an image which&nbsp;is&nbsp;located in his computer (using the</FONT>
<BR><FONT SIZE=2>> = "insert=20</FONT>
<BR><FONT SIZE=2>> image" button), when the page is published the path of the src</FONT>
<BR><FONT SIZE=2>> attribute = of that=20</FONT>
<BR><FONT SIZE=2>> img tag is harcoded to the original physical location of the image.</FONT>
<BR><FONT SIZE=2>The</FONT>
<BR><FONT SIZE=2>> = result=20</FONT>
<BR><FONT SIZE=2>> is that when the page is published, that image is not seen by anybody,</FONT>
<BR><FONT SIZE=2>> = the only=20</FONT>
<BR><FONT SIZE=2>> person who can see it the person who inserted that image.</FONT></DIV></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2>The alternative is to use the image =</FONT>
<BR><FONT SIZE=2>> gallery, of=20</FONT>
<BR><FONT SIZE=2>> course, but... I think that inserting local images should =</FONT>
<BR><FONT SIZE=2>> work.</FONT></DIV></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2>Perhaps I have to configure =</FONT>
<BR><FONT SIZE=2>> something.</FONT></DIV></FONT>
<BR><FONT SIZE=2>> <DIV><FONT face=3DArial size=3D2>Hints are=20</FONT>
<BR><FONT SIZE=2>> welcome.</FONT></FONT></DIV></DIV></BODY></HTML></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> ------=_NextPart_000_0091_01C341C5.197BC390--</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> _______________________________________________</FONT>
<BR><FONT SIZE=2>> This mail is send to you from the opencms-dev mailing list</FONT>
<BR><FONT SIZE=2>> To change your list options, or to unsubscribe from the list, please</FONT>
<BR><FONT SIZE=2>> visit <A HREF="http://mail.opencms.org/mailman/listinfo/opencms-dev" TARGET="_blank">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>This mail is send to you from the opencms-dev mailing list</FONT>
<BR><FONT SIZE=2>To change your list options, or to unsubscribe from the list, please</FONT>
<BR><FONT SIZE=2>visit</FONT>
<BR><FONT SIZE=2><A HREF="http://mail.opencms.org/mailman/listinfo/opencms-dev" TARGET="_blank">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></FONT>
</P>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>This mail is send to you from the opencms-dev mailing list</FONT>
<BR><FONT SIZE=2>To change your list options, or to unsubscribe from the list, please visit</FONT>
<BR><FONT SIZE=2><A HREF="http://mail.opencms.org/mailman/listinfo/opencms-dev" TARGET="_blank">http://mail.opencms.org/mailman/listinfo/opencms-dev</A></FONT>
</P>

</BODY>
</HTML>