From vuser1 at test123.ru Wed Jul 1 05:38:42 2009 From: vuser1 at test123.ru (vuser1) Date: Wed, 1 Jul 2009 13:38:42 +0800 Subject: [ansel] imageCreateFromString Empty string or invalid image Message-ID: <006501c9fa0e$31825140$9486f3c0$@ru> Hello ansel users! Yesterday I installed horde-webmail-1.2.3 and ansel-h3-1.0. Image gallery with preview thumbnails works fine, but website cannot render the image when I click on it. In /tmp/horde.log: Jul 01 13:22:21 HORDE [error] [ansel] imageCreateFromString: imagecreatefromstring() [function.imagecreatefromstring]: Empty string or invalid image [pid 20055 on line 175 of "/usr/share/horde/ansel/lib/ Views/Image.php"] Jul 01 13:22:22 HORDE [emergency] [ansel] imagejpeg: imagejpeg(): supplied argument is not a valid Image resource [pid 20055 on line 44 of "/usr/share/horde/ansel/img/screen.php"] Ubuntu 8.04 https://my-site/horde/ansel/test.php: PHP Version: 5.2.4-2ubuntu5.6 PHP Major Version: 5.2 PHP Minor Version: 4 PHP Subminor Version: 2ubuntu5.6 PHP Version Classification: release You are running a supported version of PHP. PHP Module Capabilities GD Support: Yes Imagick Library: No Zip Support: Yes OpenCV Library: No Facedetect Face Detection Library: No Puzzle Library: No PEAR Search Path (PHP's include_path): /usr/share/horde/lib:/usr/share/horde/lib/../pear PEAR: Yes Recent PEAR: Yes MDB2: Yes At first I tried to install imagick (pecl install imagick), but later I disabled it in php.ini. The line producing an error: 173: $geometry = $this->resource->getDimensions('screen'); 174: if (is_a($geometry, 'PEAR_Error')) { 175: Horde::logMessage($geometry->getMessage(), __FILE__, __LINE__, PEAR_LOG_ERR); I am in stuck, why thumbnails works, but image view ? don?t? What should I try/check? - Alexey From jayne at weecare.com.sg Thu Jul 2 02:11:24 2009 From: jayne at weecare.com.sg (Jayne Cheong) Date: Thu, 02 Jul 2009 10:11:24 +0800 Subject: [ansel] Thunderbird / Microsoft Outlook Message-ID: <20090702101124.rjbx4qvz0gkwsoso@webmail.weecare.com.sg> Hi, I wanted to find out if it's possible to use Thunderbird or Windows Live Mail with Horde. Some of my colleagues have problems using Horde because of the interface ( they are used to something simpler) and we would like to install Outlook, or Thunderbird, or Windows Live Mail to help them access the email easily. I've tried to set the POP and SMTP info (which is the same for both) but when i key in my user name and password, the keep telling me to re-key it like it's wrong. It's the same username and password that i use when i log in online to Horde right? So what's wrong? Jayne Cheong From mdf at darksnow.net Thu Jul 2 13:33:11 2009 From: mdf at darksnow.net (Martin Fraser) Date: Thu, 02 Jul 2009 14:33:11 +0100 Subject: [ansel] Thunderbird / Microsoft Outlook In-Reply-To: <20090702101124.rjbx4qvz0gkwsoso@webmail.weecare.com.sg> References: <20090702101124.rjbx4qvz0gkwsoso@webmail.weecare.com.sg> Message-ID: Firstly, this is the Ansel list, for questions about the picture management system in Horde. Secondly, Horde is a client for your mail server, in the same way that Thunderbird or Outlook is. It connects to the mail server and allows you see and manipulate the mail on that server, it does not act as a mail server in it's own right. You'd need to contact the supplier of your service to see if they allow direct connections to the mail server and if so, how to get that to work. Good luck with it. Martin Fraser. Jayne Cheong wrote: > > Hi, > > I wanted to find out if it's possible to use Thunderbird or Windows Live > Mail with Horde. Some of my colleagues have problems using Horde because > of the interface ( they are used to something simpler) and we would like > to install Outlook, or Thunderbird, or Windows Live Mail to help them > access the email easily. > > I've tried to set the POP and SMTP info (which is the same for both) but > when i key in my user name and password, the keep telling me to re-key > it like it's wrong. It's the same username and password that i use when > i log in online to Horde right? So what's wrong? > > > > Jayne Cheong > > > > -- > ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: ansel-unsubscribe at lists.horde.org > From mrubinsk at horde.org Thu Jul 2 16:51:56 2009 From: mrubinsk at horde.org (Michael Rubinsky) Date: Thu, 02 Jul 2009 12:51:56 -0400 Subject: [ansel] imageCreateFromString Empty string or invalid image In-Reply-To: <006501c9fa0e$31825140$9486f3c0$@ru> References: <006501c9fa0e$31825140$9486f3c0$@ru> Message-ID: <20090702125156.04ko0s0@localhost> Quoting vuser1 : > Hello ansel users! > > > > Yesterday I installed horde-webmail-1.2.3 and ansel-h3-1.0. Image > gallery with preview thumbnails works fine, but website cannot > render the image when I click on it. In /tmp/horde.log: > > > > Jul 01 13:22:21 HORDE [error] [ansel] imageCreateFromString: > imagecreatefromstring() [ href='function.imagecreatefromstring'>function.imagecreatefromstring]: > Empty string or invalid image [pid 20055 on line 175 of > "/usr/share/horde/ansel/lib/ Views/Image.php"] > > Jul 01 13:22:22 HORDE [emergency] [ansel] imagejpeg: imagejpeg(): > supplied argument is not a valid Image resource [pid 20055 on line > 44 of "/usr/share/horde/ansel/img/screen.php"] > > > > Ubuntu 8.04 > > https://my-site/horde/ansel/test.php: > > PHP Version: 5.2.4-2ubuntu5.6 > > PHP Major Version: 5.2 > > PHP Minor Version: 4 > > PHP Subminor Version: 2ubuntu5.6 > > PHP Version Classification: release > > You are running a supported version of PHP. > > > > PHP Module Capabilities > > GD Support: Yes > > Imagick Library: No > > Zip Support: Yes > > OpenCV Library: No > > Facedetect Face Detection Library: No > > Puzzle Library: No > > > > PEAR Search Path (PHP's include_path): > /usr/share/horde/lib:/usr/share/horde/lib/../pear > > PEAR: Yes > > Recent PEAR: Yes > > MDB2: Yes > > > > At first I tried to install imagick (pecl install imagick), but > later I disabled it in php.ini. > > The line producing an error: > > 173: $geometry = $this->resource->getDimensions('screen'); > > 174: if (is_a($geometry, 'PEAR_Error')) { > > 175: Horde::logMessage($geometry->getMessage(), __FILE__, > __LINE__, PEAR_LOG_ERR); > > > > I am in stuck, why thumbnails works, but image view ? don?t? What > should I try/check? There were a number of bugs introduced into Ansel due to a change in the way those "screen" images are generated. If your interested, we always generate them as jpeg files now, regardless of the configured image format setting since they are smaller and we would never need the alpha channel capabilities of PNG images for those images...this leads to reduced bandwidth and storage requirements. Anyway, those issues are already fixed in CVS. The best thing to do would be to update to the current framework_3 branch code. If you can't do that, you could switch to the imagemagick driver by providing the path to your convert program. The im driver is a *much* better driver both in terms of efficiency and output. Thanks, mike -- The Horde Project (www.horde.org) mrubinsk at horde.org "Time just hates me. That's why it made me an adult." - Josh Joplin