<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[The image is not displayed]]></title><description><![CDATA[<p dir="auto">Hi Team,<br />
I was trying to display image with</p>
<p dir="auto">Widgets.Image('res/img/demo.jpg', 0, 0)<br />
demo.jpg is a 240x240 jpg file.</p>
<p dir="auto">the code runs without error, but no image is displayed as expected.<br />
But with Widgets.Image('res/img/uiflow.jpg', 100, 100), I can see the built-in image.</p>
<p dir="auto">Any advice ?</p>
<p dir="auto">Thanks,<br />
Joey</p>
]]></description><link>https://community.m5stack.com/topic/5996/the-image-is-not-displayed</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:49:17 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5996.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jan 2024 09:37:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to The image is not displayed on Thu, 31 Oct 2024 16:34:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/navatek" aria-label="Profile: navatek">@<bdi>navatek</bdi></a> This works for me. You just save my day.</p>
]]></description><link>https://community.m5stack.com/post/26914</link><guid isPermaLink="true">https://community.m5stack.com/post/26914</guid><dc:creator><![CDATA[brianoy]]></dc:creator><pubDate>Thu, 31 Oct 2024 16:34:12 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Mon, 16 Sep 2024 12:01:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/navatek" aria-label="Profile: navatek">@<bdi>navatek</bdi></a> Hi, thanks a lot for the solution. finally it works and displays images normally<br />
i was wondering if you have tried doing the same on arduino or other platforms.</p>
]]></description><link>https://community.m5stack.com/post/26441</link><guid isPermaLink="true">https://community.m5stack.com/post/26441</guid><dc:creator><![CDATA[mukul_100_]]></dc:creator><pubDate>Mon, 16 Sep 2024 12:01:38 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Wed, 04 Sep 2024 05:56:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iamliubo" aria-label="Profile: IAMLIUBO">@<bdi>IAMLIUBO</bdi></a> hi, i noticed that when you try to load the project in the device if you were to open the WebTerminal when you press the play button to try at the end the terminal writes the image error check height and width. I saw that in the device settings if you select it in the USB Device window, it gives you that error while if you select the device in the My Device window then it doesn't give any problems, so I think it's just a problem of understanding how to set UIFlow2</p>
]]></description><link>https://community.m5stack.com/post/26347</link><guid isPermaLink="true">https://community.m5stack.com/post/26347</guid><dc:creator><![CDATA[navatek]]></dc:creator><pubDate>Wed, 04 Sep 2024 05:56:49 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Tue, 03 Sep 2024 07:36:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">Thanks for report this, I think the main problem is the image format is not right, if you can provide the image to us, that's would be very nice.</p>
<p dir="auto">have a nice day :)<br />
BO</p>
]]></description><link>https://community.m5stack.com/post/26328</link><guid isPermaLink="true">https://community.m5stack.com/post/26328</guid><dc:creator><![CDATA[IAMLIUBO]]></dc:creator><pubDate>Tue, 03 Sep 2024 07:36:44 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Fri, 30 Aug 2024 15:54:39 GMT]]></title><description><![CDATA[<p dir="auto">to view the images you have to upload them to the res/img folder in the upload window press the file button and select the res/img folder then the send file to here button<img src="/assets/uploads/files/1725033212088-cattura1.png" alt="Cattura1.PNG" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1725033224460-cattura2.png" alt="Cattura2.PNG" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/26284</link><guid isPermaLink="true">https://community.m5stack.com/post/26284</guid><dc:creator><![CDATA[navatek]]></dc:creator><pubDate>Fri, 30 Aug 2024 15:54:39 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Tue, 09 Jul 2024 11:30:02 GMT]]></title><description><![CDATA[<p dir="auto">@I'm from Russia. and I apologize for my English. I am writing on this forum through a translator. I can't display a picture either. I work at UiFlow2 . I tried changing PNG formats to JPEG. There is no image. The image itself is 16*16pxl. I do my work with ATOM 3S.<br />
mukul_100_</p>
]]></description><link>https://community.m5stack.com/post/25789</link><guid isPermaLink="true">https://community.m5stack.com/post/25789</guid><dc:creator><![CDATA[Otis68]]></dc:creator><pubDate>Tue, 09 Jul 2024 11:30:02 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Tue, 09 Jul 2024 09:02:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mukul_100_" aria-label="Profile: mukul_100_">@<bdi>mukul_100_</bdi></a> Has anyone got this working on a M5Dial? if they have i can check what actually is going wrong</p>
]]></description><link>https://community.m5stack.com/post/25787</link><guid isPermaLink="true">https://community.m5stack.com/post/25787</guid><dc:creator><![CDATA[mukul_100_]]></dc:creator><pubDate>Tue, 09 Jul 2024 09:02:09 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Sat, 06 Jul 2024 07:54:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> hi thank you for the response<br />
i did try the suggested jpeg format with a 19kb file and it still shows no image but the default image label shows when no file is given to it<br />
can it be the image itself or uiflow 2?</p>
]]></description><link>https://community.m5stack.com/post/25760</link><guid isPermaLink="true">https://community.m5stack.com/post/25760</guid><dc:creator><![CDATA[mukul_100_]]></dc:creator><pubDate>Sat, 06 Jul 2024 07:54:05 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Sat, 06 Jul 2024 06:24:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mukul_100_" aria-label="Profile: mukul_100_">@<bdi>mukul_100_</bdi></a>  Try saving the file as jpeg not jpg</p>
]]></description><link>https://community.m5stack.com/post/25759</link><guid isPermaLink="true">https://community.m5stack.com/post/25759</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 06 Jul 2024 06:24:55 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Fri, 05 Jul 2024 12:19:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi, even i am facing the same issue with uiflow 2, the image is in jpg and 100x100px<br />
please help.<br />
Thanks</p>
]]></description><link>https://community.m5stack.com/post/25757</link><guid isPermaLink="true">https://community.m5stack.com/post/25757</guid><dc:creator><![CDATA[mukul_100_]]></dc:creator><pubDate>Fri, 05 Jul 2024 12:19:23 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Sun, 16 Jun 2024 09:38:00 GMT]]></title><description><![CDATA[<p dir="auto">it seems like that the official converter(from jpg to .c code) does support JPEG, but not JPG</p>
]]></description><link>https://community.m5stack.com/post/25571</link><guid isPermaLink="true">https://community.m5stack.com/post/25571</guid><dc:creator><![CDATA[timothychenpc]]></dc:creator><pubDate>Sun, 16 Jun 2024 09:38:00 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Tue, 27 Feb 2024 16:28:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> said in <a href="/post/24163">The image is not displayed</a>:</p>
<blockquote>
<p dir="auto">GIMP</p>
</blockquote>
<p dir="auto">thank you, i'm going to download it, what settings do you use when you export the image/icon?</p>
<p dir="auto">thanks</p>
]]></description><link>https://community.m5stack.com/post/24170</link><guid isPermaLink="true">https://community.m5stack.com/post/24170</guid><dc:creator><![CDATA[iosapps420]]></dc:creator><pubDate>Tue, 27 Feb 2024 16:28:13 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Tue, 27 Feb 2024 06:15:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iosapps420" aria-label="Profile: iosapps420">@<bdi>iosapps420</bdi></a> I use GIMP for image editing.</p>
]]></description><link>https://community.m5stack.com/post/24163</link><guid isPermaLink="true">https://community.m5stack.com/post/24163</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 27 Feb 2024 06:15:09 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Mon, 26 Feb 2024 19:44:34 GMT]]></title><description><![CDATA[<p dir="auto">the image is 240x240 but i did try different sizes<br />
the size is 8kb<br />
is there a software or a converter i can use to edit my icons?<br />
i tried to save your sheep icon and its also not displaying.<br />
I use InkScape for editing, maybe there's an option i can use when exporting</p>
]]></description><link>https://community.m5stack.com/post/24161</link><guid isPermaLink="true">https://community.m5stack.com/post/24161</guid><dc:creator><![CDATA[iosapps420]]></dc:creator><pubDate>Mon, 26 Feb 2024 19:44:34 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Mon, 26 Feb 2024 18:13:26 GMT]]></title><description><![CDATA[<p dir="auto">What pixel size and saved size in the image.<br />
240X240px images work but they have to be saved in a specific way.<br />
My little sheep Icon is an example of the image compression. it was designed for a proof of concept forum project and now M5Stack has implemented it into UIFlow2 firmware so that it show each users own logo.</p>
]]></description><link>https://community.m5stack.com/post/24158</link><guid isPermaLink="true">https://community.m5stack.com/post/24158</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 26 Feb 2024 18:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Mon, 26 Feb 2024 17:51:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello<br />
I'm having an issue showing images on M5Dail, i tried everything i can think of, i made sure its Baseline JPG, i can see the its saved here ( ' image1 = Widgets.Image("res/img/imgonlin1.jpg", 33, 42)')<br />
is there anything i'm missing? what Size it should be? i tried 32x32, 64x64, and 240x240 none worked</p>
<p dir="auto">the default.png (the place holder image before adding your own, shows just fine, but not uploaded ones)</p>
<p dir="auto">thanks</p>
]]></description><link>https://community.m5stack.com/post/24157</link><guid isPermaLink="true">https://community.m5stack.com/post/24157</guid><dc:creator><![CDATA[iosapps420]]></dc:creator><pubDate>Mon, 26 Feb 2024 17:51:09 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Fri, 19 Jan 2024 10:38:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/codeblue" aria-label="Profile: codeblue">@<bdi>codeblue</bdi></a> said in <a href="/post/23397">The image is not displayed</a>:</p>
<blockquote>
<p dir="auto">Hi Team,<br />
I was trying to display image with<br />
Widgets.Image('res/img/demo.jpg', 0, 0)<br />
demo.jpg is a 240x240 jpg file.<br />
the code runs without error, but no image is displayed as expected.<br />
But with Widgets.Image('res/img/uiflow.jpg', 100, 100), I can see the built-in image.<br />
Any advice ?<br />
Thanks,<br />
Joey</p>
</blockquote>
<p dir="auto">Hey Joey,</p>
<p dir="auto">It seems like you're trying to display an image using the Widgets.Image() function in your code. The fact that you can see the built-in image with 'res/img/uiflow.jpg' suggests that the function itself is working correctly.</p>
<p dir="auto">Make sure to check the following:</p>
<p dir="auto">File Path: Double-check the file path for 'demo.jpg' to ensure it's correct. It should point to the location of the 'demo.jpg' file on your device.</p>
<p dir="auto">File Existence: Ensure that 'demo.jpg' exists in the specified path and that it's a valid image file.</p>
<p dir="auto">File Format: Confirm that 'demo.jpg' is indeed a JPEG image and not another format like PNG or GIF.</p>
<p dir="auto">If all these checks are in order and you're still not seeing the image, there may be an issue with the image itself. Try opening 'demo.jpg' in an image viewer to make sure it's not corrupted or unreadable.</p>
<p dir="auto">Hope this helps you troubleshoot the issue!</p>
]]></description><link>https://community.m5stack.com/post/23401</link><guid isPermaLink="true">https://community.m5stack.com/post/23401</guid><dc:creator><![CDATA[cake00]]></dc:creator><pubDate>Fri, 19 Jan 2024 10:38:31 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Fri, 19 Jan 2024 09:58:43 GMT]]></title><description><![CDATA[<p dir="auto">Nevermind, I get it work with this tool <a href="https://www.bytedig.com/web/image-resize" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.bytedig.com/web/image-resize</a></p>
]]></description><link>https://community.m5stack.com/post/23399</link><guid isPermaLink="true">https://community.m5stack.com/post/23399</guid><dc:creator><![CDATA[codeblue]]></dc:creator><pubDate>Fri, 19 Jan 2024 09:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to The image is not displayed on Fri, 19 Jan 2024 09:53:51 GMT]]></title><description><![CDATA[<p dir="auto">Well, somehow I download a 240x240 image from google, and it works fine.</p>
<p dir="auto">My images are converted from PNG files with ffmpeg command, any trick to make it work?</p>
]]></description><link>https://community.m5stack.com/post/23398</link><guid isPermaLink="true">https://community.m5stack.com/post/23398</guid><dc:creator><![CDATA[codeblue]]></dc:creator><pubDate>Fri, 19 Jan 2024 09:53:51 GMT</pubDate></item></channel></rss>