A new gallery manager : Album

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: A new gallery manager : Album

Post by Russ »

Thanks Elijah, it all seems to be funky now! I look forward to the other fix. I'll get the templates up, probably later tomorrow - sorry, up to my neck in children this weekend :-)

Russ
plato

Re: A new gallery manager : Album

Post by plato »

Hi, first of all: Great module )

1)  Template helps says:
Picture
If a picture is selected, you can use tag {$picture}. It is automatically set to first picture of album if no picture is selected.
I tried to access this tag, but it does not exist. {get_template_vars} just does not list it.

Within default template, this tag is created by {if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}

2) Is there a convinient solution to differ between galery-mode and image-mode?
I'd like to have a thumb-overview over all images from an album unless i click on thumb.
If thumblink has been clicked, I want to show only the selected picture - and a link back to the galery-page containig the thumb.

Thanks
Plato
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm
Location: North West England

Re: A new gallery manager : Album

Post by Russ »

Elijah, I've spotted a very small problem. If I have two albums and I click on the second and then select edit content, instead of seeing the first picture from the second album (which I see if I selected the first album and edit contents,) I see the second image from the first album? It is OK when you just go to the second album, but when you click edit comment, the image above the FCKeditor that is wrong?

Only small but....
Russ
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 »

plato
you want the thumbs to show on one page and the big picture to show up on a diff. page with no thumbs, all by itself?
correct...

  mark
plato

Re: A new gallery manager : Album

Post by plato »

mark,
yes, thats what I want.
One page with thumbs and pagination, the other with a single image with image-navigation ( first image, prev image, next image, last image ).

Thank you for your fast answer.
plato
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 »

plato wrote: yes, thats what I want.
One page with thumbs and pagination, the other with a single image with image-navigation ( first image, prev image, next image, last image ).
I'm currently working on adding another template that will be installed by default with Album that will do just this. Stay tuned....  ;)
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. :)
plato

Re: A new gallery manager : Album

Post by plato »

Well, thank you Elijah,
I'm looking foward to your work :)

plato
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 »

plato wrote: Hi, first of all: Great module )

1)  Template helps says:
Picture
If a picture is selected, you can use tag {$picture}. It is automatically set to first picture of album if no picture is selected.
I tried to access this tag, but it does not exist. {get_template_vars} just does not list it.

Within default template, this tag is created by {if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
Fixed in latest SVN version of Album (sorry for the terseness, I lost an earlier reply to your post and I don't feel like retyping it all over)
plato wrote: 2) Is there a convinient solution to differ between galery-mode and image-mode?
I'd like to have a thumb-overview over all images from an album unless i click on thumb.
If thumblink has been clicked, I want to show only the selected picture - and a link back to the galery-page containig the thumb.
1. Upgrade to latest SVN version of Album
2. Reinstall Album and use the "separate_thumbnails" template or copy the text in the file attached to this post into a new template and use it instead (you must use the latest SVN version of Album for this template to work:

This template should do what you want.  ;)

[attachment deleted by admin]
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 »

Russ wrote: Elijah, I've spotted a very small problem. If I have two albums and I click on the second and then select edit content, instead of seeing the first picture from the second album (which I see if I selected the first album and edit contents,) I see the second image from the first album? It is OK when you just go to the second album, but when you click edit comment, the image above the FCKeditor that is wrong?
Thanks for spotting this bug.  ;)
Fixed in SVN version of Album revision 31.  :)
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
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: A new gallery manager : Album

Post by Gregor »

Hi,

After a strucle with Singapore, I decided to move to album. It realy looks great! One (small) problem, I created one album with 18 pictures and placed the tag (without the option 'albums') in a content page. All 18 thumbnails are showing next to each other and becomming much wider than the screen. I'm using firefox as a browser, however the same happens with IE. I also noticed that in Firefox the images are shown on the 'correct' place and in IE they are shown under the menu. I installed the album-version (0.4.0) from the development area, not the svn-area.

http://www.uisge-beatha.eu/index.php?page=fotoalbum

Any suggestions?

Thanks,
Gregor
User avatar
petert
Power Poster
Power Poster
Posts: 282
Joined: Wed Feb 09, 2005 9:30 pm
Location: behind my desk

Re: A new gallery manager : Album

Post by petert »

Hi,

I installed the latest stable version of cmsms and the Album module. It seems to work but when I want to add a picture of get a overview of pictures the screen is blank. It doesn't seem to work for me. I can change the comment of an album but I cannot do anything with pictures.

Is this a known problem or am I doing something wrong?

(php 5 cmsms stable 0.13, I even tried the latest cmsms svn version)

This is the html-code that is generated in the adminpage  (it stops suddenly)

Code: Select all

<snip>
</div>
<div class="pagecontainer"><div class="pageoverflow"><p class="pageheader">Photo Albums <a href="http://wiki.cmsmadesimple.org/index.php/User_Handbook/Admin_Panel/Content/Album" target="_blank"><img src="themes/default/images/icons/system/info.gif" class="systemicon" alt="Help" title="Help" /></a></p></div>
SOLVED
Turns out that a few languagestrings are not defined (around line 156 in lib.browsepictures.php):

Code: Select all

 $this->smarty->assign_by_ref('titlename', $this->Lang('name'));
 $this->smarty->assign_by_ref('titlehasthumb', $this->Lang('hasthumb'));
 $this->smarty->assign_by_ref('titleview', $this->Lang('view'));
if I comment out that block then it all starts working again.
Last edited by petert on Sun May 28, 2006 9:38 am, edited 1 time in total.
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!

CMSMS rules!
plato

Re: A new gallery manager : Album

Post by plato »

Gregor wrote: Hi,

After a strucle with Singapore, I decided to move to album. It realy looks great! One (small) problem, I created one album with 18 pictures and placed the tag (without the option 'albums') in a content page. All 18 thumbnails are showing next to each other and becomming much wider than the screen. I'm using firefox as a browser, however the same happens with IE. I also noticed that in Firefox the images are shown on the 'correct' place and in IE they are shown under the menu. I installed the album-version (0.4.0) from the development area, not the svn-area.

http://www.uisge-beatha.eu/index.php?page=fotoalbum

Any suggestions?

Thanks,
Gregor
Enter your admin-area and choose your album. switch to properties and enter values for "Column number" and
"Row number"
plato

Re: A new gallery manager : Album

Post by plato »

Maybe a little bug:
I checked out 0.4.1-svn.
These picuterid-var is what I needed to differ between thumb and imageview, thanks elijah.
But it seems, that thumb pagination is broken.
I cant browse to page2 and following.

plato
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 »

plato wrote: Maybe a little bug:
I checked out 0.4.1-svn.
But it seems, that thumb pagination is broken.
I cant browse to page2 and following.
Whoop, fix one bug, create another.  :) I'll try fixing this today hopefully when I get back from church.

Later,

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
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: A new gallery manager : Album

Post by Gregor »

@plato: thanks for the suggestion, unfortunately this does not solve the problem. FYI, I entered for both values a 1

BTW, I'm using the latest stable version of CMSMS.

Thnks,
G
Post Reply

Return to “Modules/Add-Ons”