<?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: Vertical thumbnails are incorrectly displayed</title>
		<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed</link>
		<description>Support Forum - Topic: Vertical thumbnails are incorrectly displayed</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 18:36:14 +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/vertical-thumbnails-are-incorrectly-displayed" rel="self" type="application/rss+xml" />

		<item>
			<title>Devin on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-91194</link>
			<pubDate>Fri, 11 Jan 2013 20:34:21 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">91194@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad you were able to get it working how you wanted it!&#60;/p&#62;
&#60;p&#62;Also thanks for posting your solution :)&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-91126</link>
			<pubDate>Fri, 11 Jan 2013 10:55:25 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">91126@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;3 steps to get vertical and horizontal product images of same dimensions equally resized and &#60;strong&#62;displayed at the same size in the catalog&#60;/strong&#62; (BIG thanks to Nick):&#60;/p&#62;
&#60;p&#62;************************************&#60;br /&#62;
1)&#60;/p&#62;
&#60;p&#62;change the settings in the WooCommerce/Settings (catalog tab: image options) to 300x300 and uncheck the &#34;crop&#34; option (for all 3 types of images). For existing images: regenerate thumbnails.&#60;/p&#62;
&#60;p&#62;****************************************&#60;br /&#62;
2)&#60;/p&#62;
&#60;p&#62;In the file themes/flashlight/woocommerce-config/config.php (line 41-44) you change&#60;/p&#62;
&#60;p&#62;//product thumbnails&#60;br /&#62;
//$avia_config['imgSize']['shop_thumbnail'] 	= array('width'=&#38;gt;80, 'height'=&#38;gt;80);&#60;br /&#62;
//$avia_config['imgSize']['shop_catalog'] 	= array('width'=&#38;gt;200, 'height'=&#38;gt;140);&#60;br /&#62;
//$avia_config['imgSize']['shop_single'] 		= array('width'=&#38;gt;350, 'height'=&#38;gt;350);&#60;br /&#62;
//avia_backend_add_thumbnail_size($avia_config);&#60;/p&#62;
&#60;p&#62;to &#60;/p&#62;
&#60;p&#62;//product thumbnails&#60;br /&#62;
$avia_config['imgSize']['shop_thumbnail']       = array('width'=&#38;gt;300, 'height'=&#38;gt;300, 'crop'=&#38;gt;false);&#60;br /&#62;
$avia_config['imgSize']['shop_catalog']         = array('width'=&#38;gt;300, 'height'=&#38;gt;300, 'crop'=&#38;gt;false);&#60;br /&#62;
$avia_config['imgSize']['shop_single']          = array('width'=&#38;gt;300, 'height'=&#38;gt;300, 'crop'=&#38;gt;false);&#60;/p&#62;
&#60;p&#62;******************************************************&#60;br /&#62;
3)&#60;/p&#62;
&#60;p&#62;In the quick css or custom.css you add:&#60;/p&#62;
&#60;p&#62;#top div .avia_3_column_gallery {&#60;br /&#62;
width: initial;&#60;br /&#62;
}&#60;br /&#62;
.template-shop-single .product {&#60;br /&#62;
overflow: visible;&#60;br /&#62;
}&#60;br /&#62;
#top .panel.entry-content {&#60;br /&#62;
width: initial;&#60;br /&#62;
}&#60;br /&#62;
#top .thumbnail_container img {&#60;br /&#62;
width: auto;&#60;br /&#62;
margin-right: auto;&#60;br /&#62;
margin-left: auto;&#60;br /&#62;
}  &#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Bruno
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-89258</link>
			<pubDate>Fri, 21 Dec 2012 18:44:17 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">89258@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Bruno,&#60;/p&#62;
&#60;p&#62;There is no code to recognize a portrait vs landscape photo. The function just takes your base photo and compares it to the sizes specified. Then creates additional images based on the data.&#60;/p&#62;
&#60;p&#62;The kind of single off instances you are getting in to are a bit beyond what I can explain without being over your should at the time of doing it. Unknown variables and specific set ups could be the cause or it could just be a miss communication.&#60;/p&#62;
&#60;p&#62;Overall, if you want complete control over exactly how your photo will appear, you shouldn't be using any kind of automatically generated layout. Just stick to single pages and put in each item manually. Otherwise, you'll get procedural errors or slight differences just by the way code works.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-89154</link>
			<pubDate>Thu, 20 Dec 2012 19:48:49 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">89154@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;no need to regenerate as I did not change any setting ...&#60;br /&#62;
