Finally found the cause for this problem.
Change the file lib/dynamic_image.rb in the Dynamic Image extension:

#13 is
config = tag.attr
but should be
config = tag.attr.dup

Manuel

On Sat, Oct 4, 2008 at 4:29 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I'm experiencing some strange behavior using the children:each tag and
> the Dynamic Image extension
> (http://github.com/narced133/radiant-dynamic-image-extension)
> I have a page with, say, 3 subpages and implement the following code
> in the main page:
>
> <r:children:each>
>  <r:image size="13" color="#FFFFFF" background="#D30C05"><r:title /></r:image>
> </r:children:each>
>
> I expect to see the title of each subpage in the given size, font
> color and background color.
> The thing that happens, though, is that only the title of the first
> subpage appears in the correct size and colors. The other titles
> appear in the size and colors defined as standards in my
> environment.rb.
> Seems that the tag attributes (size, color and background) are only
> transferred for the first child.
>
> Any thoughts and comments are appreciated!
>
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to