A new gallery manager : Album
Re: A new gallery manager : Album
If you go to the first link... it uses the album template I posted in Album but if I try to put it in a newer Album, newer than 0.2.0 it won't work...
thanks...
[EDIT: I'll try that] thanks... again...
Thanks it works now... I have to put it in it's own div as #main has calls for ul li margins...
Here's the CSS for it...
#gallery {
padding:0;
margin:0;
list-style-type:none;
overflow:hidden;
width:655px;
height:320px;
boder:1px solid #888;
background:#fff url(windows/win_back.gif);
}
#gallery li {
float:left;
}
#cssphoto{clear:both}
#cssphoto ul#gallery {margin-left:30px}
#cssphoto ul#gallery li {
margin:0px;
}
#gallery li a {
display:block;
height:320px;
width:30px;
float:left;
text-decoration:none;
border-bottom:1px solid #fff;
cursor:default;
}
#gallery li a img {
width:30px;
height:320px;
border:0;
}
#gallery li a:hover {
background:#eee;
width:389px;
}
#gallery li a:hover img {
width:389px;
}
EDIT: again... this works... http://multiintech.com/CMSMSDemo/
thanks...
[EDIT: I'll try that] thanks... again...
Thanks it works now... I have to put it in it's own div as #main has calls for ul li margins...
Here's the CSS for it...
#gallery {
padding:0;
margin:0;
list-style-type:none;
overflow:hidden;
width:655px;
height:320px;
boder:1px solid #888;
background:#fff url(windows/win_back.gif);
}
#gallery li {
float:left;
}
#cssphoto{clear:both}
#cssphoto ul#gallery {margin-left:30px}
#cssphoto ul#gallery li {
margin:0px;
}
#gallery li a {
display:block;
height:320px;
width:30px;
float:left;
text-decoration:none;
border-bottom:1px solid #fff;
cursor:default;
}
#gallery li a img {
width:30px;
height:320px;
border:0;
}
#gallery li a:hover {
background:#eee;
width:389px;
}
#gallery li a:hover img {
width:389px;
}
EDIT: again... this works... http://multiintech.com/CMSMSDemo/
Last edited by Anonymous on Wed Jan 03, 2007 7:14 am, edited 1 time in total.
Re: A new gallery manager : Album
I install this new version but there's no Greybox template in it. 
I just now the lightbox and when I click on a thumbnail it works perfect but I get a javascipt error.
Error:
regel 51
teken: 7
fout: 'wich' is empy or no object
Code: 0

I just now the lightbox and when I click on a thumbnail it works perfect but I get a javascipt error.
Error:
regel 51
teken: 7
fout: 'wich' is empy or no object
Code: 0
Last edited by MichaelK on Wed Jan 03, 2007 1:36 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
The greybox template is called "default.tpl".MichaelK wrote: I install this new version but there's no Greybox template in it.![]()
Just do this:
1. Go to Content » Photo Albums
2. Click on the "File Templates" tab.
3. Click on Import template next to "default.tpl"
4. Change the name to "greybox"
5. Click submit.
6. Change your album to use the newly imported greybox template.

I can't seem to reproduce this problem. I have lightbox here and it works fine in Firefox 2 and IE 6: http://www.elijahlofgren.com/pictures/west-africa/MichaelK wrote: I just now the lightbox and when I click on a thumbnail it works perfect but I get a javascipt error.
Error:
regel 51
teken: 7
fout: 'wich' is empy or no object
Code: 0
Do you have a URL where I could see the error?
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
Hi,
Ijust started with cmsms and wanted an album gallery and after seeing some examples i tried the album module with greybox because it looks amazing, but i seem to have some problems setting up my albums.
I get the link to the album ok, i get the thumbnails, but when I click on one of the thumbnails I can't get my larger picture to show correctly! Its always somewhere down below and when you scroll to the bottom you can see some of it. I've allready searched through the forum and tried several things but nothing seems to help ... I would really appreciate if you could give me some pointers!
Here's my link : http://www.top-spin.be/cmsms/index.php?page=foto-album
Thanx
Ijust started with cmsms and wanted an album gallery and after seeing some examples i tried the album module with greybox because it looks amazing, but i seem to have some problems setting up my albums.
I get the link to the album ok, i get the thumbnails, but when I click on one of the thumbnails I can't get my larger picture to show correctly! Its always somewhere down below and when you scroll to the bottom you can see some of it. I've allready searched through the forum and tried several things but nothing seems to help ... I would really appreciate if you could give me some pointers!
Here's my link : http://www.top-spin.be/cmsms/index.php?page=foto-album
Thanx
Re: A new gallery manager : Album
The stylesheet 'Album Template Stylesheet' needs to be associated with the template you are using for the album.
Goto 'Layout' - 'Stylesheets' then click the CSS icon to the right of the 'Album Template Stylesheet'
Looks like the stylesheet should be associated with the 'Left simple navigation + 1 column' template for your web site.
Find 'Left simple navigation + 1 column' in the dropdown list then click the 'Attach to this template' button.
If you are using other templates with this same stylesheet you will have to select them in the dropdown and 'attach' them as well.
Goto 'Layout' - 'Stylesheets' then click the CSS icon to the right of the 'Album Template Stylesheet'
Looks like the stylesheet should be associated with the 'Left simple navigation + 1 column' template for your web site.
Find 'Left simple navigation + 1 column' in the dropdown list then click the 'Attach to this template' button.
If you are using other templates with this same stylesheet you will have to select them in the dropdown and 'attach' them as well.
Last edited by Greg on Sat Jan 06, 2007 3:03 pm, edited 1 time in total.
Greg
Re: A new gallery manager : Album
Greg,
Thanks for the help. My album looks much better right now!
Thanks for the help. My album looks much better right now!
Re: A new gallery manager : Album
Great module!
One Question:
Is there any posibility to include
Album name in to Title of a page?
PS. sorry for my english.
One Question:
Is there any posibility to include
Album name in to Title of a page?
PS. sorry for my english.
- Elijah Lofgren
- Power Poster
- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
- Location: Deatsville, AL
Re: A new gallery manager : Album
Yes, I plan to add that possibility into the next version of Album (probably will be out sometime in Summer after I get back from college).dignity wrote: Great module!
One Question:
Is there any posibility to include
Album name in to Title of a page?
PS. sorry for my english.
In the meantime....
Using the latest released version of Album...
1. Open modules/Album/classes/module/class.Album.php
2. Find this:
Code: Select all
function GetAlbum ($albumid)
{
$albums = $this->GetAlbums($albumid);
return $albums[0];
}
Code: Select all
/**
* Automatically inserts the Album title
* Code adapted from the News module
*/
function ContentPostRender(&$content)
{
global $gCms;
$config =& $gCms->GetConfig();
// Insert the Album title
$text = ' '.$this->AlbumTitle;
if (function_exists('str_ireplace'))
{
$content = str_ireplace('</title>', $text.'</title>', $content);
}
else
{
$content = eregi_replace('<\/title>', $text.'</title>', $content);
}
}
Code: Select all
$album->name = $row['album_name'];
Code: Select all
$this->AlbumTitle = $album->name;
Hope this helps,
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. 