(I even reinstalled WP and Flashlight recently because I was not sure whether there was any problem with the installation)&#60;/p&#62;
&#60;p&#62;Can you please educate me on another (maybe stupid) question:&#60;br /&#62;
how do WP and Flashlight recognize whether the image is a vertical or a horizontal - and how to handle the different formats?&#60;br /&#62;
I see values for width and height in the config/functions file - but no &#60;strong&#62;condition&#60;/strong&#62; attached (sort of &#34;IF width&#38;gt;height, IF width=height, ELSE ...&#34; ). I'm unfamiliar with PHP, however I used to be familiar with basic dBase programming.&#60;/p&#62;
&#60;p&#62;**********************&#60;br /&#62;
I've just noticed another strange behavior:&#60;/p&#62;
&#60;p&#62;I see that I uploaded the same image (#1192) twice on the same day.&#60;br /&#62;
The number of thumbnails that were created are not the same - some of the sizes differ as well!&#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/Screen_Shot_11921a.jpg&#34; /&#62;&#60;br /&#62;
********************************************&#60;br /&#62;
&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/Screen_Shot_1192a.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Bruno
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-89141</link>
			<pubDate>Thu, 20 Dec 2012 19:11:07 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">89141@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Not really sure how else to explain as I've never had that much trouble with it.&#60;/p&#62;
&#60;p&#62;The images are generated based on the settings. The generation is taken care of by wordpress core using the add_image_size function.&#60;/p&#62;
&#60;p&#62;Make sure that after any change to an image size via functions or anything else, you regenerate thumbnails so the newest settings take place. &#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-89137</link>
			<pubDate>Thu, 20 Dec 2012 18:57:43 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">89137@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Devin&#60;/p&#62;
&#60;p&#62;thanks.&#60;/p&#62;
&#60;p&#62;Unfortunately the change in aspect ratio did not only happen with one single image file, it is a constant feature to be observed&#60;br /&#62;
- only with vertical images&#60;br /&#62;
- only with one size: 300x201px (instead of 200x300)&#60;/p&#62;
&#60;p&#62;I'm convinced that this behavior is depending on some yet unknown condition.&#60;br /&#62;
As far as I know software does not (systematically) change its behavior without a reason.  &#60;/p&#62;
&#60;p&#62;So, I will continue with trial-and-error - if only it wasn't so time-consuming ...&#60;/p&#62;
&#60;p&#62;:-(&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Bruno
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-89122</link>
			<pubDate>Thu, 20 Dec 2012 17:58:56 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">89122@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Bruno,&#60;/p&#62;
&#60;p&#62;The only documentation I know of explaining it, is what I just posted above combined with &#60;a href=&#34;http://codex.wordpress.org/Function_Reference/add_image_size&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/add_image_size&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The best size, as I said, is the largest image you've got. The theme functions in the function.php and in the woocommerce config file (woocommerce&#38;gt;config.php) determine what sizes of images get created when you upload a photo. The settings for each also say if an image should be cropped or not (see the codex link above for more).&#60;/p&#62;
&#60;p&#62;The best explanation is in the codex link. Also keep in mind the certain layouts change what size an image is displayed at proportionally as it gets scaled down to fit the layout with css (or scaled up).&#60;/p&#62;
&#60;p&#62;I am really unable to say what happened with the one single image that seems to be different but it could be a mistake and just need to be regenerated.&#60;/p&#62;
&#60;p&#62;This is a really good plugin if you want to modify image sizes and such from the wordpress admin: &#60;a href=&#34;http://wordpress.org/extend/plugins/simple-image-sizes/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/simple-image-sizes/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-89095</link>
			<pubDate>Thu, 20 Dec 2012 14:36:04 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">89095@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Devin&#60;/p&#62;
