<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>A Raspberry Pi2 random pisture display</title><link>/products/raspberry-pi/raspberrypi_projects/b/blog/posts/a-raspberry-pi2-random-pisture-display</link><description>I wanted to use my new Pi2 as a &amp;quot;random picture display&amp;quot;, but I didn&amp;#39;t want to install the &amp;quot;media center&amp;quot;I was very frustrated with using python and the pygame &amp;quot;resources&amp;quot; (whatever they call it)Ultimately, I decided to try a different approach; html</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: A Raspberry Pi2 random pisture display</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/a-raspberry-pi2-random-pisture-display</link><pubDate>Thu, 26 May 2016 19:07:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ff8a4560-d137-488b-86aa-08e90129f639</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;You had me worried until I realized that you meant Picture, not Pisture.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=1497&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: A Raspberry Pi2 random pisture display</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/a-raspberry-pi2-random-pisture-display</link><pubDate>Thu, 26 May 2016 19:06:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ff8a4560-d137-488b-86aa-08e90129f639</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;oh, and noticed I had not commented on in the original post, in function update...&lt;br /&gt;the script has this code&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;function Update()&lt;br /&gt;{&lt;br /&gt;mag=1;&lt;/p&gt;&lt;p&gt;//centimg=picpath + g_ImageTable[g_iimg][0];&lt;/p&gt;&lt;p&gt;centimg=g_ImageTable[g_iimg][0];&lt;br /&gt;newWindow2(centimg);&lt;br /&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;the comment I should have added --- &lt;br /&gt;the current script is set to run in the directory with the files...&lt;/p&gt;&lt;p&gt;//centimg=picpath + g_ImageTable[g_iimg][0];&lt;/p&gt;&lt;p&gt;centimg=g_ImageTable[g_iimg][0];&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If it is running from your desktop etc, you should change those two lines to this&lt;/p&gt;&lt;p&gt;centimg=picpath + g_ImageTable[g_iimg][0];&lt;/p&gt;&lt;p&gt;//centimg=g_ImageTable[g_iimg][0];&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=1497&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: A Raspberry Pi2 random pisture display</title><link>https://community.element14.com/products/raspberry-pi/raspberrypi_projects/b/blog/posts/a-raspberry-pi2-random-pisture-display</link><pubDate>Thu, 26 May 2016 18:57:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ff8a4560-d137-488b-86aa-08e90129f639</guid><dc:creator>Former Member</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;and, since I got it working nicely, I had to go buy a bigger display!&amp;nbsp; It is capable of 1920x1080 resolution, so I&amp;#39;ve changed maxwid and maxhit (on my copy of this script) to 1040 and 1820 respectively.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Showing random images this way takes little computing power from the Pi (peaks at about 20%) and only when the image is first being displayed, then the processor demand drops to 0%.&amp;nbsp; I am using a 4Gb flash drive plugged directly into the Pi, and have 1000&amp;#39;s of images on it.&amp;nbsp; The Pi is powered by the monitor&amp;#39;s USB port, and I&amp;#39;m using wireless networking and a wireless keyboard/mouse pad combo.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The neat part, to me anyway, is that I&amp;#39;m still using the Rasbian system, and I have &amp;quot;full use&amp;quot; of the P!i&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=1497&amp;AppID=84&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>