<?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>JavaScript code for embedding any API gallery view</title> 
  <pubDate>Fri, 10 Apr 2026 13:26:30 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6811</link> 
  <atom:link rel="self" type="application/rss+xml" title="JavaScript code for embedding any API gallery view" href="https://bugs.horde.org/ticket/6811/rss" /> 
  <description>JavaScript code for embedding any API gallery view</description> 
 
   
   
  <item> 
   <title>Use the json-rpc backend to allow embedding the HTML of any </title> 
   <description>Use the json-rpc backend to allow embedding the HTML of any gallery view in an external page.



Having gallery views that used javascript (with fallback of course) for the pager would mean the embedding code wouldn&#039;t have to do anything special about pages.</description> 
   <pubDate>Sun, 01 Jun 2008 03:31:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6811#t45751</link> 
  </item> 
   
  <item> 
   <title>&gt; Use the json-rpc backend to allow embedding the HTML of an</title> 
   <description>&gt; Use the json-rpc backend to allow embedding the HTML of any gallery 

&gt; view in an external page.



Isn&#039;t this already possible?





&gt; Having gallery views that used javascript (with fallback of course) 

&gt; for the pager would mean the embedding code wouldn&#039;t have to do 

&gt; anything special about pages.



Do you mean having the pager trigger an Ajax call on the page to load the next gallery page, thus saving more api calls?</description> 
   <pubDate>Sun, 01 Jun 2008 12:07:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6811#t45758</link> 
  </item> 
   
  <item> 
   <title>It might be possible I guess, I haven&#039;t tried. :) Re paging,</title> 
   <description>It might be possible I guess, I haven&#039;t tried. :) Re paging, yes - not only avoiding API calls, but avoiding having to rewrite the pager links inside javascript.</description> 
   <pubDate>Sun, 01 Jun 2008 13:38:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6811#t45761</link> 
  </item> 
   
  <item> 
   <title>For safe keeping, a summary of some IRC discussion:



This </title> 
   <description>For safe keeping, a summary of some IRC discussion:



This will be provided as some sort of pre-made widget that provides some HTML on the caller side, and a &lt;!--a75c305b1c0a6022--&gt;&lt;script&gt; tag that would fetch JSON data representing the gallery from the Ansel server (image src, caption text, links for each image etc..). The returned javascript would also contain an onload event handler that would populate the &quot;caller side HTML&quot;.</description> 
   <pubDate>Wed, 02 Jul 2008 20:13:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6811#t47123</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/co.php/ansel/js/embed.js?r=1.1
http://cvs.horde.org/co.php/ansel/js/src/embed.js?r=1.1
http://cvs.horde.org/co.php/ansel/jsapi.php?r=1.1
http://cvs.horde.org/co.php/ansel/themes/jsembed.css?r=1.1</description> 
   <pubDate>Fri, 04 Jul 2008 15:09:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6811#t47213</link> 
  </item> 
   
  <item> 
   <title>This is now fully functional, although I plan on adding a fe</title> 
   <description>This is now fully functional, although I plan on adding a few more &quot;nice-to-haves&quot; such a a embedded slideshow and carousel...</description> 
   <pubDate>Fri, 04 Jul 2008 20:14:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6811#t47227</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
