How to add Album Name to an external image block?

mdavis007

Joined: 2007-01-12
Posts: 10
Posted: Thu, 2007-02-22 13:11

I have an external random image block. It works perfectly. As is it displays heading|title|date, but I also want it to display the name of the album it is located in. Is this possible? Thanks.

~Mike

Gallery version = 2.2-rc-1 core 1.1.26
PHP version = 4.4.4 cgi
Webserver = Apache/2.0.54 (Unix) PHP/4.4.2 mod_ssl/2.0.54 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.3.2
Database = mysqlt 5.0.24a-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, Ffmpeg, Gd, NetPBM, ImageMagick, SquareThumb
Acceleration = none, none
Operating system = Linux odwalla 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+tg+++opt+c8+gr2b-v6.194 #1 SMP Tue Jun 6 15:52:09 PDT 2006 i686
Default theme = PGtheme
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061206 Firefox/1.5.0.9
Rows in GalleryAccessMap table = 73
Rows in GalleryAccessSubscriberMap table = 28
Rows in GalleryUser table = 2
Rows in GalleryItem table = 25
Rows in GalleryAlbumItem table = 7
Rows in GalleryCacheMap table = 0

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2007-04-14 00:22

you'd need to modify the imageblock code to do that, but it's possible.