ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

ADRIFT deletes image source text

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

ADRIFT deletes image source text

Postby Lazzah » Sun Jun 10, 2018 6:43 am

Hi all,

Has anyone else experienced this, or is it just me?

When I insert a line of text such as <img src="C:\ADRIFT Images\MagMoon.jpg"> into a message box, ADRIFT is deleting that line, although the image is still displayed correctly.

Weird or what!!!??? :?
OUT NOW: Run, Bronwynn, Run!
Current W.I.P.: Magnetic Moon
Also available: The Axe of Kolt, The Spectre of Castle Coris, The Fortress of Fear, Die Feuerfaust - The Fist of Fire and The Lost Children
User avatar
Lazzah
Moderator
 
Posts: 2139
Joined: Thu Mar 31, 2011 4:54 am
Location: London, England
Points: 17

Re: ADRIFT deletes image source text

Postby Denk » Sun Jun 10, 2018 9:25 am

If the message box starts out with such a line, the image source text disappears from the text box and is moved to the graphics tab on the right side of the message box.

You can prevent this by adding something in front of the image source text, e.g. a single space.
-----------------------------------------------------------------------------------------
Out now: The Royal Puzzle, The Way Home & The Dragon Diamond
-----------------------------------------------------------------------------------------
Denk
 
Posts: 145
Joined: Mon Feb 22, 2016 6:21 pm
Location: Hjørring, Denmark
Points: 26

Re: ADRIFT deletes image source text

Postby ice_wanted » Sun Jun 10, 2018 1:15 pm

As Denk said, don't start you text with an image tag otherwise it is moved to the image tab. I typically use the <center> tag before the image tag in order to prevent this from happening. Any piece of text will do the same.
ice_wanted
 
Posts: 92
Joined: Thu Aug 22, 2013 1:12 am
Points: 10


Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 1 guest

cron