Displaying an album on my site

JackTripper

Joined: 2005-03-16
Posts: 1
Posted: Wed, 2007-07-11 00:03

I run a TV fansite and want to integrate part of Gallery with my website. I make an album in Gallery for each episode and store the album id in my website database, what I want to do with that is make it so I can show a few pictures from the album on the episode page.

I was able to achieve this when I used Coppermine, using a project called cpmfetch, but I want to use Gallery as overall it is much better.
The problem I'm having is trying to achieve this, to better see what I mean you can look at my other site running Coppermine: http://the8rules.co.uk/episodeguide/viewepisode/101/, the Gallery snaps section.

I am well versed in PHP and MySQL, so I wouldn't have too much problem having to code something up to achieve this, but I'd rather not manually access the database and just take the images - it would slow my script down a lot and is likely to be very messy.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2007-07-12 03:21

Install imageblock module and visit Site Admin / Image Block. You'll see information about external imageblock at the bottom. By using the itemId parameter you can limit image selection for random image(s) within a particular album. Hope this helps.