<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: How to get Lightbox to display Images in Sidebar Gallery</title>
		<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery</link>
		<description>Support Forum - Topic: How to get Lightbox to display Images in Sidebar Gallery</description>
		<language>en-US</language>
		<pubDate>Sun, 26 May 2013 03:57:07 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "How to get Lightbox to display Images in Sidebar Gallery"</title>
			<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery#post-18426</link>
			<pubDate>Wed, 04 May 2011 13:09:05 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">18426@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad that we could help you :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pom99 on "How to get Lightbox to display Images in Sidebar Gallery"</title>
			<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery#post-18423</link>
			<pubDate>Wed, 04 May 2011 12:35:28 +0000</pubDate>
			<dc:creator>pom99</dc:creator>
			<guid isPermaLink="false">18423@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey, Dude.&#60;br /&#62;
I think between the image resizer and Smushit I'll be able to make the images load faster.&#60;br /&#62;
Thank you and James for all your help again.&#60;/p&#62;
&#60;p&#62;Pom
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to get Lightbox to display Images in Sidebar Gallery"</title>
			<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery#post-18389</link>
			<pubDate>Wed, 04 May 2011 04:55:31 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">18389@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Maybe try to reduce the image quality (if they're jpgs). Tools like &#60;a href=&#34;http://www.obviousidea.com/windows-software/light-image-resizer/&#34; rel=&#34;nofollow&#34;&#62;http://www.obviousidea.com/windows-software/light-image-resizer/&#60;/a&#62; help you to batch resize or adjust the quality. I'd suggest up to 1000px width - everything else can cause problems (I'd even recommend 800px only...)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pom99 on "How to get Lightbox to display Images in Sidebar Gallery"</title>
			<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery#post-18362</link>
			<pubDate>Tue, 03 May 2011 20:21:51 +0000</pubDate>
			<dc:creator>pom99</dc:creator>
			<guid isPermaLink="false">18362@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Dude,&#60;/p&#62;
&#60;p&#62;That did it! Although I must say I I can't believe it was that simple, hahaha.&#60;/p&#62;
&#60;p&#62;On another note, what would image resolution do you recommend for pictures in Lightbox in general? &#60;/p&#62;
&#60;p&#62;I've been noticing that pictures take a while to display right now and but I'm 100% sure it has to do with image resolution.&#60;/p&#62;
&#60;p&#62;Thanks again to the both of you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "How to get Lightbox to display Images in Sidebar Gallery"</title>
			<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery#post-18357</link>
			<pubDate>Tue, 03 May 2011 19:48:26 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">18357@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
try:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;image-gallery&#38;quot;&#38;gt;
&#38;lt;?php
$image_query = new WP_Query(&#38;#39;posts_per_page=6&#38;amp;orderby=rand&#38;amp;cat=-23,-25&#38;#39;);
$imageArray = wp_get_attachment_image_src( get_post_thumbnail_id($post-&#38;gt;ID), &#38;#39;thumbnail_name&#38;#39; );
$imageURL = $imageArray[0];
while ($image_query-&#38;gt;have_posts()) : $image_query-&#38;gt;the_post(); ?&#38;gt;
&#38;lt;div class=&#38;quot;imagebox&#38;quot;&#38;gt;&#38;lt;a title=&#38;quot;&#38;lt;?php the_title(); ?&#38;gt;&#38;quot; href=&#38;quot;&#38;lt;?php echo $imageURL; ?&#38;gt;&#38;quot; rel=&#38;quot;lightbox&#38;quot;&#38;gt;&#38;lt;?php the_post_thumbnail(array(61,61), array (&#38;#39;class&#38;#39; =&#38;gt; &#38;#39;rounded3&#38;#39;)); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/div&#38;gt;
&#38;lt;?php endwhile; ?&#38;gt;
&#38;lt;?php wp_reset_query(); ?&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>pom99 on "How to get Lightbox to display Images in Sidebar Gallery"</title>
			<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery#post-18338</link>
			<pubDate>Tue, 03 May 2011 15:38:47 +0000</pubDate>
			<dc:creator>pom99</dc:creator>
			<guid isPermaLink="false">18338@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello again,&#60;/p&#62;
&#60;p&#62;The site is back up again. Here's the &#60;a href=&#34;http://itsmynor:ClFfjST42rEIIj@itsmynortheast.com/&#34; rel=&#34;nofollow&#34;&#62;link&#60;/a&#62;. Please note that the site is password-protected, so the login info is included in the url.&#60;br /&#62;
Thanks for taking a look at this.&#60;/p&#62;
&#60;p&#62;Pom
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pom99 on "How to get Lightbox to display Images in Sidebar Gallery"</title>
			<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery#post-18333</link>
			<pubDate>Tue, 03 May 2011 13:56:09 +0000</pubDate>
			<dc:creator>pom99</dc:creator>
			<guid isPermaLink="false">18333@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi James,&#60;/p&#62;
&#60;p&#62;Thanks for your reply. Right now, the site is down (talking about bad luck), but I'll let you know as soon as it is up so you can take a look.&#60;/p&#62;
&#60;p&#62;Pom
&#60;/p&#62;</description>
		</item>
		<item>
			<title>James Morrison on "How to get Lightbox to display Images in Sidebar Gallery"</title>
			<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery#post-18326</link>
			<pubDate>Tue, 03 May 2011 10:06:43 +0000</pubDate>
			<dc:creator>James Morrison</dc:creator>
			<guid isPermaLink="false">18326@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;Can you post a link to a page with this code on?&#60;/p&#62;
&#60;p&#62;I'm sure it's relatively straight forward to make the images appear in a lightbox but want to see 1st hand how it displays to better help you.&#60;/p&#62;
&#60;p&#62;James
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pom99 on "How to get Lightbox to display Images in Sidebar Gallery"</title>
			<link>http://www.kriesi.at/support/topic/how-to-get-lightbox-to-display-images-in-sidebar-gallery#post-18307</link>
			<pubDate>Tue, 03 May 2011 01:59:05 +0000</pubDate>
			<dc:creator>pom99</dc:creator>
			<guid isPermaLink="false">18307@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello there,&#60;/p&#62;
&#60;p&#62;I'm trying to display &#60;strong&#62;6 random post images &#60;/strong&#62; as a sidebar widget in the Newscast theme (2.0.2, WP 3.1.1) and open them in Lightbox to view these images when the user clicks on any of them (same behavior as in single post view). I am pretty sure someone already asked about Image Galleries in the sidebar and was directed to a Gallery plugin instead, but I couldn't find the thread.&#60;/p&#62;
&#60;p&#62;So far, I'm able to display the images just fine, but I don't know how to force Lightbox to trap them and display them:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;image-gallery&#38;quot;&#38;gt;
&#38;lt;?php
$image_query = new WP_Query(&#38;#39;posts_per_page=6&#38;amp;orderby=rand&#38;amp;cat=-23,-25&#38;#39;);
$imageArray = wp_get_attachment_image_src( get_post_thumbnail_id($post-&#38;gt;ID), &#38;#39;thumbnail_name&#38;#39; );
$imageURL = $imageArray[0];
while ($image_query-&#38;gt;have_posts()) : $image_query-&#38;gt;the_post(); ?&#38;gt;
&#38;lt;div class=&#38;quot;imagebox&#38;quot;&#38;gt;&#38;lt;a title=&#38;quot;&#38;lt;?php the_title(); ?&#38;gt;&#38;quot; href=&#38;quot;&#38;lt;?php echo $imageURL; ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;lt;?php the_post_thumbnail(array(61,61), array (&#38;#39;class&#38;#39; =&#38;gt; &#38;#39;rounded3&#38;#39;)); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/div&#38;gt;
&#38;lt;?php endwhile; ?&#38;gt;
&#38;lt;?php wp_reset_query(); ?&#38;gt;
&#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I also tried to integrate the preview_image variable contained in single.php file into the above code but I was unsuccessful.&#60;br /&#62;
It would be desirable if all 6 pictures could be browsed from Lightbox as well. Thanks for your help.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
