Supersize integration

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

  • acrylian Administrator, Developer
    Please visit our user guide.
  • Hi acrylian,
    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
  • acrylian Administrator, Developer
    I assume you read the theming tutorial. Then get familiar with Zenphoto's object model framework. That you will need to accomplish what you want. (And there are functions to print the full image link as you have in your example...).

    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.
  • Thanks a lot.
    Will try now.
Sign In or Register to comment.