<?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: Custom Crop 70x50 Thumbnail</title>
		<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail</link>
		<description>Support Forum - Topic: Custom Crop 70x50 Thumbnail</description>
		<language>en-US</language>
		<pubDate>Sat, 25 May 2013 01:38:42 +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/custom-crop-70x50-thumbnail" rel="self" type="application/rss+xml" />

		<item>
			<title>Nick on "Custom Crop 70x50 Thumbnail"</title>
			<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail#post-94241</link>
			<pubDate>Thu, 31 Jan 2013 00:14:10 +0000</pubDate>
			<dc:creator>Nick</dc:creator>
			<guid isPermaLink="false">94241@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Great! A truly beneficial post that keeps on helping !&#60;/p&#62;
&#60;p&#62;Thanks Nick
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mesotek on "Custom Crop 70x50 Thumbnail"</title>
			<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail#post-94112</link>
			<pubDate>Wed, 30 Jan 2013 09:30:41 +0000</pubDate>
			<dc:creator>mesotek</dc:creator>
			<guid isPermaLink="false">94112@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks a lot, its helped me to change Thumbnail sizes for Newscast wordpress theme (small preview pics for half sized posts and sidebar news) Its so easy!!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Custom Crop 70x50 Thumbnail"</title>
			<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail#post-18688</link>
			<pubDate>Sun, 08 May 2011 17:10:30 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">18688@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Glad that the we could help you :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kilador on "Custom Crop 70x50 Thumbnail"</title>
			<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail#post-18681</link>
			<pubDate>Sun, 08 May 2011 15:54:51 +0000</pubDate>
			<dc:creator>kilador</dc:creator>
			<guid isPermaLink="false">18681@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I wanted to thank both of you.&#60;br /&#62;
Thanks to this post I was able to change the thumbnail size of my site: &#60;a href=&#34;http://www.autonocion.com&#34; rel=&#34;nofollow&#34;&#62;http://www.autonocion.com&#60;/a&#62; (it's the newscast theme tho).&#60;/p&#62;
&#60;p&#62;I like it a lot more this way :)&#60;/p&#62;
&#60;p&#62;Thanks!!&#60;br /&#62;
Regards.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Custom Crop 70x50 Thumbnail"</title>
			<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail#post-17986</link>
			<pubDate>Thu, 28 Apr 2011 13:58:38 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">17986@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks for providing your solution - I'm sure it will help others.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brettbollman on "Custom Crop 70x50 Thumbnail"</title>
			<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail#post-17956</link>
			<pubDate>Thu, 28 Apr 2011 03:18:50 +0000</pubDate>
			<dc:creator>brettbollman</dc:creator>
			<guid isPermaLink="false">17956@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Thanks for the reply... and the plugin.  I was able to use the plugin and it worked perfectly for what I needed.  The actual fix was a bit more complex so I'll post it here for anyone who might come across this thread.&#60;/p&#62;
&#60;p&#62;To start... inside the WP admin find the Settings -&#38;gt; Media tab.  Set the thumbnail size to match the Avisio theme. 70x50&#60;/p&#62;
&#60;p&#62;Now you need the plugin mentioned above to resize all of your previous &#34;featured images&#34; that need a new thumbnail of the appropriate size.  The plugin allows for doing everything in your media library or just one by one.&#60;/p&#62;
&#60;p&#62;Next comes the code changing... I was actually able to dig through the Avisio code to figure this out... so you should be able to find these relatively easy enough.&#60;/p&#62;
&#60;p&#62;Inside index.php:&#60;br /&#62;
Replace: $slideshow-&#38;gt;setSlideshowSize('S');&#60;br /&#62;
With:  $slideshow-&#38;gt;setSlideshowSize('thumbnail');&#60;/p&#62;
&#60;p&#62;Inside sidebar_news.php:&#60;br /&#62;
Replace: $small_prev = kriesi_post_thumb($post-&#38;gt;ID, array('size'=&#38;gt; array('S'),&#60;br /&#62;
With: $small_prev = kriesi_post_thumb($post-&#38;gt;ID, array('size'=&#38;gt; array('thumbnail'),&#60;/p&#62;
&#60;p&#62;I had a couple other places where I had created thumb images... and did a similar replace of 'S' with 'thumbnail'.&#60;/p&#62;
&#60;p&#62;The beauty of this... is that the thumbs are now pulled from WP's standard thumb and not the Avisio custom 'S' image.  Which means I can now manipulate the thumbnails using the built in WP image editor to make changes to images that get cropped in a way that doesn't look good.&#60;/p&#62;
&#60;p&#62;Hope this helps someone else someday.  :o)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dude on "Custom Crop 70x50 Thumbnail"</title>
			<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail#post-17861</link>
			<pubDate>Tue, 26 Apr 2011 18:05:16 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">17861@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
have you tried to adjust the dimensions in function.php to your needs?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][&#38;#39;base&#38;#39;] = array(&#38;#39;width&#38;#39;=&#38;gt;267, &#38;#39;height&#38;#39;=&#38;gt;180); 	// backend preview size, if changed does not affect the frontend
$k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][&#38;#39;S&#38;#39;] = array(&#38;#39;width&#38;#39;=&#38;gt;70, &#38;#39;height&#38;#39;=&#38;gt;50);			// small preview pics eg sidebar news
$k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][&#38;#39;M&#38;#39;] = array(&#38;#39;width&#38;#39;=&#38;gt;192, &#38;#39;height&#38;#39;=&#38;gt;130);		// medium preview pic for portfolio with 4 columns
$k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][&#38;#39;M3&#38;#39;] = array(&#38;#39;width&#38;#39;=&#38;gt;274, &#38;#39;height&#38;#39;=&#38;gt;170);		// medium preview pic for portfolio with 3 columns
$k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][&#38;#39;M2&#38;#39;] = array(&#38;#39;width&#38;#39;=&#38;gt;436, &#38;#39;height&#38;#39;=&#38;gt;230);		// medium preview pic for portfolio with 2 columns
$k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][&#38;#39;L&#38;#39;] = array(&#38;#39;width&#38;#39;=&#38;gt;574, &#38;#39;height&#38;#39;=&#38;gt;268);		// image for blog posts and 1 column portfolio
$k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][&#38;#39;XL&#38;#39;] = array(&#38;#39;width&#38;#39;=&#38;gt;940, &#38;#39;height&#38;#39;=&#38;gt;440);		// big images for fullsize pages and mainpage slider&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Yes Avisio uses the db to store and query the image information and image locations. Maybe you need to regenerate your thumbnails after you changed the dimensions - you can use this plugin: &#60;a href=&#34;http://wordpress.org/extend/plugins/regenerate-thumbnails/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/regenerate-thumbnails/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brettbollman on "Custom Crop 70x50 Thumbnail"</title>
			<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail#post-17817</link>
			<pubDate>Tue, 26 Apr 2011 09:10:20 +0000</pubDate>
			<dc:creator>brettbollman</dc:creator>
			<guid isPermaLink="false">17817@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;After finishing this post... another option came to mind... please tell me if this is more &#34;doable&#34;.&#60;/p&#62;
&#60;p&#62;Avisio Large Image: 940x440  Aspect Ratio: 2.14:1&#60;br /&#62;
Avisio Thumbnail: 70x50  Aspect Ratio: 1.4:1&#60;/p&#62;
&#60;p&#62;Inside the WP image editor you can crop the thumbnail to anything you want... if you uploaded a 940x440 sized image you can now quickly make a crop of the thumbnail inside WP.&#60;/p&#62;
&#60;p&#62;WP Crop: 616x440  Aspect Ratio: 1.4:1&#60;/p&#62;
&#60;p&#62;Giving you:&#60;br /&#62;
WP Cropped Thumb: 150x107  Aspect Ratio: 1.4:1&#60;/p&#62;
&#60;p&#62;Questions:&#60;/p&#62;
&#60;p&#62;Can you get WP to size off of 70px on the longest edge?  To deliver a 70x50 thumb?&#60;br /&#62;
Can you then get the Avisio theme to use the edited WP thumb in place of the Avisio &#34;centered&#34; thumb?&#60;/p&#62;
&#60;p&#62;Thanks to anyone who actually made it through all of this.  I really appreciate it!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>brettbollman on "Custom Crop 70x50 Thumbnail"</title>
			<link>http://www.kriesi.at/support/topic/custom-crop-70x50-thumbnail#post-17816</link>
			<pubDate>Tue, 26 Apr 2011 08:53:50 +0000</pubDate>
			<dc:creator>brettbollman</dc:creator>
			<guid isPermaLink="false">17816@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I've been using the Avisio theme for awhile now and made a fair amount of customizations... which has been my first foray into WP.  So please forgive me if I ask a question that has already been answered here... or something that should be obvious.  I've found a few threads on this topic... one was unanswered... the other turned to German so I'm not sure if it was answered or not.  :o)&#60;/p&#62;
&#60;p&#62;When uploading the Featured Image (940x440, 2.14:1 Aspect Ratio)... a custom Avisio thumbnail is made (70x50, 1.4:1 Aspect Ratio).  Because of the differing aspect ratios of the images, the thumbnail is cropped out of the exact middle of the image.  This doesn't always leave you with the best thumbnail.&#60;/p&#62;
&#60;p&#62;WP has seemingly overcome this issue with their Media -&#38;gt; Edit Image area that allows you to crop and resize the different images after they have been uploaded.  They even have the option to only adjust the WP thumbnail size image (150x150) after editing.  The final output of this edit is a file in the same location as the previous thumb with a randomly generated key injected into the name... and this is where I assume... that this new file path is stored somewhere in the WP database.  ???&#60;/p&#62;
&#60;p&#62;So my questions (based on my assumptions) are these:&#60;/p&#62;
&#60;p&#62;Is Avisio even using the DB to store image locations?  Or is it using String manipulation to create file paths out of the base image path?&#60;/p&#62;
&#60;p&#62;If it is using the DB, would it be possible to write code to have WP target the 70x50 sized thumbnail, rather than the 150x150 thumbnail, from the WP image editor?&#60;/p&#62;
&#60;p&#62;If none of the above... are there any other WP Admin panel type solutions for cropping/replacing the 70x50 sized thumbnail?  (Not using manual crop and FTP)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