&#60;p&#62;Sorry to insist ....&#60;/p&#62;
&#60;p&#62;is there a &#60;strong&#62;documentation&#60;/strong&#62; where I can learn more about the behavior as to how exactly images are handled (resized)?&#60;/p&#62;
&#60;p&#62;I would like to learn what size I best upload to get the results I expect.&#60;br /&#62;
I would like to &#34;reverse engineer&#34; starting from what I want to see on the frontend to determine the best way to get the result I want.&#60;br /&#62;
I need &#60;strong&#62;consistency&#60;/strong&#62;!&#60;/p&#62;
&#60;p&#62;I especially need to understand why with &#60;strong&#62;vertical&#60;/strong&#62; images the aspect ratio is unexpectedly reversed with &#60;strong&#62;one of the 10 thumbnails&#60;/strong&#62;.&#60;br /&#62;
The image consequently is distorted.&#60;br /&#62;
(by definition in a vertical image width must be smaller than height - this is reversed with one single size of thumbnails) &#60;/p&#62;
&#60;p&#62;&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/ScreenShot_1192.jpg&#34; /&#62; &#60;/p&#62;
&#60;p&#62;while with &#60;strong&#62;horizontal&#60;/strong&#62; images this never happened&#60;br /&#62;
(height is never larger than width)&#60;br /&#62;
&#60;img src=&#34;http://www.wp2.fotowalther.ch/wp-content/uploads/ScreenShot_1295.jpg&#34; /&#62;&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;What could I possibly do to prevent the software from changing the aspect ratio?&#60;/strong&#62;&#60;br /&#62;
What triggers this? There must be an explanation in the logic of the program code.&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;Bruno
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Devin on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-87810</link>
			<pubDate>Wed, 12 Dec 2012 14:19:18 +0000</pubDate>
			<dc:creator>Devin</dc:creator>
			<guid isPermaLink="false">87810@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi Bruno,&#60;/p&#62;
&#60;p&#62;The way thumbnails works in this theme and all of Kriesi's themes is this: The image size you upload should be the largest single image of your product or portfolio item. So for Flashlight, the bigger the better since the file can be used for the big background image as well.&#60;/p&#62;
&#60;p&#62;From there, the theme looks to the functions.php and for the woocommerce stuff woocommerce&#38;gt;config.php for the sizes the theme should create for all the various theme uses.&#60;/p&#62;
&#60;p&#62;Those images sizes are not going to be 100% what will be displayed on the front end, but they make it so you aren't pulling in a 1000x1000 pixel image when you are showing thumbnails.&#60;/p&#62;
&#60;p&#62;Also to note is the sizes are not exact unless the size has crop=true at the end. Wordpress will constrain the image to the longest edge of the image size so that both edges are within the specified size (unless its set to crop).&#60;/p&#62;
&#60;p&#62;What this means when in actual use is you start with an image that is 1000px tall and 500px wide and you upload that for a product image the them then takes that and creates all the other image sizes. **Note: the selection of size in the window when you upload has NOTHING to do with what sizes are generated. That is purely for when you put images into the visual editor.&#60;/p&#62;
&#60;p&#62;So on your catalog page in your examples, the image size being pulled in is selected by the theme and you have no control over which one it uses. Further, the css for the 3 column layout controls the size the image gets stretched to as well as the size of the images. &#60;/p&#62;
&#60;p&#62;If you want individual control, you will need to either re-write the theme functions or create individual product pages as regular pages and use the woo commerce shortcode to add the add to cart button to that single page for that specific product.&#60;/p&#62;
&#60;p&#62;Regards,&#60;/p&#62;
&#60;p&#62;Devin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-87605</link>
			<pubDate>Tue, 11 Dec 2012 13:48:43 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">87605@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I started with a new installation (as Nick suggested).&#60;br /&#62;
