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!!!??? :?
The Axe of Kolt, The Spectre of Castle Coris, The Fortress of Fear, Die Feuerfaust, The Lost Children, Run, Bronwynn, Run, The Call of the Shaman, The Lost Labyrinth of Lazaitch, Magnetic Moon, Starship Quest, Revenge of the Space Pirates
User avatar
Posts: 2356
Joined: Thu Mar 31, 2011 4:54 am
Location: Clacton-on-Sea, Essex
Points: 65

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.
The Bash Saga:
1. The Dragon Diamond 2. The Way Home 3. Stone of Wisdom
User avatar
Posts: 454
Joined: Mon Feb 22, 2016 6:21 pm
Location: Hjørring, Denmark
Points: 251

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.
Posts: 95
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 3 guests