After upgrade from 1.8x to 2x on our docker install layouts no longer display images on our android display (i tried updating the client to 2x also but no difference …) i tried to upload images again and making a new layout to test with but when i use a text field and add an image from the library it shows in the preview just fine but when it display on the device the image is gone and if there was text below the image the text is bumped up to where the image was supposed to be.
I figured maybe it’s a problem with the upgrade from 1.8x to 2.x that is causing my issue so i made a fresh install of a 2.0.3 Xibo with Docker but the same problem here … as u can see in the preview window the image is there but in the player it’s not there (both Android and Windows player)
Thank you for your message. Can you confirm the following:
What version of Android is your Player running on?
What version of the Xibo for Android Player are you running on this device?
What is the make and model of the device running your Xibo for Android Player?
If you can export a copy of your Layout and send it to me in a private message, I would be happy to test it on my own device to see what could be causing the issue.
Android device is a DSCS9 with system version 6.0.1
Android Player is version R201 (i had 1.8 something before which displayed the same problem)
My Windows Player is currently 1.8.1 and it has the problem also.
I will PM a layout, although i’ve made new layouts just to test and it experiences the same issue.
Thank you for passing on your Layout, it was very helpful for troubleshooting the issue.
I have discovered a bug which could explain why you are experiencing this issue. The bug is caused by turning the Visual Editor on in your Text widget and then adding the image. This creates this line in your Widget:
If you turn the Visual Editor off and add an image to your Text Widget using the Library drop down menu, this line is instead created, which is correct:
<p><img src="[image_ID]"/>
To correct this issue in your Layout, please try the following:
Open the Layout in Designer and edit the Text Widget.
Select the Templates > Main tab and turn off the Visual Editor if it is on. You should now see something like the screenshot below. Please highlight the same text as I have done in the screenshot.
Delete the text you highlighted but make sure to keep the cursor in the same place.
Now click the Library option above the template and choose the image you want to add to that Widget. The line should read something like this but the number in the brackets will be different for you:
Save to confirm the changes.
Once you have done that and Published the Layout, you should be able to see the image when you schedule the Layout to your Display. If not, please let me know and I will create a modified version of your Layout for you to try.
Here is a link to the issue report I created:
The development team will work on a fix for this issue which will be applied to a future release of Xibo CMS. Thank you again for making us aware of this issue and for sharing your Layout with me, definitely makes finding the issue a lot easier than starting from scratch.
I hope it will be fixed for the next patch since we’re regularily changing images on the layout and i don’t think our receptionist who does it will be able to do this manual editing so i will have to step in till the bug is resolved.
Great news that the workaround is resolving the issue whilst a fix is created. Currently the milestone for this issue is 2.0.4, so it is quite possible but not guaranteed that this will be resolved with the next revision of 2.0 CMS.