- Created a new subdomain and a new database with the webhost.&#60;br /&#62;
- Downloaded the WP files and installed.&#60;br /&#62;
- Had WP install WooCommerce (no additional plugins activated).&#60;br /&#62;
- Created the basic settings (mind you: all media settings left at default!)&#60;/p&#62;
&#60;p&#62;- Created a few products - some vertical product images, some horizontal product images.&#60;br /&#62;
- Upon upload selected image size &#34;Medium (300x199 / 199x300)&#34;.&#60;/p&#62;
&#60;p&#62;See: &#60;a href=&#34;http://www.wp2.fotowalther.ch/?product_cat=subcategory-test-1&#34; rel=&#34;nofollow&#34;&#62;http://www.wp2.fotowalther.ch/?product_cat=subcategory-test-1&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Questions&#60;br /&#62;
1) &#60;strong&#62;horizontal images:&#60;/strong&#62; why is the thumbnail 200x140 displayed &#60;strong&#62;instead&#60;/strong&#62; of the one I selected (300x199) upon upload? &#60;/p&#62;
&#60;p&#62;2) &#60;strong&#62;vertical images:&#60;/strong&#62;&#60;br /&#62;
2a) why is a thumbnail of 92x140 displayed &#60;strong&#62;instead&#60;/strong&#62; of the one I selected upon upload (199x300)?&#60;br /&#62;
2b) why is the thumbnail of 92x140 suddenly &#60;strong&#62;blown up&#60;/strong&#62; to 202x303 when it appears on the monitor? (no thumbnail of this size was created - it is the 92x140)&#60;br /&#62;
2c) in every series of thumbnails created from a vertical image there is &#60;strong&#62;always 1 thumbnail with inverted dimensions&#60;/strong&#62;, e.g. 200x140 instead of 140x200 (the image got from a vertical to a horizontal and got cropped accordingly) - how come?&#60;/p&#62;
&#60;p&#62;When I select  the thumbnail to be 199x300 or 300x199 - why don't I get the size I selected?&#60;br /&#62;
(neither for a horizontal. nor for a vertical thumbnail)&#60;br /&#62;
When a thumbnail is 92x140 - why does it get blown up to 201x303 at the monitor&#60;/p&#62;
&#60;p&#62;Where is the logic?&#60;br /&#62;
What could have gone wrong?&#60;br /&#62;
How to fix?&#60;/p&#62;
&#60;p&#62;Thnanks&#60;/p&#62;
&#60;p&#62;Bruno
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bruwa on "Vertical thumbnails are incorrectly displayed"</title>
			<link>http://www.kriesi.at/support/topic/vertical-thumbnails-are-incorrectly-displayed#post-87516</link>
			<pubDate>Mon, 10 Dec 2012 23:39:19 +0000</pubDate>
			<dc:creator>bruwa</dc:creator>
			<guid isPermaLink="false">87516@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;When I upload a product image, the theme creates a couple of thumbnails.&#60;/p&#62;
&#60;p&#62;To my surprise, &#60;strong&#62;thumbnails created from a vertical image are not displayed at their real size on the frontend&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;Please take a look at the thumbnails displayed on page  &#60;a href=&#34;http://www.wp.fotowalther.ch/?product_cat=display-mismatch&#34; rel=&#34;nofollow&#34;&#62;http://www.wp.fotowalther.ch/?product_cat=display-mismatch&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The thumbnail 1191 sitting in the Media Library is 284x188 px - the thumbnail you see is correctly displayed at 284x188 px.&#60;/p&#62;
&#60;p&#62;The thumbnail 1196 sitting in the Media Library is 126x190 px - however, the thumbnail you see is displayed at 282x428 px.&#60;/p&#62;
&#60;p&#62;The thumbnail 1214 originally was 126x190 px, it was replaced (within Photoshop) by a thumbnail sized 188x284 px to fool the theme - however, the thumbnail you see is 282x428 px.&#60;/p&#62;
&#60;p&#62;The thumbnails 1196 and 1214 are both displayed at the &#60;strong&#62;same&#60;/strong&#62; size, although they reflect thumbnails of ]b]different]/b] size.&#60;br /&#62;
The thumbnails 1191 and 1214 are both displayed at &#60;strong&#62;different&#60;/strong&#62; size, although they reflect thumbnails of the [/b]same size.&#60;/p&#62;
&#60;p&#62;In other words:&#60;br /&#62;
A &#60;strong&#62;horizontal&#60;/strong&#62; thumbnail of 284x188 px is correctly displayed.&#60;br /&#62;
A &#60;strong&#62;vertical&#60;/strong&#62; thumbnail of the same size however is displayed at a much bigger size (282x428 px instead of 188x284 px).&#60;/p&#62;
&#60;p&#62;Neither a thumbnail of 126x190 px, nor a thumbnail of 188x284 px is correctly displayed.&#60;/p&#62;
&#60;p&#62;I noticed this mismatch only with [b]vertical images (width smaller than height).&#60;br /&#62;
There are not extreme sizes nor an extreme aspect ratio that would need any sort of adjustment in order to be displayed.&#60;/p&#62;
&#60;p&#62;I checked the page on a different computer with different OS and different monitor - the mismatch is the same.&#60;/p&#62;
&#60;p&#62;What makes the vertical thumbnails displayed incorrectly?&#60;br /&#62;
How could this be remedied?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Bruno
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
