<?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>PHP Thumb Topic: save multiple thumbnails</title>
<link>http://phpthumb.gxdlabs.com/forums/</link>
<description>Help, Suggestions, and General Discussion</description>
<language>en</language>
<pubDate>Tue, 07 Feb 2012 12:02:39 +0000</pubDate>

<item>
<title>ravisoni6262 on "save multiple thumbnails"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/save-multiple-thumbnails#post-180</link>
<pubDate>Sat, 18 Jun 2011 01:25:23 +0000</pubDate>
<dc:creator>ravisoni6262</dc:creator>
<guid isPermaLink="false">180@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;thanks rumeau you have suggested great idea!
&#60;/p&#62;</description>
</item>
<item>
<title>rumeau on "save multiple thumbnails"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/save-multiple-thumbnails#post-167</link>
<pubDate>Thu, 30 Dec 2010 20:19:55 +0000</pubDate>
<dc:creator>rumeau</dc:creator>
<guid isPermaLink="false">167@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hey i´ve been using this library a few times before and always had to create new instances of the class to create multiple thumbnails.&#60;/p&#62;
&#60;p&#62;I see that this post has a year already are you considering adding a reset method to the class?&#60;/p&#62;
&#60;p&#62;if not could you advise on how to create a patch to do this. im not very skill with this to do it on my own, but i could manage to get it right if you give me some advices on where should i start.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>d1uluv2h8 on "save multiple thumbnails"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/save-multiple-thumbnails#post-103</link>
<pubDate>Wed, 16 Sep 2009 01:35:53 +0000</pubDate>
<dc:creator>d1uluv2h8</dc:creator>
<guid isPermaLink="false">103@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;A reset function would be great, i also have a situation where i have to resize an image twice to get two thumbs with different dimensions.&#60;/p&#62;
&#60;p&#62;Should I file an enhancement ticket? :)
&#60;/p&#62;</description>
</item>
<item>
<title>qd1 on "save multiple thumbnails"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/save-multiple-thumbnails#post-71</link>
<pubDate>Fri, 31 Jul 2009 05:57:37 +0000</pubDate>
<dc:creator>qd1</dc:creator>
<guid isPermaLink="false">71@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;hi!&#60;br /&#62;
It doesn't matter wether one uses &#60;code&#62;adaptiveResize&#60;/code&#62; or just &#60;code&#62;resize&#60;/code&#62;&#60;br /&#62;
code below behaves the same way first post describes&#60;br /&#62;
&#60;code&#62;$thumb = PhpThumbFactory::create($save_path.'originals/'.$file_name);&#60;br /&#62;
	$thum_thumbnail =   $thumb-&#38;gt;resize(100, 100)-&#38;gt;save($save_path.'thumbnails/'.'thumb_'.$file_name);&#60;br /&#62;
	$thumb_preview  =  $thumb-&#38;gt;resize(400, 400)-&#38;gt;save($save_path.'preview/'.'prev_'.$file_name); &#60;/code&#62;&#60;/p&#62;
&#60;p&#62;so that may be a bug
&#60;/p&#62;</description>
</item>
<item>
<title>Ian on "save multiple thumbnails"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/save-multiple-thumbnails#post-63</link>
<pubDate>Wed, 22 Jul 2009 10:11:10 +0000</pubDate>
<dc:creator>Ian</dc:creator>
<guid isPermaLink="false">63@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Well, since adaptive resizing is somewhat destructive I would recommend re-initializing the class for the best results.  However, you should be able to get away with perfectly acceptable results by saving $thmb_fend first and then $thmb_panel.&#60;/p&#62;
&#60;p&#62;I also suppose that I could add a &#34;reset&#34; kind of function that would restore the original image so you could do something like:&#60;br /&#62;
&#60;code&#62;$thmb_fend = $image-&#38;gt;reset()-&#38;gt;adaptiveResize(237, 180)-&#38;gt;save($destino.&#34;/fend.jpg&#34;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If this is a good alternative, I'll add it to the roadmap for the next release.
&#60;/p&#62;</description>
</item>
<item>
<title>maniac on "save multiple thumbnails"</title>
<link>http://phpthumb.gxdlabs.com/forums/topic/save-multiple-thumbnails#post-62</link>
<pubDate>Wed, 22 Jul 2009 03:52:47 +0000</pubDate>
<dc:creator>maniac</dc:creator>
<guid isPermaLink="false">62@http://phpthumb.gxdlabs.com/forums/</guid>
<description>&#60;p&#62;Hi, I want to save multiple thumbnails from each image with several sizes:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
$image = PhpThumbFactory::create($image);&#60;br /&#62;
$thmb_panel = $image-&#38;gt;adaptiveResize(79,79)-&#38;gt;save($destino.&#34;/thmb.jpg&#34;);&#60;br /&#62;
$thmb_fend = $image-&#38;gt;adaptiveResize(237, 180)-&#38;gt;save($destino.&#34;/fend.jpg&#34;);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The problem is $thmb_fend saves with 79x79px like $thmb_panel.&#60;/p&#62;
&#60;p&#62;Any suggestions?&#60;br /&#62;
Thanks for the great class :)
&#60;/p&#62;</description>
</item>

</channel>
</rss>

