A new gallery manager : Album
Re: A new gallery manager : Album
is there a way to add a comments option to the pictures?
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: A new gallery manager : Album
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?
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

Re: A new gallery manager : Album
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?
Re: A new gallery manager : Album
You can add Comments in the Album interface,,
mark
mark
Re: A new gallery manager : Album
would you explain this a little bit more?maksbud wrote: You can add Comments in the Album interface,,
mark
Re: A new gallery manager : Album
when you create an Album the pictures show up in the album interface as thumbs in rows across the bottom of them are little pictures first on left, looks like mountains, is for changing the big picture related to that thumb, next is small mountains, for changing the thumb related to the big picture, then pad and pencil that is for adding comments to the picture, that is seen when someone views the picture big style in the album, when you clik the pad & paper you get an edit window with the name of the pic. in the top box like apple.jpg you can name it , 'whatever' without the .jpg, under that is bigger edit window, this is where you add a comment, can be long or short message about pic., example page http://www.multiintech.com/index.php?page=dam_album_mod i've moved the words to the top of the pictures, if you clik on the food or vacation album, then the first pic. in them, you will see comments above pic., the left/right arrows are for moving the order the img. show up in album, the blue barrel is for delete.
HTH
mark
HTH
mark
Re: A new gallery manager : Album
Thanks for your reply.
I'm afraid I didn't make myself clear. 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.
I'm afraid I didn't make myself clear. 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.
Re: A new gallery manager : Album
oops sorry for the lengthy tut., my album is a hack on the original album and comments, which leaves me no other way to display it, i can show you how i did it and maybe you can change it to suit your needs, as it is mine will let you leave a comment but it will show up under the list of albums and all the way thru the gallery, not just for a particular img. i put part of the into the template for the album, main template looks like,,
{content}
{cms_module module="comments" notify="gallery@multiintech.com" spamprotect=1 emailfield="1" websitefield="1"}
the other template fills this in,
comments template like this,,
{$addacomment}
{foreach from=$items item=entry}
{if $entry->author_email}
author_email|escape:"hexentity"}">{$entry->comment_author}
{else}
{$entry->comment_author}
{/if}
{if $entry->author_website}(author_website}" target="_blank">{$entry->author_website}){/if}
{$entry->date}
{$entry->comment_data}
{/foreach}
{$startform}
{$notify}
{$spamprotectfld}
{$image}
the stuff in between is in the album like,,
{if $albumcount>0}
My Mod of Dams Album
{foreach from=$albums item=album}
{$album->name}
{$album->comment}
link}"> thumbnail}" />
{/foreach}
{else}
{if $returnlink}Return To Albums{/if}
{if $pagecount>0}
{if $link.page.previous}Previous Page {/if}
page {$pagenumber} of {$pagecount}
{if $link.page.next}Next Page {/if}
{/if}
{foreach from=$pictures item=picturesrow}
{foreach from=$picturesrow item=onepicture}
link}"> thumbnail}" />
{/foreach}
{/foreach}
Click for Large Image
{if $picturecount==0}No image{/if}
{/if}
{if $picture->id>0}
{if $link.picture.previous}Prev. {/if}
Picture {$picturenumber}/{$picturecount}
{if $link.picture.next} Next {/if}
{$picture->name}
{$picture->comment}
picture}" target="_blank"/>picture}" >
{/if}
blue is my addition, looks kind of stange but it works, tried to do the same thing for news to make a blog but it's not working yet, can't leave a comment just takes you back to the news/blog page,
mark
{content}
{cms_module module="comments" notify="gallery@multiintech.com" spamprotect=1 emailfield="1" websitefield="1"}
the other template fills this in,
comments template like this,,
{$addacomment}
{foreach from=$items item=entry}
{if $entry->author_email}
author_email|escape:"hexentity"}">{$entry->comment_author}
{else}
{$entry->comment_author}
{/if}
{if $entry->author_website}(author_website}" target="_blank">{$entry->author_website}){/if}
{$entry->date}
{$entry->comment_data}
{/foreach}
{$startform}
{$notify}
{$spamprotectfld}
{$image}
the stuff in between is in the album like,,
{if $albumcount>0}
My Mod of Dams Album
{foreach from=$albums item=album}
{$album->name}
{$album->comment}
link}"> thumbnail}" />
{/foreach}
{else}
{if $returnlink}Return To Albums{/if}
{if $pagecount>0}
{if $link.page.previous}Previous Page {/if}
page {$pagenumber} of {$pagecount}
{if $link.page.next}Next Page {/if}
{/if}
{foreach from=$pictures item=picturesrow}
{foreach from=$picturesrow item=onepicture}
link}"> thumbnail}" />
{/foreach}
{/foreach}
Click for Large Image
{if $picturecount==0}No image{/if}
{/if}
{if $picture->id>0}
{if $link.picture.previous}Prev. {/if}
Picture {$picturenumber}/{$picturecount}
{if $link.picture.next} Next {/if}
{$picture->name}
{$picture->comment}
picture}" target="_blank"/>picture}" >
{/if}
blue is my addition, looks kind of stange but it works, tried to do the same thing for news to make a blog but it's not working yet, can't leave a comment just takes you back to the news/blog page,
mark
Last edited by Dr.CSS on Wed May 10, 2006 8:15 pm, edited 1 time in total.
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: A new gallery manager : Album
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.

