<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Huddled Masses - Latest Comments in Automatic images for headlines</title><link>http://huddledmasses.disqus.com/</link><description>Joel Bennett's development blog...</description><language>en</language><lastBuildDate>Mon, 08 May 2006 22:30:12 -0000</lastBuildDate><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583864</link><description>There is not a way to do that with this plugin .... honestly, it could be added without _too_ much trouble, but it's a significant performance hit, so I opted for keeping them short instead. The fact is, I never liked multi-line headlines anyway, so I just didn't take them into account. Of course, I'm not using it right now, so I'm not terribly motivated to fix it :-/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Mon, 08 May 2006 22:30:12 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583863</link><description>Hi... sorry for my bad english but i'm italian... there is a way to show the tex on multiple columns?? I tried it in my kubrick themes butm for long post titles, the text appears out of the content box...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ReDirEct__</dc:creator><pubDate>Mon, 08 May 2006 14:17:53 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583862</link><description>I've _finally_ gotten around to adding a "download" link to my source script.  All of my plugins should be simple and easy to download now, just click through to the source and hit the download link.&lt;br&gt;&lt;br&gt;Hopefully that will solve all the download problems people have had.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Fri, 23 Sep 2005 17:33:38 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583861</link><description>Well, lots of questions:&lt;br&gt;* The plugin goes in the plugins folder, yes.  And you have to configure the plugin by editing a couple of places (to tell it about fonts and such)&lt;br&gt;* I don't know much about PHP's safemode, but my guess is it's the fact that I'm caching the images that's a problem (ie: PHP isn't allowed to write out files), this could probably be modified to just out put the images (but it would be a bit slower when there were lots of them...)&lt;br&gt;* The cached images are stored in a user-specified folder (specified as "$cache_folder"), and it needs to be writeable  by the script,not by everyone (although frequently the easiest thing is to make it writable by everyone, that's not the _best_ way [;)]).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Fri, 03 Dec 2004 14:44:24 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583860</link><description>Where are you having it store the cached images? Does that folder exist and have write permission for everyone?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ColdForged</dc:creator><pubDate>Thu, 02 Dec 2004 20:16:43 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583859</link><description>Ok, I put the php in the plugin directory and activated it from the admin panel. Now, instead of the post title I get this message: Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid is</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">C:\arlo</dc:creator><pubDate>Sun, 28 Nov 2004 09:48:18 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583858</link><description>I just started using WordPress...&lt;br&gt;Once the php is configured, where should I put it?&lt;br&gt;In the plugins folder, or I have to paste it into the index.php code? If so: where? I want to use the plugin for the posts headlines (h3 in the standard CSS and index.php)&lt;br&gt;Thank you in advance!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">C:\arlo</dc:creator><pubDate>Sun, 28 Nov 2004 00:06:43 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583857</link><description>I'm unsure whether my comment got lost or is in moderation, but the trackback link above explains my modification to the plugin to support breaking long lines into multiple lines. You're welcome to roll the changes into your code base if you desire. Thanks again for a great plugin.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ColdForged</dc:creator><pubDate>Thu, 11 Nov 2004 18:46:50 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583856</link><description>Actually, I've updated your delightful plugin to support text that needs to be broken into multiple lines. My site format is not as wide as yours, so longer titles caused me some overlap.  You can find an example of a multi-line title &lt;a href="http://www.coldforged.org/archives/2004/11/05/my-powers-of-persuasion-are-weak-and-ineffectual/" rel="nofollow"&gt;here&lt;/a&gt; to see what it looks like in action. The code is available zipped up &lt;a href="http://www.coldforged.org/image-headlines.zip" rel="nofollow"&gt;here&lt;/a&gt;. Please feel free to work this back in to the codebase if you so desire.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ColdForged</dc:creator><pubDate>Thu, 11 Nov 2004 18:00:32 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583855</link><description>Thanks! Plugin was very easy to just drop in. I appreciate your work on this.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ColdForged</dc:creator><pubDate>Thu, 11 Nov 2004 14:41:39 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583854</link><description>Basically, yes.  If you look at the comments in there (at the bottom) I hope it will be clear what you need to edit...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Mon, 08 Nov 2004 20:46:40 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583853</link><description>I'm interested in using this plugin and have installed it. Do I set the configuration inside "image-headlines.php"?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vix</dc:creator><pubDate>Mon, 08 Nov 2004 01:18:33 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583852</link><description>I am trying to get this plug-in to work with the post date and I am unable to get it working, i changed the cache image folder and all the other necessary variables. and when i load up the site, i get a undefined error while creating image type of msg... what do i need to change the_date() function to. to get this to work???&lt;br&gt;&lt;br&gt;Thank you for your help and making such a cool plug-in !!!&lt;br&gt;&lt;br&gt;THANKSSS</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Stein</dc:creator><pubDate>Mon, 27 Sep 2004 15:54:26 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583851</link><description>This requires both the GD library and the FreeType library.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joel "Jaykul" Bennett</dc:creator><pubDate>Tue, 14 Sep 2004 23:54:25 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583850</link><description>Is FreeType required for this to work?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Samuel</dc:creator><pubDate>Mon, 13 Sep 2004 11:10:07 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583849</link><description>One feature that would be very cool is a max-line-length setting so it will wrap long titles on to two lines.  Thanks.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan G</dc:creator><pubDate>Wed, 25 Aug 2004 16:20:32 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583848</link><description>Fixed it.  I wasn't using the $before option, so the text was being replaced by the image tag in the title attribute also.&lt;br&gt;&lt;br&gt;Thanks!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Len Hardy</dc:creator><pubDate>Fri, 13 Aug 2004 11:14:13 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583847</link><description>I noticed that, but I'm not sure what I configured incorrectly.  I must be missing something.  All I changed was the font path and the font size, then I Activated the plugin.  Was there other configuration that I was supposed to do?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Len Hardy</dc:creator><pubDate>Fri, 13 Aug 2004 11:02:49 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583846</link><description>Well, that's bizzare. My site validates fine [;)]&lt;br&gt;&lt;br&gt;Actually, you've got it configured wrong, you're putting the *whole* image tag in the title attribute of the link.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jaykul</dc:creator><pubDate>Fri, 13 Aug 2004 10:48:44 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583845</link><description>I love your plug-in, it works fine for me.  I am having a hard time getting it to validate, though.  The page validates fine when the plug-in is deactivated.  When activated, however, I get a string of "warnings":&lt;br&gt;&lt;br&gt;&lt;a href="http://validator.w3.org/check?uri=http%253A%252F%252Fwww.bhsboosters.org%252Fwordpress%252Findex.php" rel="nofollow"&gt;http://validator.w3.org/check?uri=http%3A%2F%2F...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Len Hardy</dc:creator><pubDate>Fri, 13 Aug 2004 09:02:18 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583844</link><description>I have a correction/improvement. I now realize that my first attempt broke validation, even though Firefox rendered it correctly.&lt;br&gt;&lt;br&gt;This version is also much more useful for WordPress users who are using the provided stylesheet, or a variation of it&lt;br&gt;&lt;br&gt;Stylesheet Content:&lt;br&gt;&lt;code&gt;&lt;br&gt;h3.storytitle {&lt;br&gt;	margin: 0;&lt;/br&gt;&lt;br&gt;	padding: 0;&lt;/br&gt;&lt;br&gt;}&lt;/br&gt;&lt;br&gt;h3.storytitle span {&lt;/br&gt;&lt;br&gt;	display: block;&lt;/br&gt;&lt;br&gt;	margin: 0;&lt;/br&gt;&lt;br&gt;	padding: 0;&lt;/br&gt;&lt;br&gt;	text-indent: -1234em;&lt;/br&gt;&lt;br&gt;}&lt;br&gt;&lt;/br&gt;&lt;/code&gt;&lt;br&gt;&lt;br&gt;PHP changes on line 70 of Joel's Plugin:&lt;br&gt;&lt;code&gt;&lt;br&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $retVal = "&amp;lt;span class="replaced" style="height:{$height}px; background: url($cache_url) no-repeat top left;"&amp;gt;$text&amp;lt;/span&amp;gt;" ;&lt;br&gt;&lt;/code&gt;&lt;br&gt;&lt;br&gt;Let me know if this works for you, if you try it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cameron Walters</dc:creator><pubDate>Tue, 27 Jul 2004 19:37:23 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583843</link><description>[...]  [...]</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">&amp;raquo; Tipps und Anregungen f</dc:creator><pubDate>Sat, 24 Jul 2004 07:32:45 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583842</link><description>I've got an idea for your script that brings in a few improvements. If you're opposed to inline styles, however, this is not for you.&lt;br&gt;If you replace the Line that creates the return value with the following code, you essentially incorporate FIR into it as well, instead of just plain-vanilla image replacement.&lt;br&gt;&lt;code&gt;&lt;br&gt;$retVal = "&amp;lt;h2 class="replaced" style="height:{$height}px;background: url($cache_url) no-repeat top left;"&amp;gt;$text&amp;lt;/h2&amp;gt;" ;&lt;br&gt;&lt;/code&gt;&lt;br&gt;You'll also want to add a class to the stylesheet of your choice like this:&lt;br&gt;&lt;code&gt;&lt;br&gt;h2.replaced {&lt;br&gt;text-indent:-1234em; /*hide text*/&lt;/br&gt;&lt;br&gt;margin: 0;&lt;/br&gt;&lt;br&gt;padding: 0;&lt;/br&gt;&lt;br&gt;}&lt;br&gt;&lt;/br&gt;&lt;/code&gt;&lt;br&gt;It seems to work pretty well for me.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cameron Walters</dc:creator><pubDate>Fri, 23 Jul 2004 21:31:12 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583841</link><description>[...]  [...]</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">|+ Broken Kode +| &amp;raquo; png </dc:creator><pubDate>Mon, 19 Jul 2004 08:43:31 -0000</pubDate></item><item><title>Re: Automatic images for headlines</title><link>http://HuddledMasses.org/automatic-images-for-headlines/#comment-2583840</link><description>Thanks Aurora!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Catherine</dc:creator><pubDate>Sun, 11 Jul 2004 15:11:49 -0000</pubDate></item></channel></rss>