Radiant Gallery extension 0.2.0

April 17th, 2007 by Andrea Franz

Gallery 0.2.0 just released! Check it out with darcs:

darcs get http://darcs.bigchieflabs.com/radiant/extensions/gallery/

..or download the archive here.

I’ve got some problem with my repository..if you already use Gallery extension, delete it and download it again, instead of update (pull) with darcs. Also delete galleries and gallery_items tables and reinstall extension..read here for more docs.


One Comment on “Radiant Gallery extension 0.2.0”

  1. Tim Glenn
    11:07 pm on July 30th, 2007:

    Hello. I modified the gallery to support getting gallery items by name as well as updating the name and description. I am not sure if you are using a version control or even if you want these mods. If you do let me know I will send you the files.. or if you have a process ?

    desc %{
    Usage:

    Provides a sized image for current gallery item.
    Current size values are: icon, small, medium, large }
    tag ‘gallery:item:show’ do |tag|
    item = find_item(tag)
    options = {}
    [:size, :width, :height].each do |symbol|
    options[symbol] = tag.attr[symbol.to_s] if tag.attr[symbol.to_s]
    end
    gallery_item_url item, options
    end

    added this to find item:

    if tag.locals.item
    tag.locals.item
    elsif tag.attr['name']
    gallery = find_gallery(tag)
    return gallery.items.find_by_name(tag.attr['name'])
    end

Comments are closed.