<?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>API extension</title> 
  <pubDate>Fri, 10 Apr 2026 02:02:29 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7974</link> 
  <atom:link rel="self" type="application/rss+xml" title="API extension" href="https://bugs.horde.org/ticket/7974/rss" /> 
  <description>API extension</description> 
 
   
   
  <item> 
   <title>- fix galleryExists signature

- fix warnings in saveImage r</title> 
   <description>- fix galleryExists signature

- fix warnings in saveImage regarding type of image content passed

- added method to return image view raw data</description> 
   <pubDate>Thu, 12 Feb 2009 10:52:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7974#t52496</link> 
  </item> 
   
  <item> 
   <title>- fix fatal error in removeGallery when getGallery returns a</title> 
   <description>- fix fatal error in removeGallery when getGallery returns and error and we try to access an non defined method in the error message composition

</description> 
   <pubDate>Thu, 12 Feb 2009 10:54:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7974#t52497</link> 
  </item> 
   
  <item> 
   <title>1) The return datatype in the signature for getImageContent </title> 
   <description>1) The return datatype in the signature for getImageContent is incorrect



2) All parameters with default values in a function signature must follow all parameters that do not have a default value.



3) Your not checking age restrictions or password protected galleries before returning the image data.



That being said, I&#039;m not so sure this api method is a good idea - will sening the raw, binary image data actually work over XML/RPC or JSON/RPC?</description> 
   <pubDate>Thu, 12 Feb 2009 15:51:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7974#t52507</link> 
  </item> 
   
  <item> 
   <title>&gt; 1) The return datatype in the signature for getImageConten</title> 
   <description>&gt; 1) The return datatype in the signature for getImageContent is incorrect

&gt;

&gt; 2) All parameters with default values in a function signature must 

&gt; follow all parameters that do not have a default value.

&gt;

&gt; 3) Your not checking age restrictions or password protected galleries 

&gt; before returning the image data.



Fixed...



&gt; That being said, I&#039;m not so sure this api method is a good idea - 

&gt; will sening the raw, binary image data actually work over XML/RPC or 

&gt; JSON/RPC?



I doubt anyone will request image raw data directly or we can encode it if you prefer. But we need a way to make it accessible via the API to have a full read-write api. OTOH even the browse call sends raw data directly. 

</description> 
   <pubDate>Mon, 16 Feb 2009 15:55:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7974#t52600</link> 
  </item> 
   
  <item> 
   <title>An example of full RW implementation as a VFS driver.</title> 
   <description>An example of full RW implementation as a VFS driver.</description> 
   <pubDate>Mon, 16 Feb 2009 15:59:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7974#t52602</link> 
  </item> 
   
  <item> 
   <title>&gt; I doubt anyone will request image raw data directly or we </title> 
   <description>&gt; I doubt anyone will request image raw data directly or we can encode 

&gt; it if you prefer. 



IMO, if it&#039;s callable via the api, it&#039;s callable via jsonrpc and xmlrpc so it should be supported and this won&#039;t work unless it is encoded.



&gt; But we need a way to make it accessible via the API 

&gt; to have a full read-write api.



I&#039;ve been making http requests for the image data whenever I&#039;ve needed to do this - I do this in my iPhoto plugin for example, to get the the gallery default images, but I can see the usefulness of having this method as well.  I think we should be able to specify the encoding we want when requesting the image - the reverse of how the upload works, where we need to specify the encoding that we are using during upload.



&gt; OTOH even the browse call sends raw 

&gt; data directly.



That might be one of the reasons that I can&#039;t get any image data from a webdav mount of a remote ansel install...



</description> 
   <pubDate>Mon, 16 Feb 2009 18:42:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7974#t52610</link> 
  </item> 
   
  <item> 
   <title>&gt; That might be one of the reasons that I can&#039;t get any imag</title> 
   <description>&gt; That might be one of the reasons that I can&#039;t get any image data from 

&gt; a webdav mount of a remote ansel install...



I corrected _getImageData to be bidirectional and updated PHPDoc.</description> 
   <pubDate>Tue, 17 Feb 2009 10:30:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7974#t52628</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/ansel/lib/api.php?rt=horde&amp;r1=1.132&amp;r2=1.133&amp;ty=u</description> 
   <pubDate>Mon, 02 Mar 2009 23:27:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7974#t52855</link> 
  </item> 
   
  <item> 
   <title>Committed.  I changed the age/locked gallery detection so th</title> 
   <description>Committed.  I changed the age/locked gallery detection so that it catches these even if it&#039;s a full image download. I don&#039;t see permission to download a full image as implicit permission to see an otherwise locked gallery.</description> 
   <pubDate>Mon, 02 Mar 2009 23:28:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7974#t52856</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
