<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>edit picture results in a not found photo</title> 
  <pubDate>Fri, 10 Apr 2026 17:02:35 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9013</link> 
  <atom:link rel="self" type="application/rss+xml" title="edit picture results in a not found photo" href="https://bugs.horde.org/ticket/9013/rss" /> 
  <description>edit picture results in a not found photo</description> 
 
   
   
  <item> 
   <title>when using the link 
https://xxxx/ansel/image.php?gallery=1</title> 
   <description>when using the link 
https://xxxx/ansel/image.php?gallery=15&amp;image=436&amp;page=1&amp;actionID=editimage
to ratoate a picture i got only a question mark, and when i klick on cancel i got photo not found</description> 
   <pubDate>Mon, 10 May 2010 12:16:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58755</link> 
  </item> 
   
  <item> 
   <title>I can&#039;t reproduce this with 1.1.1 or with current fw3 in cvs</title> 
   <description>I can&#039;t reproduce this with 1.1.1 or with current fw3 in cvs.  Can you please post a step-by-step to reproduce, starting with uploading a new image?</description> 
   <pubDate>Mon, 10 May 2010 16:06:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58766</link> 
  </item> 
   
  <item> 
   <title>1. create new gallery with name test
2. upload a picture to</title> 
   <description>1. create new gallery with name test
2. upload a picture to it
3. click on the picture
4. click on edit

=&gt; picture with question sign

any link doesn&#039;t work except the back to gallery


in my php logs i found this one, maybe its related to it:
[11-Mai-2010 08:36:35] PHP Fatal error:  Call to undefined method PEAR_Error::rotate() in /home/apache/horde-webmail-1.2.6-old/ansel/image.php on line 526
[11-Mai-2010 08:36:42] PHP Fatal error:  Call to undefined method PEAR_Error::flip() in /home/apache/horde-webmail-1.2.6-old/ansel/image.php on line 533
[11-Mai-2010 08:36:45] PHP Fatal error:  Call to undefined method PEAR_Error::getDimensions() in /home/apache/horde-webmail-1.2.6-old/ansel/image.php on line 335</description> 
   <pubDate>Tue, 11 May 2010 06:41:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58778</link> 
  </item> 
   
  <item> 
   <title>seems to be that the change from bug 9002 makes the problem,</title> 
   <description>seems to be that the change from bug 9002 makes the problem, i included this fix for image.php,

$image_id = (int)Util::getPost(&#039;image&#039;);


maybe thats wrong on my system?</description> 
   <pubDate>Tue, 11 May 2010 07:27:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58779</link> 
  </item> 
   
  <item> 
   <title>&gt; seems to be that the change from bug 9002 makes the proble</title> 
   <description>&gt; seems to be that the change from bug 9002 makes the problem, i 
&gt; included this fix for image.php,
&gt;
&gt; $image_id = (int)Util::getPost(&#039;image&#039;);
&gt;
&gt;
&gt; maybe thats wrong on my system?

No, because the change from that ticket only affects editing image *faces*, not the image itself, as you describe you are doing.  

Still cannot reproduce. The errors in your your log indicate an issue with retrieving the Ansel_Image object from storage.  You are going to have to dump the error and find out what the exact error is that is being returned. Try putting something like:

Horde::logMessage(print_r($image, true), __FILE__, __LINE__, PEAR_LOG_ERR);
right before one of the lines in image.php that you are getting errors on in your log.
</description> 
   <pubDate>Wed, 19 May 2010 19:15:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58916</link> 
  </item> 
   
  <item> 
   <title>ok the problem is that the image_id is 0, this can be verifi</title> 
   <description>ok the problem is that the image_id is 0, this can be verified by the links

when i have a picture opened the edit link is:
https://xxxxxxx/ansel/image.php?gallery=31&amp;image=733&amp;page=0&amp;actionID=editimage

here we have the right image number
but than all links in on the edit page have:
https://xxxxxxx/ansel/image.php?gallery=31&amp;slug=&amp;image=0&amp;page=0&amp;year=0&amp;month=0&amp;day=0&amp;actionID=previewrotate270
or
https://xxxxxxx/ansel/image.php?gallery=31&amp;slug=&amp;image=0&amp;page=0&amp;year=0&amp;month=0&amp;day=0&amp;actionID=setwatermark&amp;share=

only the last two have the right number:
https://xxxxxxx/ansel/image.php?gallery=31&amp;image=733&amp;page=0&amp;actionID=cropedit&amp;nocache=6rqfxhtod8el

and also the a have a question sign here on the edit page
</description> 
   <pubDate>Fri, 21 May 2010 15:34:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58938</link> 
  </item> 
   
  <item> 
   <title>&gt; ok the problem is that the image_id is 0, this can be veri</title> 
   <description>&gt; ok the problem is that the image_id is 0, this can be verified by the links
&gt;
&gt; when i have a picture opened the edit link is:
&gt; https://xxxxxxx/ansel/image.php?gallery=31&amp;image=733&amp;page=0&amp;actionID=editimage
&gt;
&gt; here we have the right image number
&gt; but than all links in on the edit page have:
&gt; https://xxxxxxx/ansel/image.php?gallery=31&amp;slug=&amp;image=0&amp;page=0&amp;year=0&amp;month=0&amp;day=0&amp;actionID=previewrotate270

That is very strange, and makes no sense to me.  In image.php, can you put a var_dump($image_id); after line 21 (the line that assigns image_id the value from the url parameter).</description> 
   <pubDate>Fri, 21 May 2010 18:55:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58939</link> 
  </item> 
   
  <item> 
   <title>&gt; That is very strange, and makes no sense to me.  In image.</title> 
   <description>&gt; That is very strange, and makes no sense to me.  In image.php, can 
&gt; you put a var_dump($image_id); after line 21 (the line that assigns 
&gt; image_id the value from the url parameter).

Sorry, make that line 27, I was looking at the Ansel 2 source...
</description> 
   <pubDate>Fri, 21 May 2010 18:58:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58940</link> 
  </item> 
   
  <item> 
   <title>$image_id = (int)Util::getPost(&#039;image&#039;);
var_dump($image_id</title> 
   <description>$image_id = (int)Util::getPost(&#039;image&#039;);
var_dump($image_id);

results in 0

$image_id = Util::getPost(&#039;image&#039;);
var_dump($image_id);

results in NULL</description> 
   <pubDate>Sat, 22 May 2010 07:13:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58944</link> 
  </item> 
   
  <item> 
   <title>&gt; $image_id = (int)Util::getPost(&#039;image&#039;);
&gt; var_dump($imag</title> 
   <description>&gt; $image_id = (int)Util::getPost(&#039;image&#039;);
&gt; var_dump($image_id);
&gt;
&gt; results in 0

Why did you change the line from Util::getFormData() to Util::getPost()? That is incorrect and is the cause of what you are experiencing. </description> 
   <pubDate>Sat, 22 May 2010 20:10:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9013#t58946</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
