Re: A new gallery manager : Album
Posted: Tue May 09, 2006 3:53 pm
is there a way to add a comments option to the pictures?
Content management as it is meant to be
https://forum.cmsmadesimple.org/
I'll try and see (if it works it will require the SVN versions of CMSMS and the Comments module).Mesmer wrote: is there a way to add a comments option to the pictures?
Tanks. If it works Album is definitely the best 'Simple' gallery solution.Elijah Lofgren wrote:I'll try and see (if it works it will require the SVN versions of CMSMS and the Comments module).Mesmer wrote: is there a way to add a comments option to the pictures?
would you explain this a little bit more?maksbud wrote: You can add Comments in the Album interface,,
mark
I just tried it out it works great to leave comments on individual pictures!Mesmer wrote: ...
What I'm searching for is the option for visitors of my site to leave a comment to a picture. Like the comments feature you have at the bottom of your album but then for each picture.
Code: Select all
{if $picture->id>0}
<br />
<a href="{$link.picture.first}" alt="first" title="first picture"><< </a>
{if $link.picture.previous}<a href="{$link.picture.previous}" alt="previous" title="previous picture">< </a>{/if}
picture {$picturenumber}/{$picturecount}
{if $link.picture.next}<a href="{$link.picture.next}" alt="next" title="next picture"> ></a>{/if}
<a href="{$link.picture.last}" alt="last" title="last picture"> >></a>
<br />
<img src="{$picture->picture}" />
<h3>{$picture->name}</h3>
<div>{$picture->comment}</div>
{/if}
Code: Select all
{cms_module
module='comments' modulename='Album' pageid=$picture->id}
{if $picture->id>0}
<<
{if $link.picture.previous}< {/if}
picture {$picturenumber}/{$picturecount}
{if $link.picture.next} >{/if}
>>
picture}" />
{$picture->name}
{$picture->comment}
{cms_module
module='comments' modulename='Album' pageid=$picture->id}
{/if}
And thanks to you for helping in getting even better!Elijah Lofgren wrote: Thanks dam for making such a cool image gallery!![]()