<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gallery &#8211; LarryLai</title>
	<atom:link href="https://larrylai.com/category/it/software/application/gallery/feed/" rel="self" type="application/rss+xml" />
	<link>https://larrylai.com</link>
	<description>兼聽則明 偏聽則暗</description>
	<lastBuildDate>Sat, 02 Aug 2014 11:14:54 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://larrylai.com/wp-content/uploads/2017/03/larrylai_com-favicon.png</url>
	<title>Gallery &#8211; LarryLai</title>
	<link>https://larrylai.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Piwigo Fotorama Conflict w/ Embedded Video</title>
		<link>https://larrylai.com/piwigo-fotorama-conflict-embedded-video/</link>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Tue, 20 May 2014 20:57:16 +0000</pubDate>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technical]]></category>
		<guid isPermaLink="false">http://blog.larrylai.com/?p=869</guid>

					<description><![CDATA[<p>Issue: After installing Fotorama plugin in Piwigo provided that there is Embedded Video installed, the following error message will be shown while clicking the slideshow button on top of the video pages: Notice: Undefined index: selected_derivative in /&#8230;/plugins/Fotorama/main.inc.php on line 54 Fatal error: Call to a member function get_type() on a non-object in /&#8230;/plugins/Fotorama/main.inc.php on [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/piwigo-fotorama-conflict-embedded-video/">Piwigo Fotorama Conflict w/ Embedded Video</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Issue:</strong></p>
<p>After installing Fotorama plugin in Piwigo provided that there is Embedded Video installed, the following error message will be shown while clicking the slideshow button on top of the video pages: Notice: Undefined index: selected_derivative in /&#8230;/plugins/Fotorama/main.inc.php on line 54 Fatal error: Call to a member function get_type() on a non-object in /&#8230;/plugins/Fotorama/main.inc.php on line 54</p>
<p><strong>Solution:</strong></p>
<p>Maybe it is just a workaround for the issue. However, it works so far. Comment out the statements causing the error in main.inc.php of Fotorama plugin as below:</p>
<div style="margin-left: 40px;">$type = $current[&#8216;selected_derivative&#8217;]-&gt;get_type();</div>
<div style="margin-left: 40px;">    $defined = ImageStdParams::get_defined_type_map();</div>
<div style="margin-left: 40px;">    if (!isset($defined[$type]))</div>
<div style="margin-left: 40px;">    {</div>
<div style="margin-left: 40px;">      $type = pwg_get_session_var(&#8216;picture_deriv&#8217;, $conf[&#8216;derivative_default_size&#8217;]);</div>
<div style="margin-left: 40px;">    }</div>
<div>and rewrite the following line:</div>
<div>
<div style="margin-left: 40px;">$type = pwg_get_session_var(&#8216;picture_deriv&#8217;, $conf[&#8216;derivative_default_size&#8217;]);</div>
<div style="margin-left: 40px; text-align: left;"></div>
</div>
<p></br><br />
<strong>Config:</strong></p>
<ul>
<li>Piwigo          2.6.2</li>
<li>Embedded plugin: 2.6.2</li>
<li>Fotorama plugin:   2.6.h</li>
</ul>
<p>The post <a rel="nofollow" href="https://larrylai.com/piwigo-fotorama-conflict-embedded-video/">Piwigo Fotorama Conflict w/ Embedded Video</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Piwigo Fotorama Plugin Bug!</title>
		<link>https://larrylai.com/piwigo-fotorama-plugin-bug/</link>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Tue, 20 May 2014 10:49:08 +0000</pubDate>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[Entrepreneur]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<guid isPermaLink="false">http://blog.larrylai.com/?p=1131</guid>

					<description><![CDATA[<p>Issue: The built-in slideshow feature of Piwigo has neither fading effect nor full-screen show. Though there is a CoolIris/PicLens plugin, it cannot work in iOS including iPhone and iPad as it requires Java. There is a new slideshow plugin for Piwigo called Fotorama that I have been waiting for a long time to empower the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/piwigo-fotorama-plugin-bug/">Piwigo Fotorama Plugin Bug!</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Issue:</strong></p>
<p>The built-in slideshow feature of Piwigo has neither fading effect nor full-screen show. Though there is a <a href="http://piwigo.org/ext/extension_view.php?eid=234" target="_blank" rel="noopener">CoolIris/PicLens plugin</a>, it cannot work in iOS including iPhone and iPad as it requires Java. There is a new slideshow plugin for Piwigo called <a href="http://piwigo.org/ext/extension_view.php?eid=727" target="_blank" rel="noopener">Fotorama</a> that I have been waiting for a long time to empower the online albums.</p>
<p>However, it did not work in my Piwigo site. Just displaying all the thumbnails but no slideshow happened either under window or full-screen. No error message. Changing all combination of plugin configuration, nothing was changed.</p>
<p><strong>Solution:</strong></p>
<ol>
<li>Check Administration -&gt; Configuration -&gt; Options -&gt; Genereal -&gt; Gallery title</li>
<li>Remove all text including Apostrophe (&#8216;).</li>
</ol>
<p><strong>Config:</strong></p>
<ul>
<li>Piwigo     2.6.2</li>
<li>Fotorama Plugin   2.6.h</li>
</ul>
<p><strong>Tricks:</strong></p>
<ul>
<li>At the beginning, I observed that a slave Piwigo site works but the host site did not work, and interestingly another separate Piwigo site works while the slave site did not work.</li>
<li>As there is no error message while executing slideshow, it is difficult to find out the bug mentioned in the Solution above.</li>
<li>Posted a question in Piwigo <a href="http://piwigo.org/forum/viewtopic.php?id=23280&amp;p=1" target="_blank" rel="noopener">Forum</a> related to Fotorama plugin, but no one responded after a day.</li>
<li>The flow to solve the issue was by adding new slave Piwigo site under the working host Piwigo and then adding only the Fotorama plugin but nothing else, it works and then gradually configuring other settings. After adding a Gallery title, it did not work. Bingo! Usually, we use &#8220;LarryLai&#8217;s Gallery&#8221; or &#8220;Mr. X&#8217;s Gallery&#8221;, then no luck, you are trapped by the bug.</li>
</ul>
<p>The post <a rel="nofollow" href="https://larrylai.com/piwigo-fotorama-plugin-bug/">Piwigo Fotorama Plugin Bug!</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
