<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Thumbnails in the Infinite Carousel</title>
	<atom:link href="http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/</link>
	<description>A web designoper&#039;s journal</description>
	<lastBuildDate>Sat, 04 Feb 2012 02:01:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Denise</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-12777</link>
		<dc:creator>Denise</dc:creator>
		<pubDate>Wed, 21 Sep 2011 19:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-12777</guid>
		<description>I was able to get this partially working as I want. By changing the reference to the src of the li that generates the thumbnail to id instead and then making an image the id, I can get my image in there, but all I am able to do in the active/hover state is change the opacity. 

Here&#039;s html I used for each li:
&lt;code&gt;
img alt=&quot;&quot; id=&quot;images/counter.png&quot; src=&quot;images/image1.jpg&quot; width=&quot;738&quot; height=&quot;323&quot; 
&lt;/code&gt;

And the js I changed was:

from &lt;code&gt; attr(&#039;src&#039;); &lt;/code&gt;
to &lt;code&gt; attr(&#039;id&#039;); &lt;/code&gt;

on lines 178, 187, 213, and 356.

I&#039;m no javascript expert, so I&#039;m hoping these changes didn&#039;t break something else, but it seems to work just fine. I have not fully tested for cross browser compatibility yet, but working so far on FF, Safari, and Chrome on MAC.

This could be a possible 4th solution for the thumbnail issue listed above if someone wanted to do the extra step of making a separate file for a thumb.

Any thoughts on having the active/hover state change the image, or a better way to do this would be great!</description>
		<content:encoded><![CDATA[<p>I was able to get this partially working as I want. By changing the reference to the src of the li that generates the thumbnail to id instead and then making an image the id, I can get my image in there, but all I am able to do in the active/hover state is change the opacity. </p>
<p>Here&#8217;s html I used for each li:<br />
<code><br />
img alt="" id="images/counter.png" src="images/image1.jpg" width="738" height="323"<br />
</code></p>
<p>And the js I changed was:</p>
<p>from <code> attr('src'); </code><br />
to <code> attr('id'); </code></p>
<p>on lines 178, 187, 213, and 356.</p>
<p>I&#8217;m no javascript expert, so I&#8217;m hoping these changes didn&#8217;t break something else, but it seems to work just fine. I have not fully tested for cross browser compatibility yet, but working so far on FF, Safari, and Chrome on MAC.</p>
<p>This could be a possible 4th solution for the thumbnail issue listed above if someone wanted to do the extra step of making a separate file for a thumb.</p>
<p>Any thoughts on having the active/hover state change the image, or a better way to do this would be great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denise</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-12775</link>
		<dc:creator>Denise</dc:creator>
		<pubDate>Wed, 21 Sep 2011 17:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-12775</guid>
		<description>I want to do something with the thumbnails, but something different from the variations you offer here. I think it would be easier and shouldn&#039;t affect the speed.

Rather than thumbnails that are images or numbers, I want to use a simple counter of circle images where the active slide has a corresponding dot that is a different color. So if I have 4 image slides, I have 4 dots that are grey, and when it&#039;s on the the 3rd slide, the 3rd dot is green instead. This would also hold in the hover state and the dots would be clickable to link to that slide, like they do now.

I&#039;ve seen this a lot with flash sliders, but I don&#039;t want to use flash. This would be a great feature. Love the slider - thanks a bunch!!</description>
		<content:encoded><![CDATA[<p>I want to do something with the thumbnails, but something different from the variations you offer here. I think it would be easier and shouldn&#8217;t affect the speed.</p>
<p>Rather than thumbnails that are images or numbers, I want to use a simple counter of circle images where the active slide has a corresponding dot that is a different color. So if I have 4 image slides, I have 4 dots that are grey, and when it&#8217;s on the the 3rd slide, the 3rd dot is green instead. This would also hold in the hover state and the dots would be clickable to link to that slide, like they do now.</p>
<p>I&#8217;ve seen this a lot with flash sliders, but I don&#8217;t want to use flash. This would be a great feature. Love the slider &#8211; thanks a bunch!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-10631</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sun, 20 Feb 2011 21:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-10631</guid>
		<description>What I&#039;m look for is a hybrid  of your Infinite jCarousel and the fade transition of your Panel Gallery:
http://www.catchmyfame.com/jquery/pg2-demo-multi.php?fx=fade</description>
		<content:encoded><![CDATA[<p>What I&#8217;m look for is a hybrid  of your Infinite jCarousel and the fade transition of your Panel Gallery:<br />
<a href="http://www.catchmyfame.com/jquery/pg2-demo-multi.php?fx=fade" rel="nofollow">http://www.catchmyfame.com/jquery/pg2-demo-multi.php?fx=fade</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-10630</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sun, 20 Feb 2011 19:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-10630</guid>
		<description>I decided to update the jCarousel from 1.1.2 (named jCarousel.js) to the latest version (jquery.infinitecarousel2.js).

Went to the carousel.php which called the script. Commented out/added one line to call the new js file:
/*&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jCarousel.js&quot;&gt;*/
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery.infinitecarousel2.js&quot;&gt;

It still didn&#039;t work

I then viewed the source script you created:
http://www.catchmyfame.com/jquery/infinitecarousel2/demo/thumbmod/

I then copy and pasted that entirely into the jquery.infinitecarousel2.js and modified the thumbnailWidth and thumbnailHeight arbitrarily to 60px w and 45 px h.

Boom. Magic. Thanks.

Still interested in figuring out how to get rid of the slide transition and replace it with a fade transition.</description>
		<content:encoded><![CDATA[<p>I decided to update the jCarousel from 1.1.2 (named jCarousel.js) to the latest version (jquery.infinitecarousel2.js).</p>
<p>Went to the carousel.php which called the script. Commented out/added one line to call the new js file:<br />
/*&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jCarousel.js&#8221;&gt;*/<br />
&lt;script type=&quot;text/javascript&quot; src=&quot;/js/jquery.infinitecarousel2.js&#8221;&gt;</p>
<p>It still didn&#8217;t work</p>
<p>I then viewed the source script you created:<br />
<a href="http://www.catchmyfame.com/jquery/infinitecarousel2/demo/thumbmod/" rel="nofollow">http://www.catchmyfame.com/jquery/infinitecarousel2/demo/thumbmod/</a></p>
<p>I then copy and pasted that entirely into the jquery.infinitecarousel2.js and modified the thumbnailWidth and thumbnailHeight arbitrarily to 60px w and 45 px h.</p>
<p>Boom. Magic. Thanks.</p>
<p>Still interested in figuring out how to get rid of the slide transition and replace it with a fade transition.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-10628</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sat, 19 Feb 2011 21:12:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-10628</guid>
		<description>Excuse my ignorance but how would one go about executing Method #1?</description>
		<content:encoded><![CDATA[<p>Excuse my ignorance but how would one go about executing Method #1?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-6045</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 02 May 2010 02:28:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-6045</guid>
		<description>For those of you that want to play with the PHP option, here&#039;s the code I used (note that the plugin is slightly modified -- view the source of the demo for the modified version):

&lt;code&gt;&lt;?php
$filename = &#039;/path/to/images&#039;. $_GET[&#039;i&#039;];
$width = (int) $_GET[&#039;w&#039;];
$height = (int) $_GET[&#039;h&#039;];
$quality = $_GET[&#039;q&#039;];
$info = getimagesize($filename);
header(&#039;Content-type: &#039;.$info[&#039;mime&#039;]);
list($width_orig, $height_orig) = $info;
$ratio_orig = $width_orig/$height_orig;
if ($width/$height &gt; $ratio_orig) {
   $width = $height*$ratio_orig;
} else {
   $height = $width/$ratio_orig;
}
// Resample
$thumb = imagecreatetruecolor($width, $height);
if($info[&#039;mime&#039;]==&#039;image/jpeg&#039;) $image = imagecreatefromjpeg($filename);
elseif($info[&#039;mime&#039;]==&#039;image/png&#039;) $image = imagecreatefrompng($filename);
elseif($info[&#039;mime&#039;]==&#039;image/gif&#039;) $image = imagecreatefromgif($filename);
imagecopyresampled($thumb, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);
/*
if($info[&#039;mime&#039;]==&#039;image/jpeg&#039;) imagejpeg($thumb, null, $quality);
if($info[&#039;mime&#039;]==&#039;image/png&#039;) imagepng($thumb);
if($info[&#039;mime&#039;]==&#039;image/gif&#039;) imagegif($thumb);
*/
imagejpeg($thumb, null, $quality);
?&gt;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>For those of you that want to play with the PHP option, here&#8217;s the code I used (note that the plugin is slightly modified &#8212; view the source of the demo for the modified version):</p>
<p><code>&lt;?php<br />
$filename = &#39;/path/to/images&#39;. $_GET[&#39;i&#39;];<br />
$width = (int) $_GET[&#39;w&#39;];<br />
$height = (int) $_GET[&#39;h&#39;];<br />
$quality = $_GET[&#39;q&#39;];<br />
$info = getimagesize($filename);<br />
header(&#39;Content-type: &#39;.$info[&#39;mime&#39;]);<br />
list($width_orig, $height_orig) = $info;<br />
$ratio_orig = $width_orig/$height_orig;<br />
if ($width/$height &gt; $ratio_orig) {<br />
   $width = $height*$ratio_orig;<br />
} else {<br />
   $height = $width/$ratio_orig;<br />
}<br />
// Resample<br />
$thumb = imagecreatetruecolor($width, $height);<br />
if($info[&#39;mime&#39;]==&#39;image/jpeg&#39;) $image = imagecreatefromjpeg($filename);<br />
elseif($info[&#39;mime&#39;]==&#39;image/png&#39;) $image = imagecreatefrompng($filename);<br />
elseif($info[&#39;mime&#39;]==&#39;image/gif&#39;) $image = imagecreatefromgif($filename);<br />
imagecopyresampled($thumb, $image, 0, 0, 0, 0, $width, $height, $width_orig, $height_orig);<br />
/*<br />
if($info[&#39;mime&#39;]==&#39;image/jpeg&#39;) imagejpeg($thumb, null, $quality);<br />
if($info[&#39;mime&#39;]==&#39;image/png&#39;) imagepng($thumb);<br />
if($info[&#39;mime&#39;]==&#39;image/gif&#39;) imagegif($thumb);<br />
*/<br />
imagejpeg($thumb, null, $quality);<br />
?&gt;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felero</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-6044</link>
		<dc:creator>Felero</dc:creator>
		<pubDate>Sun, 02 May 2010 02:21:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-6044</guid>
		<description>I would be interested in the PHP version also, however both intrigue me.</description>
		<content:encoded><![CDATA[<p>I would be interested in the PHP version also, however both intrigue me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-5823</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Sat, 20 Feb 2010 13:48:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-5823</guid>
		<description>Hi Frank, thank you for the tip!
As i&#039;m learning both js and php can you link me a page with some code example for what you wrote above?
I will appreciate this so much!</description>
		<content:encoded><![CDATA[<p>Hi Frank, thank you for the tip!<br />
As i&#8217;m learning both js and php can you link me a page with some code example for what you wrote above?<br />
I will appreciate this so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank DeRosa</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-5808</link>
		<dc:creator>Frank DeRosa</dc:creator>
		<pubDate>Wed, 17 Feb 2010 04:54:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-5808</guid>
		<description>@Mark, I have done just this - PHP can do this without too much fuss.  You read the contents of the folder, discard the &#039;.&#039; and &#039;..&#039; folders, and output a set of  tags with the  of your choice in each.  I have actually done a series of folders, each containing the content for several carousels with text captions for each image.  Your needs are simpler - you just read one folder&#039;s contents and output the file names in a loop.</description>
		<content:encoded><![CDATA[<p>@Mark, I have done just this &#8211; PHP can do this without too much fuss.  You read the contents of the folder, discard the &#8216;.&#8217; and &#8216;..&#8217; folders, and output a set of  tags with the  of your choice in each.  I have actually done a series of folders, each containing the content for several carousels with text captions for each image.  Your needs are simpler &#8211; you just read one folder&#8217;s contents and output the file names in a loop.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://www.catchmyfame.com/2010/02/03/thumbnails-in-the-infinite-carousel/comment-page-1/#comment-5769</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Tue, 09 Feb 2010 16:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.catchmyfame.com/?p=472#comment-5769</guid>
		<description>I suspected that wasn&#039;t possible with only js.
Thank you for the clarification!</description>
		<content:encoded><![CDATA[<p>I suspected that wasn&#8217;t possible with only js.<br />
Thank you for the clarification!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