Re: A new gallery manager : Album
Elijah!
Your guide helps a lot!
but i have made small changes:
after
I added
And second changes i've made to action.default.php
After line
I added
Works like a charm!
check it at
http://www.concertsphoto.com/index.php/gallery/concerts
sorry it is not yet correct multilang.
Your guide helps a lot!
but i have made small changes:
after
Code: Select all
function GetAlbum ($albumid)
{
$albums = $this->GetAlbums($albumid);
return $albums[0];
}
Code: Select all
/**
* Automatically inserts the Album title
* Code adapted from the News module
*/
function ContentPostRender(&$content)
{
if(isset($this->AlbumTitle)){
global $gCms;
$config =& $gCms->GetConfig();
// Insert the Album title
$text = ' : '.$this->AlbumTitle;
if (function_exists('str_ireplace'))
{
$content = str_ireplace('</title>', $text.'</title>', $content);
}
else
{
$content = eregi_replace('<\/title>', $text.'</title>', $content);
}
}
}
After line
Code: Select all
$album = &$albums[$currentalbum];
I added
Code: Select all
$this->AlbumTitle = $album->name;
check it at
http://www.concertsphoto.com/index.php/gallery/concerts
sorry it is not yet correct multilang.
Last edited by dignity on Fri Jan 12, 2007 9:05 am, edited 1 time in total.
Re: A new gallery manager : Album
Hi there!
I really hope you guys could help me with a problem I have:
When I click a thumbnail, the big picture is being displayed above my whole Layout. ( I also tried to attach the Album Template Stylesheet to my Layout-Template, but this doesn't work either). Even by using a standard Layout Template the big Picture is being displayed above. Here's the link to my page: http://vasuuna.va.funpic.de/omg/index.php?page=pix
hope you can help me n' sorry for my very bad English
I really hope you guys could help me with a problem I have:
When I click a thumbnail, the big picture is being displayed above my whole Layout. ( I also tried to attach the Album Template Stylesheet to my Layout-Template, but this doesn't work either). Even by using a standard Layout Template the big Picture is being displayed above. Here's the link to my page: http://vasuuna.va.funpic.de/omg/index.php?page=pix
hope you can help me n' sorry for my very bad English

Re: A new gallery manager : Album
You have no style sheets/CSS attached to this template...
And errors...
http://validator.w3.org/check?verbose=1 ... e%3Ddrinks
And errors...
http://validator.w3.org/check?verbose=1 ... e%3Ddrinks
Re: A new gallery manager : Album
Hi, i am new at CMSMS, everything works perfectly, also album (thanx for the great module!!)
The only problem i have with album is that when i use the upload function in album, he makes a image and a thumb, but when you click on the file (also on my local site) it gives a:
Forbidden
You don't have permission to access /cms/uploads/images/image.jpg
I dont know why it does that, when i use the image uploader inside of CMSMS it works perfectly
......i also checked the file permissions (CHMOD 767) What am i doing wrong??
The only problem i have with album is that when i use the upload function in album, he makes a image and a thumb, but when you click on the file (also on my local site) it gives a:
Forbidden
You don't have permission to access /cms/uploads/images/image.jpg
I dont know why it does that, when i use the image uploader inside of CMSMS it works perfectly

Re: A new gallery manager : Album


Re: A new gallery manager : Album
This is a great gallery, I installed this on my XAMP yesterday. Thanks for that. I'm enjoying the default greybox theme most, really. I'm a bit bummed about the javascript warnings, however. I use Web Developer Extension for Firefox and I see tons of warnings about the javascripts. I might be a bit anal since they are only warnings but none of my other pages that I made with this excellent CMS show any warnings. One of these warnings is even in the CSS and leads to me to believe that certain functionality will not work like "filter"
I had a look at other sites that use the prototype.js for whatever purpose and most of them seem to show similar results (even with the "filter" issue), so this is not a module issue or anything. I just wanted to bring it to attention and say thanks at the same time.
Code: Select all
filter:alpha(opacity=60)