<?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: Flashlight - Gallery - Correcting image squashing by editing JS on prettypicture</title>
		<link>http://www.kriesi.at/support/topic/flashlight-gallery-correcting-image-squashing-by-editing-js-on-prettypicture</link>
		<description>Support Forum - Topic: Flashlight - Gallery - Correcting image squashing by editing JS on prettypicture</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 22:01:50 +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/flashlight-gallery-correcting-image-squashing-by-editing-js-on-prettypicture" rel="self" type="application/rss+xml" />

		<item>
			<title>Devin on "Flashlight - Gallery - Correcting image squashing by editing JS on prettypicture"</title>
			<link>http://www.kriesi.at/support/topic/flashlight-gallery-correcting-image-squashing-by-editing-js-on-prettypicture#post-89657</link>
			<pubDate>Wed, 02 Jan 2013 20:39:49 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">89657@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey berrald,&#60;/p&#62;
&#60;p&#62;Thank you for posting that :)&#60;/p&#62;
&#60;p&#62;Hopefully this helps others if they come across the same issue.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>berrald on "Flashlight - Gallery - Correcting image squashing by editing JS on prettypicture"</title>
			<link>http://www.kriesi.at/support/topic/flashlight-gallery-correcting-image-squashing-by-editing-js-on-prettypicture#post-89608</link>
			<pubDate>Wed, 02 Jan 2013 18:40:36 +0000</pubDate>
			<dc:creator>berrald</dc:creator>
			<guid isPermaLink="false">89608@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I found a correction for this (old) bug on the author forum (&#60;a href=&#34;http://forums.no-margin-for-errors.com/discussion/3518/bug-in-_fittoviewport&#34; rel=&#34;nofollow&#34;&#62;http://forums.no-margin-for-errors.com/discussion/3518/bug-in-_fittoviewport&#60;/a&#62;) :&#60;/p&#62;
&#60;p&#62;In the file js/prettyPhoto/js/jquery.prettyPhoto.js, search the string :&#60;br /&#62;
_fitToViewport(pp_containerWidth,pp_containerHeight)&#60;/p&#62;
&#60;p&#62;and replace it with :&#60;br /&#62;
_fitToViewport(imageWidth,imageHeight)&#60;/p&#62;
&#60;p&#62;It worked perfectly for me !
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kriesi on "Flashlight - Gallery - Correcting image squashing by editing JS on prettypicture"</title>
			<link>http://www.kriesi.at/support/topic/flashlight-gallery-correcting-image-squashing-by-editing-js-on-prettypicture#post-80989</link>
			<pubDate>Thu, 25 Oct 2012 05:33:29 +0000</pubDate>
			<dc:creator>Kriesi</dc:creator>
			<guid isPermaLink="false">80989@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi! &#60;/p&#62;
&#60;p&#62; Hey! Actually I cant tell whats going on here. have you tried contacting the author of the prettyphoto lightbox, he probably knows what could cause this issue :) &#60;/p&#62;
&#60;p&#62; Regards,&#60;br /&#62;
Kriesi
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Flashlight - Gallery - Correcting image squashing by editing JS on prettypicture"</title>
			<link>http://www.kriesi.at/support/topic/flashlight-gallery-correcting-image-squashing-by-editing-js-on-prettypicture#post-71230</link>
			<pubDate>Wed, 15 Aug 2012 19:32:44 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">71230@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I marked this thread for Kriesi's attention. Tbh I'm not familiar with the prettyphoto code and I'm not sure if Kriesi can solve this issue (because it's a third party script). You can try another lightbox script like &#60;a href=&#34;http://fancyapps.com/fancybox/&#34; rel=&#34;nofollow&#34;&#62;http://fancyapps.com/fancybox/&#60;/a&#62; or &#60;a href=&#34;http://codecanyon.net/item/lightbox-evolution-for-wordpress/119478%29&#34; rel=&#34;nofollow&#34;&#62;http://codecanyon.net/item/lightbox-evolution-for-wordpress/119478%29&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiwanprasad on "Flashlight - Gallery - Correcting image squashing by editing JS on prettypicture"</title>
			<link>http://www.kriesi.at/support/topic/flashlight-gallery-correcting-image-squashing-by-editing-js-on-prettypicture#post-70937</link>
			<pubDate>Tue, 14 Aug 2012 08:45:54 +0000</pubDate>
			<dc:creator>jiwanprasad</dc:creator>
			<guid isPermaLink="false">70937@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I have found that if images uploaded to gallery are less than approx 65% the length of the image's total width&#60;br /&#62;
- then image distorts - gets squeezed.&#60;/p&#62;
&#60;p&#62;I can use images that are cropped to this ratio, but what is causing this?&#60;/p&#62;
&#60;p&#62;I cropped my current images at 1920 x 1200 and they look fine in the background, but the prettypicture slideshow squeezes them when it pops up.&#60;br /&#62;
At 1920x1200 - image gets squeezed in slideshow&#60;br /&#62;
At 1920x1440 - no squeezing&#60;br /&#62;
At 1920x1320 - no squeezing&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiwanprasad on "Flashlight - Gallery - Correcting image squashing by editing JS on prettypicture"</title>
			<link>http://www.kriesi.at/support/topic/flashlight-gallery-correcting-image-squashing-by-editing-js-on-prettypicture#post-70931</link>
			<pubDate>Tue, 14 Aug 2012 08:08:09 +0000</pubDate>
			<dc:creator>jiwanprasad</dc:creator>
			<guid isPermaLink="false">70931@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;It's quite strange, the horizontal squashing of images only happens at some internet webpage ratios. &#60;/p&#62;
&#60;p&#62;At fullscreen 1920x1320 it squashes horiztonally, but if webpage window is resized it displays correctly.&#60;/p&#62;
&#60;p&#62;Is this something to the way the image is scaled in relation to the browser window??&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jiwanprasad on "Flashlight - Gallery - Correcting image squashing by editing JS on prettypicture"</title>
			<link>http://www.kriesi.at/support/topic/flashlight-gallery-correcting-image-squashing-by-editing-js-on-prettypicture#post-70899</link>
			<pubDate>Tue, 14 Aug 2012 05:26:11 +0000</pubDate>
			<dc:creator>jiwanprasad</dc:creator>
			<guid isPermaLink="false">70899@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I tried changing the js code on the pretty gallery that you suggested in another thread to avoid the horizontal squashing of pics in the pop-up galleries:&#60;/p&#62;
&#60;p&#62;But changing the height or width values in the js/jquery.prettyPhoto.js file did not work.&#60;/p&#62;
&#60;p&#62;Could you please advise a little more detail so I can get this right. I'm sure I'm missing something vital here that will be obviuos to you.&#60;/p&#62;
&#60;p&#62;(function($){$.prettyPhoto={version:'3.1.3'};$.fn.prettyPhoto=function(pp_settings){pp_settings=jQuery.extend({animation_speed:'fast',slideshow:5000,autoplay_slideshow:false,opacity:0.80,show_title:true,allow_resize:true,default_width:500,default_height:344,counter_separator_label:'/',theme:'pp_default',horizontal_padding:20,hideflash:false,wmode:'opaque',autoplay:true,modal:false,deeplinking:true,overlay_gallery:true,keyboard_shortcuts:true,changepicturecallback:function(){},callback:function(){},ie6_fallback:true,markup:'&#38;lt;div class=&#34;pp_pic_holder&#34;&#38;gt; \&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Jiwan
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
