<?xml version="1.0"?><!-- 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>thumbalizr Supportforum Tag: api  queued</title>
<link>http://www.i-ssential.de/thumbalizr-forum/</link>
<description>thumbalizr Supportforum Tag: api  queued</description>
<language>en</language>
<pubDate>Thu, 09 Sep 2010 10:11:12 +0000</pubDate>

<item>
<title>charlene on "api / queued pictures"</title>
<link>http://www.i-ssential.de/thumbalizr-forum/topic.php?id=2&#038;page#post-119</link>
<pubDate>Thu, 05 Aug 2010 01:32:43 +0000</pubDate>
<dc:creator>charlene</dc:creator>
<guid isPermaLink="false">119@http://www.i-ssential.de/thumbalizr-forum/</guid>
<description>&#60;p&#62;This is a really good read for me.&#60;/p&#62;
&#60;p&#62;______________________&#60;br /&#62;
&#60;a href=&#34;http://www.stajump.com&#34;&#62;cheap NFL  jerseys&#60;/a&#62;online shop&#60;br /&#62;
Find the jerseys you need to support your idol.
&#60;/p&#62;</description>
</item>
<item>
<title>oemberton on "api / queued pictures"</title>
<link>http://www.i-ssential.de/thumbalizr-forum/topic.php?id=2&#038;page#post-36</link>
<pubDate>Fri, 07 Mar 2008 09:30:12 +0000</pubDate>
<dc:creator>oemberton</dc:creator>
<guid isPermaLink="false">36@http://www.i-ssential.de/thumbalizr-forum/</guid>
<description>&#60;p&#62;We've been doing similar things in PHP but lately the CRC's appear not to work (we suspect they may have changed).&#60;/p&#62;
&#60;p&#62;Or it's possible that the file being downloaded isn't complete - i.e. we catch it mid-write - we're not sure.
&#60;/p&#62;</description>
</item>
<item>
<title>alainravet on "api / queued pictures"</title>
<link>http://www.i-ssential.de/thumbalizr-forum/topic.php?id=2&#038;page#post-35</link>
<pubDate>Mon, 03 Mar 2008 16:16:01 +0000</pubDate>
<dc:creator>alainravet</dc:creator>
<guid isPermaLink="false">35@http://www.i-ssential.de/thumbalizr-forum/</guid>
<description>&#60;p&#62;Here is the Ruby version (add more crc values for other resolutions):&#60;/p&#62;
&#60;pre&#62;
  require 'open-uri'
  require 'zlib'
  include Zlib

  def queued_image?(path, size)
    file_crc32 = crc32(open(path).read)
    case size
      when 100  then  1699002568 == file_crc32
      when 120  then  1958777770 == file_crc32
      when 200  then  2340983175 == file_crc32
      when 150  then  3582175601 == file_crc32
      else false
    end
  end
&#60;/pre&#62;</description>
</item>
<item>
<title>steve on "api / queued pictures"</title>
<link>http://www.i-ssential.de/thumbalizr-forum/topic.php?id=2&#038;page#post-11</link>
<pubDate>Mon, 29 Oct 2007 15:07:47 +0000</pubDate>
<dc:creator>steve</dc:creator>
<guid isPermaLink="false">11@http://www.i-ssential.de/thumbalizr-forum/</guid>
<description>&#60;p&#62;Hi, I created a little PHP function to check if the thumbnail has been created and is no longer showing the temporary thumbnail.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
function isNewThumb($url)&#60;br /&#62;
{&#60;br /&#62;
	$thumbalizrImageCRC = 1342048557;&#60;br /&#62;
	$fp = fopen($url,&#34;rb&#34;);&#60;br /&#62;
	$tcheck = fread($fp,1024);&#60;br /&#62;
	fclose($fp);&#60;br /&#62;
	$tCRC=0;&#60;br /&#62;
	if ($tcheck)&#60;br /&#62;
		$tCRC = crc32($tcheck);&#60;br /&#62;
	return !($tCRC == $thumbalizrImageCRC);&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Ok, I know this is tricky if the temporary thumbnail image changes, but for now it helps. And in if the temp thumb changes anyway, you only have to recalculate the CRC. The CRC is calculated by using the first 1024 bytes of the file.&#60;/p&#62;
&#60;p&#62;Thanks for this great service, keep up to good work !
&#60;/p&#62;</description>
</item>
<item>
<title>admin on "api / queued pictures"</title>
<link>http://www.i-ssential.de/thumbalizr-forum/topic.php?id=2&#038;page#post-9</link>
<pubDate>Wed, 26 Sep 2007 06:55:23 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid isPermaLink="false">9@http://www.i-ssential.de/thumbalizr-forum/</guid>
<description>&#60;p&#62;We will enhance the headers in beta-stage.
&#60;/p&#62;</description>
</item>
<item>
<title>sickdm on "api / queued pictures"</title>
<link>http://www.i-ssential.de/thumbalizr-forum/topic.php?id=2&#038;page#post-8</link>
<pubDate>Sun, 23 Sep 2007 19:44:43 +0000</pubDate>
<dc:creator>sickdm</dc:creator>
<guid isPermaLink="false">8@http://www.i-ssential.de/thumbalizr-forum/</guid>
<description>&#60;p&#62;Can you guys serve a header that's like X-Thumbalizr: Queued when you serve a queued image?
&#60;/p&#62;</description>
</item>
<item>
<title>admin on "api / queued pictures"</title>
<link>http://www.i-ssential.de/thumbalizr-forum/topic.php?id=2&#038;page#post-3</link>
<pubDate>Mon, 03 Sep 2007 19:45:13 +0000</pubDate>
<dc:creator>admin</dc:creator>
<guid isPermaLink="false">3@http://www.i-ssential.de/thumbalizr-forum/</guid>
<description>&#60;p&#62;Hi aproka,&#60;br /&#62;
at the moment there is no way to detect the status of a picture, if it is in qeued mode or already served. Nice idea, though - we will consider it in the next version :)
&#60;/p&#62;</description>
</item>
<item>
<title>aproka on "api / queued pictures"</title>
<link>http://www.i-ssential.de/thumbalizr-forum/topic.php?id=2&#038;page#post-2</link>
<pubDate>Mon, 03 Sep 2007 13:46:20 +0000</pubDate>
<dc:creator>aproka</dc:creator>
<guid isPermaLink="false">2@http://www.i-ssential.de/thumbalizr-forum/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Is there any way that a queued picture can be detected from js?&#60;br /&#62;
I think it would need a js api, but do you have anything in mind?&#60;/p&#62;
&#60;p&#62;thanks,&#60;/p&#62;
&#60;p&#62;Aron
&#60;/p&#62;</description>
</item>

</channel>
</rss>
