Hi folks,
I really want to integrate Supersize! by buildinternet.com into my frontpage. My idea is that the newest uploads to the page are shown (dynamic album) upon entering my page.
My problem is that Supersize! uses a javascript object to store information about images used. How I can modify zenphoto to output the information in the way I need?
The sample code looks like:
`
slides : [ //Slideshow Images
{image : '
http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/quietchaos-kitty.jpg', title : 'Quiet Chaos by Kitty Gallannaugh', url : '
http://www.nonsensesociety.com/2010/12/kitty-gallannaugh/'},
{image : '
http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/wanderers-kitty.jpg', title : 'Wanderers by Kitty Gallannaugh', url : '
http://www.nonsensesociety.com/2010/12/kitty-gallannaugh/'},
{image : '
http://buildinternet.s3.amazonaws.com/projects/supersized/3.1/slides/apple-kitty.jpg', title : 'Applewood by Kitty Gallannaugh', url : '
http://www.nonsensesociety.com/2010/12/kitty-gallannaugh/'} ]
`
Comments
I had a look, but frankly I don't know what yo want me to find there. The third-party extension section is very basic and the functions guide does not contain a function that prints imagelinks in the way I want.
Please give me one or two more hints, I don't expect anyone to do the work for me, but I am stuck.
Cheers,
Christian
There is a plugin name "image_album_statistics" to get the latest items. As most of our functions consist of a pair of a "get" (gets data) and "print" variant (which prints the data got by the "get" variant). You will have to use the "get" variant as a guide to create a function for your purpose using the mentioned object model.
Will try now.