A new gallery manager : Album

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post 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)
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. :)
MichaelK

Re: A new gallery manager : Album

Post by MichaelK »

All the albums ;D
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post 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
Russ wrote: Thickbox 2 with Previous and Next Links

Here is a new ThickBox2 template to use with Album and some revised
CSS (it works with this template and the normal Tickbox template.) It
works the same as Thickbox but now has 'next' and 'previous' links on
the actual image for gallery navigation.
(Please note that I've not included the javascript links in the
template as it make more sense to load this at page or site level.)

Download template and revised CSS:
http://www.cms.shoesforindustry.net/cmsmodules/album/

See it in action
http://www.cms.shoesforindustry.net/cmsmodules/album/album-5/80/

Enjoy
Russ

P.S. See also:
http://forum.cmsmadesimple.org/index.php/topic,6340.msg34343.html#msg34343
WOW THANKS RUSS!!!  :D
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
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. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post 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. :)
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. :)
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Re: A new gallery manager : Album

Post by Greg »

Fantastic work Elijah ...
Last edited by Greg on Sat Dec 16, 2006 11:15 pm, edited 1 time in total.
Greg
MichaelK

Re: A new gallery manager : Album

Post by MichaelK »

Thanks thanks thanks Elijah :)

When do you think there would be a new release of this module?  :P
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post by Elijah Lofgren »

MichaelK wrote: Thanks thanks thanks Elijah :)

When do you think there would be a new release of this module?  :P
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. ;)
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. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: A new gallery manager : Album

Post 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>
Last edited by Anonymous on Wed Jan 03, 2007 6:47 am, edited 1 time in total.
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post 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?  :P
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.)
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. :)
MichaelK

Re: A new gallery manager : Album

Post 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 :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post 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
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. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post 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
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. :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: A new gallery manager : Album

Post by Dr.CSS »

Elijah
Any chance you could tell me why the CSS template I post above doesn't work?... thanks...
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post 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.
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. :)
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: A new gallery manager : Album

Post by Elijah Lofgren »

Elijah Lofgren wrote:
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.
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> 
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. :)
Post Reply

Return to “Modules/Add-Ons”