<?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[Can&#x27;t get m5Dial to display an image loaded via UIFlow2]]></title><description><![CDATA[<p dir="auto">Referindo: <a href="/topic/6829/can-t-get-m5dial-to-display-an-image-loaded-via-uiflow2">Can't get m5Dial to display an image loaded via UIFlow2</a></p>
<p dir="auto">Hi everybody,</p>
<p dir="auto">I think UIFlow V2.3.1 has a major bug in the UI Component Image.<br />
When you insert an image, the following Python code is created:<br />
<strong>image0 = Widgets.Image("/flash/res/img/default.jpg", 139, 115, scale_x=1, scale_y=1)</strong><br />
Python only has the path to the image, and the x and y coordinates as parameters.<br />
That's why the following error appears when compiling:<br />
<em><strong>TypeError: extra keyword arguments given</strong></em></p>
<p dir="auto">You have to change the python code manually to:<br />
<strong>image0 = Widgets.Image("/flash/res/img/default.jpg", x=1, y=1)</strong></p>
<p dir="auto">I think this kind of error in UiFlow is unacceptable.<br />
Adding a UI Component and then having to manually change the Python code!<br />
Has anyone else experienced this issue?</p>
<p dir="auto">Thanks.<br />
Fernando Cardoso</p>
]]></description><link>https://community.m5stack.com/topic/7675/can-t-get-m5dial-to-display-an-image-loaded-via-uiflow2</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 20:37:47 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7675.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Jul 2025 11:05:27 GMT</pubDate><ttl>60</ttl></channel></rss>