It requires the comments module version 1.6 (not released yet). You can download it from SVN here: http://dev.cmsmadesimple.org/scm/?group_id=23
An easy way to get it is to click the "Download The Nightly SVN Tree Snapshot" link on that page.
It also requires CMSMS 0.13 beta 4
Here's how to get it working:
- Upgrade to CMSMS 0.13 beta 4 if you haven't already.
- Upgrade the comments module to 1.6. It's not released yet, but you can get it from here: http://dev.cmsmadesimple.org/scm/?group_id=23
- In the CMSMS Admin Panel go to "Content->Photo Albums"
- Click on the "Templates" tab.
- If you haven't created a custom template click on "default"
- Scroll down the template until you come to this section:
Add in this line above the "{/if}"
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}
That section should now look like this: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} - Click "Apply"

Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

Re: A new gallery manager : Album
OH yea you da man got it working the newest comments and CMSMS is the greatest 
mark

mark
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: A new gallery manager : Album
Hi dam,
As promised I have submitted a patch to make Album use clean URLs:
http://dev.cmsmadesimple.org/tracker/in ... 7&atid=727
If anyone else wants to make their module use clean URLs see here for a howto I wrote using Album as an example:
http://wiki.cmsmadesimple.org/index.php ... clean_URLs
It'd be cool if the next version of Album is patched to have clean URLs.
Thanks dam for making such a cool image gallery!
As promised I have submitted a patch to make Album use clean URLs:
http://dev.cmsmadesimple.org/tracker/in ... 7&atid=727
If anyone else wants to make their module use clean URLs see here for a howto I wrote using Album as an example:
http://wiki.cmsmadesimple.org/index.php ... clean_URLs
It'd be cool if the next version of Album is patched to have clean URLs.

Thanks dam for making such a cool image gallery!

Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 

Re: A new gallery manager : Album
And thanks to you for helping in getting even better!Elijah Lofgren wrote: Thanks dam for making such a cool image gallery!![]()
Last edited by Mesmer on Mon May 15, 2006 9:29 am, edited 1 time in total.
Re: A new gallery manager : Album
This plugin is great and very customziable. Thanks.
I'm having a bit of a problem with my template and the Album template working together.
http://radiomisericordia.com/index.php?page=galeria
I am not able to edit the template for this page. Where is it?
http://radiomisericordia.com/index.php? ... eturnid=39
In FF the page looks perfectly right but in IE6 the content gets pushed down to lower on the page and it looks horrible. Any idea on how to fix this?
Help Please.
I'm having a bit of a problem with my template and the Album template working together.
http://radiomisericordia.com/index.php?page=galeria
I am not able to edit the template for this page. Where is it?
http://radiomisericordia.com/index.php? ... eturnid=39
In FF the page looks perfectly right but in IE6 the content gets pushed down to lower on the page and it looks horrible. Any idea on how to fix this?
Help Please.

Re: A new gallery manager : Album
try the old IE hack...
#menu {
background : #DDFC4B url(images/menuBG.png) no-repeat;
width: 205px;
float: left;
margin-left : 1.7em;
display:inline;
list-style : none;
font : 10px Arial, Helvetica, sans-serif;
}
* html body #menu {
background : #DDFC4B url(images/menuBG.png) no-repeat;
width: 200px;
deleted
margin-left : 1.7em;
display:inline;
list-style : none;
font : 10px Arial, Helvetica, sans-serif;
}
#main {
background : url(images/textBG.jpg) no-repeat;
width : 513px;
float : right;
padding-top:15px;
}
* html body #main {
background : url(images/textBG.jpg) no-repeat;
width : 510px;
deleted... IE will look for the order it is on the page and put it after the menu ie. on the side next to it
padding-top:15px;
}
once you have these you can play around to get the right sizes that work... it's a start...
HTH
mark
#menu {
background : #DDFC4B url(images/menuBG.png) no-repeat;
width: 205px;
float: left;
margin-left : 1.7em;
display:inline;
list-style : none;
font : 10px Arial, Helvetica, sans-serif;
}
* html body #menu {
background : #DDFC4B url(images/menuBG.png) no-repeat;
width: 200px;
deleted
margin-left : 1.7em;
display:inline;
list-style : none;
font : 10px Arial, Helvetica, sans-serif;
}
#main {
background : url(images/textBG.jpg) no-repeat;
width : 513px;
float : right;
padding-top:15px;
}
* html body #main {
background : url(images/textBG.jpg) no-repeat;
width : 510px;
deleted... IE will look for the order it is on the page and put it after the menu ie. on the side next to it
padding-top:15px;
}
once you have these you can play around to get the right sizes that work... it's a start...
HTH
mark
Re: A new gallery manager : Album
Hey Mark,
Thanks for trying to help but it doesn't seem to be working. I've played around with the widths and It's not getting any better. Is there anything else I need to adjust.
Sammy
Thanks for trying to help but it doesn't seem to be working. I've played around with the widths and It's not getting any better. Is there anything else I need to adjust.
Sammy