text media items including image tags
This is probably a silly question, but from the forums and looking at client-side xlf files I get the impression that
"text" mediaItems are designed to be "text only" (is this what the <raw> tag is for?). That despite being able to
edit in 'source' mode and add any kind of markup (like <img>) the client is not designed to handle anything other
than text (and its attribs).
That said, when I added an image tag, it rendered just fine in the designers' preview on the server, but failed
to render on the (python) client.
FWIW, i tried both <img src="/path/
Sadly, neither URI seemed to work, either with jpg or png.
A bit later, I decided to add a few cmds prior to running the client
I know its unrelated but my startup process (from upstart on tty4 doing an xinit using a custom xorg.conf
which in turn launches the users .xinitrc and xibo proper):
below is in .xinitrc
# lets manually remove stale cache and log files
rm -f /opt/xibo/
rm -f $INITRC_LOG
rm -f /var/log/
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session /opt/xibo/
exec chvt 10
Well, after adding the rm cmds the xibo client is now rendering the images contained in the text mediaItems.
Go figure. Can you tell me if what I'm doing with that mediaItem conforms to its design/purpose.
I suppose I could use the embeded MediaType but it seems like overkill for just an image.
Is it possible that flushing cache files made the difference?
TIA
riondluz
P.S.
I spend a considerable amount of time on 'answers' and 'questions'..... and I really wish people would stick to the
correct semantics.
For Example:
"If you put a text box on a layout" really should say "If you put a text mediaItem into a region of a layout.."
I know its a stupid complaint, but sheesh, if the devs don't use semantics correctly, how can one expect
endusers to do so?
Keep up the great work!
RD
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Xibo Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- riondluz
- Solved:
- Last query:
- Last reply: