<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: Add more image sizes</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: Add more image sizes</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 06:36:21 +0000</pubDate>

<item>
<title>waltervos on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1264367</link>
<pubDate>Fri, 30 Oct 2009 14:10:21 +0000</pubDate>
<dc:creator>waltervos</dc:creator>
<guid isPermaLink="false">1264367@http://wordpress.org/support/</guid>
<description>&#60;p&#62;@aesqe: That's good to hear, thanks! Please let me know if you find any bugs (just start a thread about it with the tag additional-image-sizes) or if you have feature requests.
&#60;/p&#62;</description>
</item>
<item>
<title>aesqe on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1263175</link>
<pubDate>Thu, 29 Oct 2009 13:29:25 +0000</pubDate>
<dc:creator>aesqe</dc:creator>
<guid isPermaLink="false">1263175@http://wordpress.org/support/</guid>
<description>&#60;p&#62;thank you, waltervos, your plugin is a lifesaver :)
&#60;/p&#62;</description>
</item>
<item>
<title>waltervos on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1258392</link>
<pubDate>Sun, 25 Oct 2009 13:23:51 +0000</pubDate>
<dc:creator>waltervos</dc:creator>
<guid isPermaLink="false">1258392@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I've written a plugin based on this thread. It allows you to easily define additional image sizes, to generate new copies of earlier uploaded pictures and you can also use the newly defined image sizes when editing a post.&#60;/p&#62;
&#60;p&#62;You can find it here: &#60;a href=&#34;http://wordpress.org/extend/plugins/additional-image-sizes/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/additional-image-sizes/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>alkafy on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1229037</link>
<pubDate>Tue, 29 Sep 2009 15:54:35 +0000</pubDate>
<dc:creator>alkafy</dc:creator>
<guid isPermaLink="false">1229037@http://wordpress.org/support/</guid>
<description>&#60;p&#62;@aesqe - Thank you for sharing. Exactly what I needed.
&#60;/p&#62;</description>
</item>
<item>
<title>stevecb on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1144550</link>
<pubDate>Mon, 20 Jul 2009 10:59:50 +0000</pubDate>
<dc:creator>stevecb</dc:creator>
<guid isPermaLink="false">1144550@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I supposed I could use if statements to check the image is available in a certain size.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if (wp_get_attachment_image_src($attachment-&#38;gt;ID, &#38;#39;image_size_name&#38;#39;) {
   //display
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It's not ideal, but should do the job.
&#60;/p&#62;</description>
</item>
<item>
<title>stevecb on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1143898</link>
<pubDate>Sun, 19 Jul 2009 18:30:58 +0000</pubDate>
<dc:creator>stevecb</dc:creator>
<guid isPermaLink="false">1143898@http://wordpress.org/support/</guid>
<description>&#60;p&#62;This is a great script aesqe, thanks very much.&#60;br /&#62;
As I hoped, if the uploaded image is smaller than one of the specified sizes, that size is skipped.&#60;/p&#62;
&#60;p&#62;However I would like to be able to get a list of the available sizes for a particular image, anyone know how this can be done?&#60;/p&#62;
&#60;p&#62;Cheers.
&#60;/p&#62;</description>
</item>
<item>
<title>MK009 on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1125290</link>
<pubDate>Fri, 03 Jul 2009 20:37:48 +0000</pubDate>
<dc:creator>MK009</dc:creator>
<guid isPermaLink="false">1125290@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Woohoo, thanks &#60;strong&#62;aesqe&#60;/strong&#62;. This will sort out all image chopping for my project. :D&#60;/p&#62;
&#60;p&#62;And definitely worth noting that there won't be any additions to the admin interface.
&#60;/p&#62;</description>
</item>
<item>
<title>aesqe on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1124262</link>
<pubDate>Thu, 02 Jul 2009 21:50:23 +0000</pubDate>
<dc:creator>aesqe</dc:creator>
<guid isPermaLink="false">1124262@http://wordpress.org/support/</guid>
<description>&#60;p&#62;MK009:&#60;/p&#62;
&#60;p&#62;the code works, but you won't see the sizes in the admin interface - check your uploads folder to see the result, that is different sizes of uploaded images.&#60;/p&#62;
&#60;p&#62;or if i misunderstood you, please explain a bit further so i may be of assistance :)
&#60;/p&#62;</description>
</item>
<item>
<title>MK009 on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1114342</link>
<pubDate>Wed, 24 Jun 2009 00:00:31 +0000</pubDate>
<dc:creator>MK009</dc:creator>
<guid isPermaLink="false">1114342@http://wordpress.org/support/</guid>
<description>&#60;p&#62;onel0ve, if you hotlink the image hosted on tinypic then resize it with html you can. You would do this just from the post screen.
&#60;/p&#62;</description>
</item>
<item>
<title>onel0ve on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1111035</link>
<pubDate>Sat, 20 Jun 2009 17:27:23 +0000</pubDate>
<dc:creator>onel0ve</dc:creator>
<guid isPermaLink="false">1111035@http://wordpress.org/support/</guid>
<description>&#60;p&#62;without upload can i resize image ?.like i post image link of tinypic ?? then
&#60;/p&#62;</description>
</item>
<item>
<title>MK009 on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1110991</link>
<pubDate>Sat, 20 Jun 2009 16:34:37 +0000</pubDate>
<dc:creator>MK009</dc:creator>
<guid isPermaLink="false">1110991@http://wordpress.org/support/</guid>
<description>&#60;p&#62;aesqe, I can't get your code to work with 2.8. Really looking for this functionality, has 2.8 possibly changed the filter or something?
&#60;/p&#62;</description>
</item>
<item>
<title>vafa on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-1056804</link>
<pubDate>Sun, 26 Apr 2009 10:10:07 +0000</pubDate>
<dc:creator>vafa</dc:creator>
<guid isPermaLink="false">1056804@http://wordpress.org/support/</guid>
<description>&#60;p&#62;can we change the image size name?&#60;br /&#62;
(from imagename-333x222.jpg to imagename-medium.jpg)
&#60;/p&#62;</description>
</item>
<item>
<title>aesqe on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-969073</link>
<pubDate>Wed, 28 Jan 2009 18:17:39 +0000</pubDate>
<dc:creator>aesqe</dc:creator>
<guid isPermaLink="false">969073@http://wordpress.org/support/</guid>
<description>&#60;p&#62;correction: when setting crop option, it should be written like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_option(&#38;quot;anothersize_crop&#38;quot;, &#38;quot;0&#38;quot;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;instead of:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_option(&#38;quot;anothersize_size_crop&#38;quot;, &#38;quot;0&#38;quot;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;no need for &#34;_size&#34; after size name and before &#34;_crop&#34;, sorry about that.
&#60;/p&#62;</description>
</item>
<item>
<title>aesqe on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-966850</link>
<pubDate>Mon, 26 Jan 2009 14:13:00 +0000</pubDate>
<dc:creator>aesqe</dc:creator>
<guid isPermaLink="false">966850@http://wordpress.org/support/</guid>
<description>&#60;p&#62;also, i've recently discovered this awesome plugin called &#60;a href=&#34;http://wordpress.org/extend/plugins/scissors/&#34;&#62;&#34;scissors&#34;&#60;/a&#62;, which allows you to crop image after upload via javascript, and it really works very well :)
&#60;/p&#62;</description>
</item>
<item>
<title>aesqe on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-966849</link>
<pubDate>Mon, 26 Jan 2009 14:10:06 +0000</pubDate>
<dc:creator>aesqe</dc:creator>
<guid isPermaLink="false">966849@http://wordpress.org/support/</guid>
<description>&#60;p&#62;try something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if( FALSE === get_option(&#38;quot;frontpage_size_w&#38;quot;) )
{
	add_option(&#38;quot;frontpage_size_w&#38;quot;, &#38;quot;260&#38;quot;);
	add_option(&#38;quot;frontpage_size_h&#38;quot;, &#38;quot;0&#38;quot;);
	add_option(&#38;quot;frontpage_size_crop&#38;quot;, &#38;quot;0&#38;quot;);
}
else
{
	update_option(&#38;quot;frontpage_size_w&#38;quot;, &#38;quot;260&#38;quot;);
	update_option(&#38;quot;frontpage_size_h&#38;quot;, &#38;quot;0&#38;quot;);
	update_option(&#38;quot;frontpage_size_crop&#38;quot;, &#38;quot;0&#38;quot;);
}

function additional_image_sizes( $sizes )
{
	$sizes[] = &#38;quot;frontpage&#38;quot;;

	return $sizes;
}
add_filter( &#38;#39;intermediate_image_sizes&#38;#39;, &#38;#39;additional_image_sizes&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;the above example will add size called &#34;frontpage&#34; to the list of image sizes. for each additional image size, you will have to add its name to the $sizes array and add its width, height and crop values to wp's options.&#60;/p&#62;
&#60;p&#62;like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if( FALSE === get_option(&#38;quot;frontpage_size_w&#38;quot;) )
{
	add_option(&#38;quot;frontpage_size_w&#38;quot;, &#38;quot;260&#38;quot;);
	add_option(&#38;quot;frontpage_size_h&#38;quot;, &#38;quot;0&#38;quot;);
	add_option(&#38;quot;frontpage_size_crop&#38;quot;, &#38;quot;0&#38;quot;);

	add_option(&#38;quot;anothersize_size_w&#38;quot;, &#38;quot;260&#38;quot;);
	add_option(&#38;quot;anothersize_size_h&#38;quot;, &#38;quot;0&#38;quot;);
	add_option(&#38;quot;anothersize_size_crop&#38;quot;, &#38;quot;0&#38;quot;);
}
else
{
	update_option(&#38;quot;frontpage_size_w&#38;quot;, &#38;quot;260&#38;quot;);
	update_option(&#38;quot;frontpage_size_h&#38;quot;, &#38;quot;0&#38;quot;);
	update_option(&#38;quot;frontpage_size_crop&#38;quot;, &#38;quot;0&#38;quot;);

	update_option(&#38;quot;anothersize_size_w&#38;quot;, &#38;quot;260&#38;quot;);
	update_option(&#38;quot;anothersize_size_h&#38;quot;, &#38;quot;0&#38;quot;);
	update_option(&#38;quot;anothersize_size_crop&#38;quot;, &#38;quot;0&#38;quot;);
}

function additional_image_sizes( $sizes )
{
	$sizes[] = &#38;quot;frontpage&#38;quot;;
	$sizes[] = &#38;quot;anothersize&#38;quot;;

	return $sizes;
}
add_filter( &#38;#39;intermediate_image_sizes&#38;#39;, &#38;#39;additional_image_sizes&#38;#39; );&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;you can put this code in the functions.php file, or create a plugin out of it.&#60;/p&#62;
&#60;p&#62;cheers ;)
&#60;/p&#62;</description>
</item>
<item>
<title>kath on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-966628</link>
<pubDate>Mon, 26 Jan 2009 05:26:21 +0000</pubDate>
<dc:creator>kath</dc:creator>
<guid isPermaLink="false">966628@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm also asking you to post your solution! I could really use this feature.
&#60;/p&#62;</description>
</item>
<item>
<title>jlubeck on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-960070</link>
<pubDate>Mon, 19 Jan 2009 13:50:28 +0000</pubDate>
<dc:creator>jlubeck</dc:creator>
<guid isPermaLink="false">960070@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Please share your solution with us so that someone trying to do the same can benefit from it. Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>valfreixo on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-959813</link>
<pubDate>Mon, 19 Jan 2009 04:51:11 +0000</pubDate>
<dc:creator>valfreixo</dc:creator>
<guid isPermaLink="false">959813@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Ok, found the solution
&#60;/p&#62;</description>
</item>
<item>
<title>valfreixo on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-959722</link>
<pubDate>Mon, 19 Jan 2009 02:31:46 +0000</pubDate>
<dc:creator>valfreixo</dc:creator>
<guid isPermaLink="false">959722@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm building this site for reporters that cover music events. They have like 30 or 40 photos each day. I'm just looking for a way to create all the sizes previously just to ease on the work.&#60;/p&#62;
&#60;p&#62;All the photos have the 9 by 6 ratio so every image resized will be a perfect fit. Also can't stretch/contract image sizes because they simply don't want it. Tough huh?&#60;/p&#62;
&#60;p&#62;Thank you for your time in helping me out&#60;/p&#62;
&#60;p&#62;Zen
&#60;/p&#62;</description>
</item>
<item>
<title>Shane G on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-959715</link>
<pubDate>Mon, 19 Jan 2009 02:22:49 +0000</pubDate>
<dc:creator>Shane G</dc:creator>
<guid isPermaLink="false">959715@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Its better that you can change image sizes from the coding area and set the image size upon the requirement.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;[signature moderated&#60;/strong&#62;  Please read the &#60;a href=&#34;http://wordpress.org/support/topic/68664?replies=6&#34;&#62;Forum Rules&#60;/a&#62;]
&#60;/p&#62;</description>
</item>
<item>
<title>valfreixo on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-959694</link>
<pubDate>Mon, 19 Jan 2009 01:55:50 +0000</pubDate>
<dc:creator>valfreixo</dc:creator>
<guid isPermaLink="false">959694@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Guys, sorry about the bump. But I'm really stuck on this.&#60;/p&#62;
&#60;p&#62;Thank you for any direction. Not looking for the complete solution. Just for a direction were I can start building it
&#60;/p&#62;</description>
</item>
<item>
<title>valfreixo on "Add more image sizes"</title>
<link>http://wordpress.org/support/topic/235286#post-959213</link>
<pubDate>Sun, 18 Jan 2009 13:41:57 +0000</pubDate>
<dc:creator>valfreixo</dc:creator>
<guid isPermaLink="false">959213@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Howdy.&#60;/p&#62;
&#60;p&#62;I'm creating a site about music with interviews, video and photo galleries among other features. It's a very elaborate them with almost all been customized and tailored.&#60;/p&#62;
&#60;p&#62;troughout the template, I'm using several image sizes. When I upload an image, QP creates 3 image sizes. The problem is that I need around 10 diferent sizes. Is there any plugin I can use to do this? Or a way to extend worpdress in way I can code several additional image sizes?&#60;/p&#62;
&#60;p&#62;Thank you in advance&#60;/p&#62;
&#60;p&#62;Zen
&#60;/p&#62;</description>
</item>

</channel>
</rss>
