Page 17 of 21
Re: A new gallery manager : Album
Posted: Fri Dec 15, 2006 6:42 pm
by Elijah Lofgren
MichaelK wrote:
Is there any way to show the latest four images that you added?
Would you want this to be from all the Albums or just a specific one? (I'll file as a feature request)
Re: A new gallery manager : Album
Posted: Sat Dec 16, 2006 2:42 pm
by MichaelK
All the albums

Re: A new gallery manager : Album
Posted: Sat Dec 16, 2006 8:33 pm
by Elijah Lofgren
Greg wrote:
Elijah is there a way to 'Upgrade' the Templates from one version to the next?
I just upgraded from 0.5.0-svn to 0.5.0 (which added 'Pats-ImageGallery" template).
The version changes on the 'Modules' page but the new templates don't show up on the 'Templates' page on the Photo Album management screens. They show up if I do an 'uninstall' 'install' of the module but then I have to rebuild all the albums.
BTW Great job on this Module!!
I've just added this feature in the latest SVN version of Album:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
It will be included in the next release of Album
WOW THANKS RUSS!!!

Your Thickbox2 template ROCKS!
I've add the ThickBoxWithPrev-Next template:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
I've also made it the default template for the next version of Album:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
Sorry it took so long for me to add it.
Glad to have time on his break for CMSMS,
Elijah
Re: A new gallery manager : Album
Posted: Sat Dec 16, 2006 9:33 pm
by Elijah Lofgren
MichaelK wrote:
Is there any way to show the latest four images that you added?
Done:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
Will be in next version of Album.

Re: A new gallery manager : Album
Posted: Sat Dec 16, 2006 11:09 pm
by Greg
Fantastic work Elijah ...
Re: A new gallery manager : Album
Posted: Sun Dec 17, 2006 9:55 pm
by MichaelK
Thanks thanks thanks Elijah
When do you think there would be a new release of this module?

Re: A new gallery manager : Album
Posted: Sun Dec 17, 2006 10:30 pm
by Elijah Lofgren
MichaelK wrote:
Thanks thanks thanks Elijah
When do you think there would be a new release of this module?
I really hope to add categories (a much requested feature) and then do a new release before Friday (when I leave on a trip to visit Grandparents). We'll see though. No guarantees.

Re: A new gallery manager : Album
Posted: Thu Dec 21, 2006 7:54 pm
by Dr.CSS
Seems like the newest Album doesn't like my new template that an older ver. likes just fine, any one have any idea why...
It works here...
http://www.multiintech.com/Templates/in ... wnews.html
But not here...[EDIT: bad link don't try sorry...]
http://multiintech.com/CMSMSDemo/index.php/album.html
Code: Select all
{if $albumcount>0}
<table>
{foreach from=$albums item=album}
<tr>
<td> <a href="{$album->link}"> <img src="{$album->thumbnail}" /> </a> </td>
<td style="width:500px;text-align:left">
{$album->name}<br />
{$album->comment}
</td>
</tr>
{/foreach}
</table>
{else}
<div id="cssphoto">
<hr />
<p>{if $returnlink}<a href="{$returnlink}" >Return to Normal :.</a>{/if} </p>
{foreach from=$pictures item=picturesrow}
<h3>{$album->name}</h3>
{$album->comment}
<ul id="gallery">
{foreach from=$picturesrow item=onepicture}
<li>
<a href="{$onepicture->link}"> <img src="{$onepicture->picture}" alt="{$picture->name}" /> </a>
</li>
{/foreach}
</ul>
{/foreach}<hr /><br />
{if $picturecount==0}No image{/if}
{/if}
{if $picture->id>0}
<img src="{$picture->picture}" alt="{$picture->name}"/>
<h3>{$picture->name}</h3>
<div>{$picture->comment} </div>
{/if}</div>
Re: A new gallery manager : Album
Posted: Fri Dec 22, 2006 6:59 am
by Elijah Lofgren
Elijah Lofgren wrote:
MichaelK wrote:
Thanks thanks thanks Elijah
When do you think there would be a new release of this module?
I really hope to add categories (a much requested feature) and then do a new release before Friday (when I leave on a trip to visit Grandparents). We'll see though. No guarantees.
I didn't get around to adding categories to Album. Also, I think Album 0.8.0 needs more testing before I formally release it. If you'd like to try it out, you can download the XML file here:
http://www.elijahlofgren.com/uploads/mo ... -0.8.0.xml
Please file any bugs you find here:
http://dev.cmsmadesimple.org/tracker/?a ... unc=browse
Thanks,
Elijah
(I'll hopefully be able to respond on Wednesday after I get back from visiting relatives.)
Re: A new gallery manager : Album
Posted: Sat Dec 23, 2006 1:23 pm
by MichaelK
Hi There,
I test this 0.8.0 module with the latest added pictures, but can I use a template for this so I can manually edit the thumb size? And now it's shows the latest pictures in Thinkbox template.
Is it possible to just view the latest pictures and add a link to it to the page where all the albums are?
Thanks

Re: A new gallery manager : Album
Posted: Wed Dec 27, 2006 3:46 am
by Elijah Lofgren
MichaelK wrote:
I test this 0.8.0 module with the latest added pictures, but can I use a template for this so I can manually edit the thumb size? And now it's shows the latest pictures in Thinkbox template.
You can edit the "recently_updated.tpl" file in the "modules/Album/templates" folder. I should put that template into the database like the other Album templates are so that it is easier to edit.
MichaelK wrote:
Is it possible to just view the latest pictures and add a link to it to the page where all the albums are?
I'll try to add something like this.
Feature request filed to remind myself.:
http://dev.cmsmadesimple.org/tracker/in ... 7&atid=728
Re: A new gallery manager : Album
Posted: Tue Jan 02, 2007 9:18 pm
by Elijah Lofgren
MichaelK wrote:
Hi There,
I test this 0.8.0 module with the latest added pictures, but can I use a template for this so I can manually edit the thumb size? And now it's shows the latest pictures in Thinkbox template.
Is it possible to just view the latest pictures and add a link to it to the page where all the albums are?
Thanks
I've made the recently_updated template editable via the Admin Panel:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
You could maybe change it to something like this:
Code: Select all
<ul class="picturelist">
{foreach from=$pictures item=onepicture}
<li><img src="{$onepicture->thumbnail}" alt="{$onepicture->name}" title="{$onepicture->name}"{$onepicture->autothumbnailsize} />
</li>
{/foreach}
</ul>
<a href="/page-with-all-albums/">View All Albums</a>
<div style="clear:both"></div>
I hope to release Album 0.8.2 (I skipped 0.8.0 and 0.8.1) with this feature today,
Elijah
Re: A new gallery manager : Album
Posted: Wed Jan 03, 2007 6:18 am
by Dr.CSS
Elijah
Any chance you could tell me why the CSS template I post above doesn't work?... thanks...
Re: A new gallery manager : Album
Posted: Wed Jan 03, 2007 6:38 am
by Elijah Lofgren
mark wrote:
Elijah
Any chance you could tell me why the CSS template I post above doesn't work?... thanks...
You mean how the Album template posted here:
http://forum.cmsmadesimple.org/index.ph ... l#msg45669 only displays 1 pic?
http://multiintech.com/CMSMSDemo/index.php/album.html is a 404 now.
Re: A new gallery manager : Album
Posted: Wed Jan 03, 2007 6:51 am
by Elijah Lofgren
I don't know why the other template isn't working, but this seems to do what you want:
Code: Select all
{if $pictureid !=0}
{* Big Picture *}
<div style="text-align:center">
<p class="bigpicturecaption"><strong>{$picture->name}</strong><br />
{$picture->comment}<br />
<span class="bigpicturenav">
{if $link.picture.previous}<a href="{$link.picture.previous}" title="Previous picture">< Previous</a>{/if}
<span class= "albumpicturecount">( Picture {$picturenumber}/{$picturecount} )</span>
{if $link.picture.next}<a href="{$link.picture.next}" title="Next picture">Next ></a></span>{/if}
</p>
<img src="{$picture->picture}" alt="{$picture->name} - {$picture->comment}" title="{$picture->name} - {$picture->comment}" />
</div>
{/if}
{* Album List *}
{if !$album}
<ul class="albumlist">
{foreach from=$albums item=album}
<li class="thumb">
<a href="{$album->link}">
<img src="{$album->thumbnail}" alt="{$album->name}" title="{$album->name} - {$album->comment}"{$album->autothumbnailsize} /></a>
<p class="albumname">{$album->name}<br />
<span class="albumpicturecount">({$album->picturecount} images)</span><br />
<span class="albumcomment">{$album->comment}</span></p>
</li>
{/foreach}
</ul>
{else}
{* Photo List *}
<p><strong>{$album->name}</strong><br />
{$album->comment}<br />
{if $returnlink}<a href="{$returnlink}">Return to the album index page</a>{/if}</p>
{if $pagecount>1}
<p class="albumnav">
<a href="{$link.page.first}" title="first page"><< </a>
{if $link.page.previous}<a href="{$link.page.previous}" title="previous page">< </a>{/if}
page {$pagenumber}/{$pagecount}
{if $link.page.next}<a href="{$link.page.next}" title="next page"> ></a>{/if}
<a href="{$link.page.last}" title="last page"> >></a>
</p>
{/if}
<ul id="gallery">
{foreach from=$pictures item=picturesrow}
{foreach from=$picturesrow item=onepicture}
<li><a href="{$onepicture->link}"> <img src="{$onepicture->picture}" alt="{$onepicture->name|escape:'html'}" \></a>
</li>
{if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
{/foreach}
{/foreach}
</ul>
{if $picturecount==0}No image{/if}
{/if}
{if $picture->id>0}
{/if}
<div style="clear:both"></div>