Page 9 of 21
Re: A new gallery manager : Album
Posted: Sun May 28, 2006 7:29 pm
by Elijah Lofgren
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?
1. In the Admin Panel go to "Content -> Photo Albums".
2. Click on the name of your Album, in this case "Koop" or "Zeilen met Rob".
3. Click on the "Properties" tab.
4. Change "Column number:" to something like 5 (for max five columns of thumbnails)
5. Put "Row number" to 0 (unlimited) or something like 5 if you want there to be only a certain number of rows of thumbnails.
I have updated the labels of these fields in the SVN version of Album and made "5" be the default max number of thumbnail columns so people shouldn't run into this problem anymore.
As, for the IE problem, I'm not sure what to do. I'm on Linux and I only use IE6 under wine for testing. I think the problem will disappear once you change the number of columns to 5.
Re: A new gallery manager : Album
Posted: Sun May 28, 2006 7:38 pm
by Mesmer
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
What Elijah Lofgren said + change the size of your original photo's to 400x300 (is a standard size) and i think 425x300 also should work in the template you're using. This will solve your IE problem ( I hope..). You could use a program like
FastStone Photo Resizer to batch convert your photo's.
Re: A new gallery manager : Album
Posted: Sun May 28, 2006 8:05 pm
by Gregor
Hi Guys,
@Elijah Lofgren: Sometime the solution is so simple

I changed the column parameter, and now it works fine. Even in IE. What is the meaning of the rows and columns parameters in the opening screen of Photo album?
@Mesmer: For the pictures I'll have a look at the resizer you mentioned.
Re: A new gallery manager : Album
Posted: Sun May 28, 2006 8:13 pm
by Elijah Lofgren
Gregor wrote:
@Elijah Lofgren: Sometime the solution is so simple

I changed the column parameter, and now it works fine. Even in IE. What is the meaning of the rows and columns parameters in the opening screen of Photo album?
That is for setting the default number of columns and rows for newly created albums.
I've updated the description so instead of:
"Default Column number:"
it will be this:
"Default max number of thumbnail columns for new albums (0 means unlimited):"
I think that's make a little more sense.

Re: A new gallery manager : Album
Posted: Sun May 28, 2006 8:56 pm
by Gregor
Thanks for your help! Uploaded the pictures and they are already in the CMS. Great improvement, this Album

I'll wait for the next version instead of getting it from svn

Re: A new gallery manager : Album
Posted: Mon May 29, 2006 6:17 am
by Elijah Lofgren
petert wrote:
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.
Thanks for your fix. I commented out the following lines (I think the first line was fine):
Code: Select all
// Fix bug [#718] missing lang strings cause crash
// $this->smarty->assign_by_ref('titlehasthumb', $this->Lang('hasthumb'));
// $this->smarty->assign_by_ref('titleview', $this->Lang('view'));
Should be fixed now:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
Get the new 0.4.1 version of Album for the fix.
plato wrote:
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.
Should be fixed in 0.4.1:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
The release notes for Album 0.4.1 are here:
http://dev.cmsmadesimple.org/frs/showno ... ase_id=477
It can be downloaded here:
http://dev.cmsmadesimple.org/frs/?group ... ase_id=477
If you find bugs please report them here:
http://dev.cmsmadesimple.org/tracker/?a ... unc=browse
Enjoy

Re: A new gallery manager : Album
Posted: Mon May 29, 2006 3:53 pm
by dcross
I would like a modification to the "open in new page" option. I want the clicked image to popup, but to only show the image itself with the title and comment etc. but without the menu and the rest of my site.
Re: A new gallery manager : Album
Posted: Mon May 29, 2006 5:58 pm
by Russ
Elijah, maybe another small bug?
When editing the comment for an album, it shows the text of the first picture in that album comment - not the comment for the album? It saves OK but seems to be loading the wrong one?
Russ
Re: A new gallery manager : Album
Posted: Tue May 30, 2006 4:29 am
by Elijah Lofgren
dcross wrote:
I would like a modification to the "open in new page" option. I want the clicked image to popup, but to only show the image itself with the title and comment etc. but without the menu and the rest of my site.
I don't know of any "open in new page" option in Album. Perhaps you are confusing the Album module with the built-in ImageGallery tag?
Re: A new gallery manager : Album
Posted: Tue May 30, 2006 5:11 am
by Russ
Having re-reading my post, probably a bad explanation Elijah
Elijah, maybe another small bug?
1. Click on an Album
2. Click on Edit comment for the Album
3. The text that loads into the editor is the comment text from the first photo of the album - not the one which was showing as the album comment in the previous screen, nor the one that you save down. It seems to be picking up the wrong field for display but saving to the right place?
Sorry if my previous explanation was not very clear, I hope it is now?
Russ
Re: A new gallery manager : Album
Posted: Tue May 30, 2006 7:52 am
by URAN
Great work!
I`ve got Russian lang file for last (0.4.1) version (translated except admin help text). Can send it to developer.
Re: A new gallery manager : Album
Posted: Tue May 30, 2006 9:39 am
by dcross
Elijah Lofgren wrote:
dcross wrote:
I would like a modification to the "open in new page" option. I want the clicked image to popup, but to only show the image itself with the title and comment etc. but without the menu and the rest of my site.
I don't know of any "open in new page" option in Album. Perhaps you are confusing the Album module with the built-in ImageGallery tag?
Edit the template to add target="blank" to the clicked thumbnail - but this alone is not sufficient.
Re: A new gallery manager : Album
Posted: Tue May 30, 2006 2:11 pm
by Elijah Lofgren
URAN wrote:
Great work!
I`ve got Russian lang file for last (0.4.1) version (translated except admin help text). Can send it to developer.
Thanks, I need all the help in translation that I can get as I only know English. I think Dam speaks French, so between us we have 2 languages. With you that makes 3.
You could either attach it to a post in the forums or upload it to the Album patch tracker here:
http://dev.cmsmadesimple.org/tracker/?a ... unc=browse
dcross wrote:
Elijah Lofgren wrote:
dcross wrote:
I would like a modification to the "open in new page" option. I want the clicked image to popup, but to only show the image itself with the title and comment etc. but without the menu and the rest of my site.
I don't know of any "open in new page" option in Album. Perhaps you are confusing the Album module with the built-in ImageGallery tag?
Edit the template to add target="blank" to the clicked thumbnail - but this alone is not sufficient.
Ah, I see what you mean. I've filed this as a feature request and I'll hopefully get around to adding this someday:
http://dev.cmsmadesimple.org/tracker/in ... 7&atid=728
Russ wrote:
Having re-reading my post, probably a bad explanation Elijah
Elijah, maybe another small bug?
1. Click on an Album
2. Click on Edit comment for the Album
3. The text that loads into the editor is the comment text from the first photo of the album - not the one which was showing as the album comment in the previous screen, nor the one that you save down. It seems to be picking up the wrong field for display but saving to the right place?
Thanks for helping make Album better by reporting bugs!

Fixed in the latest Album SVN:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev
Re: A new gallery manager : Album
Posted: Tue May 30, 2006 2:32 pm
by Gregor
@Elijah Lofgren: Here is the Duth translation. Did not translate the help info, just the tags.
[attachment deleted by admin]
Re: A new gallery manager : Album
Posted: Tue May 30, 2006 2:56 pm
by Elijah Lofgren
Gregor wrote:
@Elijah Lofgren: Here is the Duth translation. Did not translate the help info, just the tags.
Thanks Gregor! It's now in the Album SVN:
http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev