<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: JaS - like your own mini-Flickr</title>
	<atom:link href="http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/</link>
	<description>Web development and Internet trends</description>
	<pubDate>Mon, 08 Sep 2008 07:29:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-224815</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Thu, 06 Mar 2008 10:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-224815</guid>
		<description>Stéphan,

Yes, set it in your CSS file.</description>
		<content:encoded><![CDATA[<p>Stéphan,</p>
<p>Yes, set it in your <acronym title="Cascading Style Sheets">CSS</acronym> file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stéphan Leith</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-224516</link>
		<dc:creator>Stéphan Leith</dc:creator>
		<pubDate>Thu, 06 Mar 2008 01:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-224516</guid>
		<description>Can i control the output size of the pictutre? 
Thank-You!</description>
		<content:encoded><![CDATA[<p>Can i control the output size of the pictutre?<br />
Thank-You!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-197895</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Thu, 31 Jan 2008 09:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-197895</guid>
		<description>Andrew,

Thank you! I'm glad to hear it all worked out for you!</description>
		<content:encoded><![CDATA[<p>Andrew,</p>
<p>Thank you! I&#8217;m glad to hear it all worked out for you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-197619</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 31 Jan 2008 03:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-197619</guid>
		<description>I'm loving JaS! I figured out all the dynamic, php, mysql stuff, and tonight I was able to add pagination to my galleries as well. And the fact that you can build the underlying html and then have let the JaS functionality be added on top of that has allowed me to build a dynamic, non-javascript gallery on the same pages. I'm also using SlideShowPro Director to manage the backend of the galleries, and I couldn't be happier with the non-flash, search-engine friendly, front-end with some awesome dynamic features like the auto slide show.

If anyone wants to have a look &lt;a href="http://www.arossphoto.com/toronto-commercial-photographer/commercial-interiors/" rel="nofollow"&gt;here's the link to one of my galleries&lt;/a&gt;. Any feedback or suggestions would be much appreciated.

I just wish I had found JaS earlier. It would have saved me a lot of time and headaches.

Thanks very much for making this available Robert. 

Cheers,

Andrew</description>
		<content:encoded><![CDATA[<p>I&#8217;m loving JaS! I figured out all the dynamic, <acronym title="Hypertext PreProcessing">PHP</acronym>, mysql stuff, and tonight I was able to add pagination to my galleries as well. And the fact that you can build the underlying <acronym title="HyperText Markup Language">HTML</acronym> and then have let the JaS functionality be added on top of that has allowed me to build a dynamic, non-javascript gallery on the same pages. I&#8217;m also using SlideShowPro Director to manage the backend of the galleries, and I couldn&#8217;t be happier with the non-flash, search-engine friendly, front-end with some awesome dynamic features like the auto slide show.</p>
<p>If anyone wants to have a look <a href="http://www.arossphoto.com/toronto-commercial-photographer/commercial-interiors/" rel="nofollow">here&#8217;s the link to one of my galleries</a>. Any feedback or suggestions would be much appreciated.</p>
<p>I just wish I had found JaS earlier. It would have saved me a lot of time and headaches.</p>
<p>Thanks very much for making this available Robert. </p>
<p>Cheers,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-195864</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Tue, 29 Jan 2008 08:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-195864</guid>
		<description>Richard,

I'm glad to hear that you like it!
That problem in IE is indeed weird, and it appears if you apply the filter CSS (the one used for fades) to the element containing the image text. Therefore, try and have the text in a separate element, and things should be fine.</description>
		<content:encoded><![CDATA[<p>Richard,</p>
<p>I&#8217;m glad to hear that you like it!<br />
That problem in <acronym title="Internet Explorer">IE</acronym> is indeed weird, and it appears if you apply the filter <acronym title="Cascading Style Sheets">CSS</acronym> (the one used for fades) to the element containing the image text. Therefore, try and have the text in a separate element, and things should be fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Sparks</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-195653</link>
		<dc:creator>Richard Sparks</dc:creator>
		<pubDate>Tue, 29 Jan 2008 00:58:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-195653</guid>
		<description>Thanks for this great slideshow. I'm using it on a real estate agent's website to show photos of the local area. I modified your code a bit, and everything's working fine, except for one problem - and it's only showing up on (you guessed it) Internet Explorer. When you start the slideshow, the main image text become pixelated in IE 7, and in IE 6 it appears pixelated and bold. See it here: http://www.bearvalleyspringsrealty.com/page-bear+valley+springs+photo+gallery-8.html Any idea what's going on or how to fix it? It works perfectly in Firefox and Safari, but as usual IE sucks! Thanks for any suggestions.</description>
		<content:encoded><![CDATA[<p>Thanks for this great slideshow. I&#8217;m using it on a real estate agent&#8217;s website to show photos of the local area. I modified your code a bit, and everything&#8217;s working fine, except for one problem - and it&#8217;s only showing up on (you guessed it) Internet Explorer. When you start the slideshow, the main image text become pixelated in <acronym title="Internet Explorer">IE</acronym> 7, and in <acronym title="Internet Explorer">IE</acronym> 6 it appears pixelated and bold. See it here: <a href="http://www.bearvalleyspringsrealty.com/page-bear+valley+springs+photo+gallery-8.html" rel="nofollow">http://www.bearvalleyspringsrealty.com/page-bear+valley+springs+photo+gallery-8.html</a> Any idea what&#8217;s going on or how to fix it? It works perfectly in Firefox and Safari, but as usual <acronym title="Internet Explorer">IE</acronym> sucks! Thanks for any suggestions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-195161</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Mon, 28 Jan 2008 07:53:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-195161</guid>
		<description>Andrew,

I have no idea how regions work in Dreamweaver, but any programming language allows you to single out if an item is the last within a loop, so you can distinguish whether to omit the comma or not.

As described in &lt;a href="http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-182345" rel="nofollow"&gt;how to make a fallback&lt;/a&gt;, dor search engines as well as accessibility, you naturally should have the HTML code generated in the web page to begin with, and then let the JaS functionality be added on top of that.</description>
		<content:encoded><![CDATA[<p>Andrew,</p>
<p>I have no idea how regions work in Dreamweaver, but any programming language allows you to single out if an item is the last within a loop, so you can distinguish whether to omit the comma or not.</p>
<p>As described in <a href="http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-182345" rel="nofollow">how to make a fallback</a>, dor search engines as well as accessibility, you naturally should have the <acronym title="HyperText Markup Language">HTML</acronym> code generated in the web page to begin with, and then let the JaS functionality be added on top of that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-194980</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 28 Jan 2008 01:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-194980</guid>
		<description>Oops! I just noticed that I screwed up some of the code above when I was cutting and pasting. The part that goes in the javascript section of the head should look like this:
&lt;code&gt;
 JaS.images = [
	
&#60;?php 
	$row_num = mysql_num_rows($result);
$count = 1; //the first record
while ($line1 = mysql_fetch_array($result, MYSQL_ASSOC)) {
    echo "[\"".$line1['src']."\",\"".$line1['caption']."\",\"".$line1['title']."\"]"; 
    //print the comma unless it is the last record
    if ($count &#60; $row_num) {
        echo ', ';
    }
    $count++;
} 
?&#62;

];
&lt;/code&gt;
Maybe the moderator can clean up my original post and delete this one.

Andrew</description>
		<content:encoded><![CDATA[<p>Oops! I just noticed that I screwed up some of the code above when I was cutting and pasting. The part that goes in the javascript section of the head should look like this:<br />
<code><br />
 JaS.images = [</p>
<p>&lt;?php<br />
	$row_num = mysql_num_rows($result);<br />
$count = 1; //the first record<br />
while ($line1 = mysql_fetch_array($result, MYSQL_ASSOC)) {<br />
    echo "[\"".$line1['src'].&#8221;\&#8221;,\&#8221;".$line1['caption'].&#8221;\&#8221;,\&#8221;".$line1['title'].&#8221;\&#8221;]&#8221;;<br />
    //print the comma unless it is the last record<br />
    if ($count &lt; $row_num) {<br />
        echo &#8216;, &#8216;;<br />
    }<br />
    $count++;<br />
}<br />
?&gt;</p>
<p>];<br />
</code><br />
Maybe the moderator can clean up my original post and delete this one.</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-194969</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 28 Jan 2008 01:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-194969</guid>
		<description>I was just looking at the source code for the dynamically generated slideshow I described above, and was surprised to see the caption "Bat bridge in Austin" and src="../pictures/1.jpg". It doesn't seem to display any of my images or captions, unless I use the "view generated source" feature in the Firefox web developers toolbar.

Do you know if this will affect search engine ranking? Would they see the same thing I'm seeing in the source code or the actual generated code with all the right captions, alt tags, etc?

Thanks,

Andrew</description>
		<content:encoded><![CDATA[<p>I was just looking at the source code for the dynamically generated slideshow I described above, and was surprised to see the caption &#8220;Bat bridge in Austin&#8221; and src=&#8221;../pictures/1.jpg&#8221;. It doesn&#8217;t seem to display any of my images or captions, unless I use the &#8220;view generated source&#8221; feature in the Firefox web developers toolbar.</p>
<p>Do you know if this will affect search engine ranking? Would they see the same thing I&#8217;m seeing in the source code or the actual generated code with all the right captions, alt tags, etc?</p>
<p>Thanks,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-194960</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 28 Jan 2008 01:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-194960</guid>
		<description>Well after a lot of trial and error I finally figured out how to dynamically generate the image list from a mysql database. If anyone else is trying to do this here's what worked for me. I hope it saves someone else some time.

Put this at the very top of your php page to connect to your database and edit to your needs:
&lt;code&gt;
mysql_connect("localhost", "mysql_user", "mysql_password") or
    die("Could not connect: " . mysql_error());
mysql_select_db("mydb");

$result = mysql_query("SELECT image, caption, tags FROM mytable");
&#60;/code
Then put this in the head section after the jas.js file has been included and wrap it in the appropriate javascript tags:
&lt;code&gt;
    JaS.images = [
	
	&#60;?php 
	$row_num = mysql_num_rows($result);
$count = 1; //the first record
while ($line1 = mysql_fetch_array($result, MYSQL_ASSOC)) {
    echo "[\"".$line1['image']."\",\"".$line1['caption']."\",\"".$line1['tags']."\"]"; 
    //print the comma unless it is the last record
    if ($count 
];
&lt;/code&gt;
You also have to remove the original images section in the javascript file.  I've just started testing this tonight, and it seems to be working fine. However, any suggestions or feedback would be much appreciated.

Cheers,

Andrew</description>
		<content:encoded><![CDATA[<p>Well after a lot of trial and error I finally figured out how to dynamically generate the image list from a mysql database. If anyone else is trying to do this here&#8217;s what worked for me. I hope it saves someone else some time.</p>
<p>Put this at the very top of your <acronym title="Hypertext PreProcessing">PHP</acronym> page to connect to your database and edit to your needs:<br />
<code><br />
mysql_connect("localhost", "mysql_user", "mysql_password") or<br />
    die("Could not connect: " . mysql_error());<br />
mysql_select_db("mydb");</p>
<p>$result = mysql_query("SELECT image, caption, tags FROM mytable");<br />
&lt;/code<br />
Then put this in the head section after the jas.js file has been included and wrap it in the appropriate javascript tags:<br />
</code><code><br />
    JaS.images = [</p>
<p>	&lt;?php<br />
	$row_num = mysql_num_rows($result);<br />
$count = 1; //the first record<br />
while ($line1 = mysql_fetch_array($result, MYSQL_ASSOC)) {<br />
    echo "[\"".$line1['image'].&#8221;\&#8221;,\&#8221;".$line1['caption'].&#8221;\&#8221;,\&#8221;".$line1['tags'].&#8221;\&#8221;]&#8221;;<br />
    //print the comma unless it is the last record<br />
    if ($count<br />
];<br />
</code><br />
You also have to remove the original images section in the javascript file.  I&#8217;ve just started testing this tonight, and it seems to be working fine. However, any suggestions or feedback would be much appreciated.</p>
<p>Cheers,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-194435</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Sun, 27 Jan 2008 06:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-194435</guid>
		<description>This looks great, but it would be nice to see some more information about how to dynamically generate the image list. I'd like to pull the information from a mysql database using php, which is easily done with a repeat region in Dreamweaver.  But every row would be identical, including the comma at the end of the last line, which would cause the script to fail. I've been trying to find a way to drop that last comma, but have come up empty so far. Are the any working examples that you could post somewhere?

Thanks very much,

Andrew</description>
		<content:encoded><![CDATA[<p>This looks great, but it would be nice to see some more information about how to dynamically generate the image list. I&#8217;d like to pull the information from a mysql database using <acronym title="Hypertext PreProcessing">PHP</acronym>, which is easily done with a repeat region in Dreamweaver.  But every row would be identical, including the comma at the end of the last line, which would cause the script to fail. I&#8217;ve been trying to find a way to drop that last comma, but have come up empty so far. Are the any working examples that you could post somewhere?</p>
<p>Thanks very much,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-192930</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Fri, 25 Jan 2008 09:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-192930</guid>
		<description>Alex,

That's really impossible to say, but if it works locally, and it finds the JavaScript file on the server, it sounds like it's a matter of invalid paths to the images.</description>
		<content:encoded><![CDATA[<p>Alex,</p>
<p>That&#8217;s really impossible to say, but if it works locally, and it finds the JavaScript file on the server, it sounds like it&#8217;s a matter of invalid paths to the images.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-192549</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 24 Jan 2008 22:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-192549</guid>
		<description>HI:

I used the script and in my local machine works perfectly, but as soon as I uploade it in the server, the images won't show, I know the 'jas.js' it's working because the page shows exactly the numer of pictures, but i get the 'undifined' for every picture, am I doing something wrong, or is it just that the script doesn't finds the images route in the server.

Hope to hear from you soon¡

Alex</description>
		<content:encoded><![CDATA[<p>HI:</p>
<p>I used the script and in my local machine works perfectly, but as soon as I uploade it in the server, the images won&#8217;t show, I know the &#8216;jas.js&#8217; it&#8217;s working because the page shows exactly the numer of pictures, but i get the &#8216;undifined&#8217; for every picture, am I doing something wrong, or is it just that the script doesn&#8217;t finds the images route in the server.</p>
<p>Hope to hear from you soon¡</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-186607</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Wed, 16 Jan 2008 11:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-186607</guid>
		<description>Hong,

Thank you.
As it says at the beginning of this post:

&lt;blockquote cite="http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-186607"&gt;
Add this code to the end of the &lt;code&gt;jas.js&lt;/code&gt; to make it happen:
&lt;code&gt;addEvent(window, “load”, function(){ setTimeout(” JaS.startSlideshow()”, 1)}, false);&lt;/code&gt;
(The &lt;code&gt;setTimeout&lt;/code&gt; is to avoid a content parsing bug in Internet Explorer)
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Hong,</p>
<p>Thank you.<br />
As it says at the beginning of this post:</p>
<blockquote cite="http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-186607"><p>
Add this code to the end of the <code>jas.js</code> to make it happen:<br />
<code>addEvent(window, “load”, function(){ setTimeout(” JaS.startSlideshow()”, 1)}, false);</code><br />
(The <code>setTimeout</code> is to avoid a content parsing bug in Internet Explorer)
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hong</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-186509</link>
		<dc:creator>Hong</dc:creator>
		<pubDate>Wed, 16 Jan 2008 09:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-186509</guid>
		<description>Hi Robert,
Thanks for creating this great solution, I'm using it for a web project as per below:
http://www.virtuoso.com.my/ajc_test2/project-smp-kota-kemuning.php

In Firefox, the slideshow starts playing automatically after page loaded, but it doesn't autoplay in IE6 with 'error' in js.

Is there a way to solve the problem?

Thanks a lot!! Cheers~</description>
		<content:encoded><![CDATA[<p>Hi Robert,<br />
Thanks for creating this great solution, I&#8217;m using it for a web project as per below:<br />
<a href="http://www.virtuoso.com.my/ajc_test2/project-smp-kota-kemuning.php" rel="nofollow">http://www.virtuoso.com.my/ajc_test2/project-smp-kota-kemuning.php</a></p>
<p>In Firefox, the slideshow starts playing automatically after page loaded, but it doesn&#8217;t autoplay in IE6 with &#8216;error&#8217; in js.</p>
<p>Is there a way to solve the problem?</p>
<p>Thanks a lot!! Cheers~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-184921</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Mon, 14 Jan 2008 12:11:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-184921</guid>
		<description>Ben,

Sure, add another field in that array. You need to add another property to the JaS object, and then add a line like the one below, but with image caption. instead 

Within the &lt;code&gt;setImage&lt;/code&gt; method, you can see this code for image text, which can be duplicated for the image caption:

&lt;code&gt;this.imageText = this.currentImages[this.imageIndex][1];&lt;/code&gt;

This is of course the base of what you need to do, there's some minor additional coding to do.</description>
		<content:encoded><![CDATA[<p>Ben,</p>
<p>Sure, add another field in that array. You need to add another property to the JaS object, and then add a line like the one below, but with image caption. instead </p>
<p>Within the <code>setImage</code> method, you can see this code for image text, which can be duplicated for the image caption:</p>
<p><code>this.imageText = this.currentImages[this.imageIndex][1];</code></p>
<p>This is of course the base of what you need to do, there&#8217;s some minor additional coding to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-184868</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 14 Jan 2008 10:12:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-184868</guid>
		<description>Thanks for that Robert, very helpful. One more question though, if I may...

In our gallery we will have a number of text fields as well as the caption (photographer, location etc). Is it possible to extend the JaS.images array to include these extra fields alongside the caption? 

If so, do you have any pointers on doing this?

Many thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for that Robert, very helpful. One more question though, if I may&#8230;</p>
<p>In our gallery we will have a number of text fields as well as the caption (photographer, location etc). Is it possible to extend the JaS.images array to include these extra fields alongside the caption? </p>
<p>If so, do you have any pointers on doing this?</p>
<p>Many thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-182345</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Fri, 11 Jan 2008 12:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-182345</guid>
		<description>Ben,

Absolutely. I'm glad that you ask!
If you take a look at &lt;a href="http://www.robertnyman.com/jas/Vanilla/index.htm" rel="nofollow"&gt;the Vanilla theme&lt;/a&gt;, for example:

First, make sure the links within &lt;code&gt;&#60;ul id="navigation-controls"&#62;&lt;/code&gt; point to a URL where you have the logic to show the next/previous image. Naturally, hide the links for starting and stopping slideshow since it won't be supported.

For the same reason, hide &lt;code&gt;&#60;ul id="dim-background-controls"&#62;&lt;/code&gt;.

A good way to do this can be to apply a class to those elements which hides or positions them off screen, and then have a JavaScript which adds another class that resets that, so they're shown for script-enabled web browsers.

And, lastly, have server-side code to generate thumbnails within &lt;code&gt;&#60;div id="jas-thumbnails"&#62;&#60;/div&#62;&lt;/code&gt; (the exact code that the script generates). If wcript is enabled, what's generated on the server side will basiccally just be replaced by the script.

Good luck!</description>
		<content:encoded><![CDATA[<p>Ben,</p>
<p>Absolutely. I&#8217;m glad that you ask!<br />
If you take a look at <a href="http://www.robertnyman.com/jas/Vanilla/index.htm" rel="nofollow">the Vanilla theme</a>, for example:</p>
<p>First, make sure the links within <code>&lt;ul id="navigation-controls"&gt;</code> point to a <acronym title="Uniform Resource Locator">URL</acronym> where you have the logic to show the next/previous image. Naturally, hide the links for starting and stopping slideshow since it won&#8217;t be supported.</p>
<p>For the same reason, hide <code>&lt;ul id="dim-background-controls"&gt;</code>.</p>
<p>A good way to do this can be to apply a class to those elements which hides or positions them off screen, and then have a JavaScript which adds another class that resets that, so they&#8217;re shown for script-enabled web browsers.</p>
<p>And, lastly, have server-side code to generate thumbnails within <code>&lt;div id="jas-thumbnails"&gt;&lt;/div&gt;</code> (the exact code that the script generates). If wcript is enabled, what&#8217;s generated on the server side will basiccally just be replaced by the script.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-182278</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 11 Jan 2008 10:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-182278</guid>
		<description>Hi, I was wondering whether you could offer any pointers on creating a non-javascript fallback.

I realise I need to use server side scripting to create a page displaying the images and thumbnails, but then is it possible to apply this slideshow script to such a page (where the images aren't rendered by javascript).</description>
		<content:encoded><![CDATA[<p>Hi, I was wondering whether you could offer any pointers on creating a non-javascript fallback.</p>
<p>I realise I need to use server side scripting to create a page displaying the images and thumbnails, but then is it possible to apply this slideshow script to such a page (where the images aren&#8217;t rendered by javascript).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-164205</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Mon, 17 Dec 2007 21:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2006/04/12/jas-like-your-own-mini-flickr/#comment-164205</guid>
		<description>mizchels,

Lovely pictures! The error is that in the JavaScript file, you need to specify the id of the element which will show each image's text; it's the &lt;code&gt;imageTextContainerId&lt;/code&gt; property in the JavaScript.

If you don't want to use any text, it should work by setting the property &lt;code&gt;useImageText&lt;/code&gt; to false in the JavaScript file. If that doesn't work, just comment out this line in the script:

&lt;code&gt;this.imageTextContainer.setAttribute("alt", this.imageText);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>mizchels,</p>
<p>Lovely pictures! The error is that in the JavaScript file, you need to specify the id of the element which will show each image&#8217;s text; it&#8217;s the <code>imageTextContainerId</code> property in the JavaScript.</p>
<p>If you don&#8217;t want to use any text, it should work by setting the property <code>useImageText</code> to false in the JavaScript file. If that doesn&#8217;t work, just comment out this line in the script:</p>
<p><code>this.imageTextContainer.setAttribute("alt", this.imageText);</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
