<?xml version="1.0" encoding="utf-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Auto-optimizing images in Plone</title>
	<atom:link href="http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/feed/" rel="self" type="application/rss+xml" />
	<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/</link>
	<description>Politics, the environment, technology, activism. And stuff.</description>
	<lastBuildDate>Tue, 24 Jan 2012 23:00:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jon Stahl&#39;s Journal &#187; Blog Archive &#187; More thoughts on automated image optimization for Plone</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-395100</link>
		<dc:creator>Jon Stahl&#39;s Journal &#187; Blog Archive &#187; More thoughts on automated image optimization for Plone</dc:creator>
		<pubDate>Wed, 03 Mar 2010 07:20:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-395100</guid>
		<description>&lt;p&gt;[...] June, I wrote up some initial thoughts about how Plone could to more to help folks with limited experience....    It got quite a bit of favorable response, but then I went off on sabbatical and [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] June, I wrote up some initial thoughts about how Plone could to more to help folks with limited experience&#8230;.    It got quite a bit of favorable response, but then I went off on sabbatical and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Stahl</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-393970</link>
		<dc:creator>Jon Stahl</dc:creator>
		<pubDate>Wed, 17 Jun 2009 03:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-393970</guid>
		<description>&lt;p&gt;@wichert-
In a world where we have blobs out of the box (soon, I hope), the issues with large file uploads will be lessened, but tying up zope threads still sucks.  And slow uploads kinda frustrate users (i&#039;d really love to figure out a way to use flash to do the resize on the client, but that feels a bit too ambitious).&lt;br /&gt;
But yeah, poorly optimized images are more of a problem than big uploads.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@wichert-<br />
In a world where we have blobs out of the box (soon, I hope), the issues with large file uploads will be lessened, but tying up zope threads still sucks.  And slow uploads kinda frustrate users (i&#8217;d really love to figure out a way to use flash to do the resize on the client, but that feels a bit too ambitious).<br />
But yeah, poorly optimized images are more of a problem than big uploads.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wichert Akkerman</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-393935</link>
		<dc:creator>Wichert Akkerman</dc:creator>
		<pubDate>Wed, 10 Jun 2009 11:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-393935</guid>
		<description>&lt;p&gt;I may be dense, but why is it a problem for people to upload large images? Normally I want people to upload large images, since that gives me much more room to scale them in various ways when using an image in a rendered page. Since visitors always get server the approriately scaled image the original image size is not relevant for them.&lt;/p&gt;

&lt;p&gt;The only downsides I can think of are upload time, which is a one time penalty that should generally not be a problem, and ZODB size which is easily solved by moving to blobs.&lt;/p&gt;

&lt;p&gt;So my opinions: big-ass images? Yes please!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I may be dense, but why is it a problem for people to upload large images? Normally I want people to upload large images, since that gives me much more room to scale them in various ways when using an image in a rendered page. Since visitors always get server the approriately scaled image the original image size is not relevant for them.</p>
<p>The only downsides I can think of are upload time, which is a one time penalty that should generally not be a problem, and ZODB size which is easily solved by moving to blobs.</p>
<p>So my opinions: big-ass images? Yes please!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Knox</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-393932</link>
		<dc:creator>Sam Knox</dc:creator>
		<pubDate>Tue, 09 Jun 2009 19:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-393932</guid>
		<description>&lt;p&gt;How about a validation script on the Add Image page which checks for filesize? The user would get a portal message telling them to go compress the file before upload. I&#039;d want to allow a setting in plone_control_panel to adjust what that maximum size should be (100Kb sounds like a reasonable default).&lt;/p&gt;

&lt;p&gt;For hi-res images, my advice is always to upload it as a File content type, so that the site visitor can download the large version instead of having Plone display it on a page.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>How about a validation script on the Add Image page which checks for filesize? The user would get a portal message telling them to go compress the file before upload. I&#8217;d want to allow a setting in plone_control_panel to adjust what that maximum size should be (100Kb sounds like a reasonable default).</p>
<p>For hi-res images, my advice is always to upload it as a File content type, so that the site visitor can download the large version instead of having Plone display it on a page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent Fretin</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-393931</link>
		<dc:creator>Vincent Fretin</dc:creator>
		<pubDate>Tue, 09 Jun 2009 17:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-393931</guid>
		<description>&lt;p&gt;Hi, in one of my content type, I have an thumbnail image I resize to 58x78 on upload, and crop it on center with the following code:&lt;/p&gt;

&lt;p&gt;from archetypes.clippingimage import ClippingImageField
schema = Schema((
    ClippingImageField(
        name=&#039;thumbnail&#039;,
        widget=ImageWidget(
            label=&quot;Thumbnail&quot;,
        ),
        storage=AttributeStorage(),
        original_size=(58, 78),
    ),
)
For the ClippingImageField, see:
http://pypi.python.org/pypi/archetypes.clippingimage&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, in one of my content type, I have an thumbnail image I resize to 58&#215;78 on upload, and crop it on center with the following code:</p>
<p>from archetypes.clippingimage import ClippingImageField<br />
schema = Schema((<br />
    ClippingImageField(<br />
        name=&#8217;thumbnail&#8217;,<br />
        widget=ImageWidget(<br />
            label=&#8221;Thumbnail&#8221;,<br />
        ),<br />
        storage=AttributeStorage(),<br />
        original_size=(58, 78),<br />
    ),<br />
)<br />
For the ClippingImageField, see:<br />
<a href="http://pypi.python.org/pypi/archetypes.clippingimage" rel="nofollow">http://pypi.python.org/pypi/archetypes.clippingimage</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Glick</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-393930</link>
		<dc:creator>David Glick</dc:creator>
		<pubDate>Tue, 09 Jun 2009 17:47:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-393930</guid>
		<description>&lt;p&gt;A couple people have mentioned TTW configurability of image scale sizes.  witsch has already implemented this in plone.app.imaging, which I think is a likely candidate for future inclusion in Plone core.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>A couple people have mentioned TTW configurability of image scale sizes.  witsch has already implemented this in plone.app.imaging, which I think is a likely candidate for future inclusion in Plone core.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Micha? Mas?owski</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-393929</link>
		<dc:creator>Micha? Mas?owski</dc:creator>
		<pubDate>Tue, 09 Jun 2009 13:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-393929</guid>
		<description>&lt;p&gt;In my opinion using OptiPNG (http://optipng.sourceforge.net/) for scaled PNG images would also help. In many cases it may decrease file size twice, so even less data will be sent to the browser. It is slow, but if the request won&#039;t wait for it, this would be useful for images in a Plone instance.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>In my opinion using OptiPNG (<a href="http://optipng.sourceforge.net/" rel="nofollow">http://optipng.sourceforge.net/</a>) for scaled PNG images would also help. In many cases it may decrease file size twice, so even less data will be sent to the browser. It is slow, but if the request won&#8217;t wait for it, this would be useful for images in a Plone instance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian Robbins</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-393928</link>
		<dc:creator>Julian Robbins</dc:creator>
		<pubDate>Tue, 09 Jun 2009 09:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-393928</guid>
		<description>&lt;p&gt;Hi, As a Plone user rather than developer, I can completely concur with this idea.
Also, as the images are shrunk down to predefined sizes in Kupu, many non technical users probably believe that as the image is smaller, than the file is smaller. What you see is what you get .... in this case it isnt.&lt;/p&gt;

&lt;p&gt;Simple objectives in usability such as this are incredible important IMHO.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, As a Plone user rather than developer, I can completely concur with this idea.<br />
Also, as the images are shrunk down to predefined sizes in Kupu, many non technical users probably believe that as the image is smaller, than the file is smaller. What you see is what you get &#8230;. in this case it isnt.</p>
<p>Simple objectives in usability such as this are incredible important IMHO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thet</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-393927</link>
		<dc:creator>thet</dc:creator>
		<pubDate>Tue, 09 Jun 2009 08:41:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-393927</guid>
		<description>&lt;p&gt;i like all the ideas presented here!
one more thing from me: i would like to see an easier possibility to customize the image sizes to which original images are converted. currently the best solution is archetypes.schemaxtender, but it&#039;s only accessible for developers.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>i like all the ideas presented here!<br />
one more thing from me: i would like to see an easier possibility to customize the image sizes to which original images are converted. currently the best solution is archetypes.schemaxtender, but it&#8217;s only accessible for developers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Hamilton</title>
		<link>http://jstahl.org/archives/2009/06/08/auto-optimizing-images-in-plone/comment-page-1/#comment-393926</link>
		<dc:creator>Matt Hamilton</dc:creator>
		<pubDate>Tue, 09 Jun 2009 08:10:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.onenw.org/jon/?p=1775#comment-393926</guid>
		<description>&lt;p&gt;I&#039;m pretty sure ATContentTypes does (or did at some point in time) rescale images automatically on upload.  OK, it does still mean that you have to process the large tens-of-megabyte images in the first place, but at least it is not storing them.&lt;/p&gt;

&lt;p&gt;On another project I&#039;m working on we&#039;re looking at http://upload.thinfile.com which can split file uploads into chunks and upload them via multiple HTTP POSTs and concat together on the server.  I think they have some cunning image-resizing-on-the-client uploader too.  Might not be suitable for the general case (esp. licesning) but might be good for specific use cases.&lt;/p&gt;

&lt;p&gt;-Matt&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;m pretty sure ATContentTypes does (or did at some point in time) rescale images automatically on upload.  OK, it does still mean that you have to process the large tens-of-megabyte images in the first place, but at least it is not storing them.</p>
<p>On another project I&#8217;m working on we&#8217;re looking at <a href="http://upload.thinfile.com" rel="nofollow">http://upload.thinfile.com</a> which can split file uploads into chunks and upload them via multiple HTTP POSTs and concat together on the server.  I think they have some cunning image-resizing-on-the-client uploader too.  Might not be suitable for the general case (esp. licesning) but might be good for specific use cases.</p>
<p>-Matt</p>
]]></content:encoded>
	</item>
</channel>
</rss>

