[Xerte] Re: relative paths in img tags links

Pat Lockley patrick.lockley at googlemail.com
Wed Aug 8 22:09:59 BST 2012


i think the project folder would kill it

i am not sure it's possible

On Wed, Aug 8, 2012 at 10:08 PM, Paul Swanson
<Paul.Swanson at harlandfs.com> wrote:
> Try <img src=”media/picture.png”>
>
>
>
> That should work if the media folder is in the same relationship as you
> describe below to your “14-guest2-Nottingham” folder.
>
>
>
> Paul Swanson
>
> Internal Business Systems Analyst
>
> Internal Business Intelligence
>
> Harland Financial Solutions
>
> (800) 274-7280 Ext. 2462
>
> Paul.Swanson at harlandfs.com
>
>
>
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Laurent MATHIEU
> Sent: Wednesday, August 08, 2012 2:00 PM
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] relative paths in img tags links
>
>
>
> Dears,
>
>
>
> Some of my images cannot be found after I import a XOT exported LO into
> another XOT server. This more than likely due to some absolute links being
> used into some img tags.
>
>
>
> I was just wondering if there is a way to change those to some kinds of
> relative paths?
>
>
>
> i.e. something like  <img src="my-relative-path/picture.png">  rather than
> <img
> src="http://localhost/xertetoolkits/USER-FILES/14-guest2-Nottingham/media/picture.png">
>
>
>
> The main issue is that the subfolder "14-guest2-Nottingham" turns into
> different names after I import my LO in another XOT server.
>
>
>
> Any help would be much appreciated.
>
>
>
> Kind regards,
>
> Laurent
>
>
>
>
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it. Please do not
> use, copy or disclose the information contained in this message or in any
> attachment. Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.   Please do not
> use, copy or disclose the information contained in this message or in any
> attachment.  Any views or opinions expressed by the author of this email do
> not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>



More information about the Xerte mailing list