Page 3 of 3

Re: Album Module

Posted: Sun Dec 24, 2006 5:58 pm
by Partana
Thanks Mark,

It did help for IE7, but not for Ff. Work now, found somthing on google..

For the lightbox thing: the next and prev labels aren't showing on mouseover
#prevLink, #nextLink{
width: 49%;
height: 100%;
background: transparent url(modules/Album/images/blank.gif) no-repeat; /* Trick IE into showing hover */
display: block;
}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(modules/Album/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(modules/Album/images/nextlabel.gif) right 15% no-repeat; }
I've checked the paths for the gifs, they are correct...

and another thing...now all of a sudden all the thumbnails of one album are showing on the page.
I only want one thumbnail per album i have.

Re: Album Module

Posted: Tue Jan 02, 2007 9:32 pm
by Elijah Lofgren
I plan to release a new version of Album today that comes with a lightbox template. I've tested in both Firefox 2 and IE 6 (I don't have IE 7 test test with) and it works well (including the next and previous image links).

You may want to give it a try.

Elijah

Re: Album Module

Posted: Wed Jan 03, 2007 3:31 pm
by Jon Rouston
Hello!

I installed the new version of album today and am much liking the light box, however, it seems to have made my thumbnails go a bit mad, like this: http://www.jonrouston.co.uk/index.php?page=galleries and this: http://www.jonrouston.co.uk/index.php?m ... eturnid=56

The second screenshot would be absolutely how I want the thumbnails to show (in same sized boxes, maybe with rollover but that's not essential) but obviously, I'd like the portrait ones to go in the boxes. Is there a way of doing this?

I attached the new CSS to the page template : Album Template Stylesheet and removed Album(for thickbox etc.) style sheet. Was this the right thing to do?

Cheers for any help
Jon

Re: Album Module

Posted: Wed Jan 03, 2007 4:42 pm
by Elijah Lofgren
Jon Rouston wrote: Hello!

I installed the new version of album today and am much liking the light box, however, it seems to have made my thumbnails go a bit mad, like this: http://www.jonrouston.co.uk/index.php?page=galleries and this: http://www.jonrouston.co.uk/index.php?m ... eturnid=56

The second screenshot would be absolutely how I want the thumbnails to show (in same sized boxes, maybe with rollover but that's not essential) but obviously, I'd like the portrait ones to go in the boxes. Is there a way of doing this?

I attached the new CSS to the page template : Album Template Stylesheet and removed Album(for thickbox etc.) style sheet. Was this the right thing to do?

Cheers for any help
Jon
In this version of Album I added a {$onepicture->autothumbnailsize} template variable that automatically outputs the correct width and height for the thumbnails to fit in the boxes.

Open your Album template and find the part with the img tag.
Something like this:

Code: Select all

<img src="{$onepicture->thumbnail}" />
Add in "{$onepicture->autothumbnailsize}" so it looks something like this:

Code: Select all

<img src="{$onepicture->thumbnail}" {$onepicture->autothumbnailsize} />
Hope this helps,

Elijah

Edit: See it working here: http://www.elijahlofgren.com/pictures/parks/

Re: Album Module

Posted: Wed Jan 03, 2007 4:53 pm
by rtkd
getting nicer every time :)
is there any news as to when u r going to add categories?
wish i could kick in but my skills r unsufficient...

greets and happy new year!!! rtkd

Re: Album Module

Posted: Wed Jan 03, 2007 4:54 pm
by Jon Rouston
That sounds great, but could you just nudge me a bit closer to what you mean by Album Template? It's not the stylesheet as that doesn't contain any $'s, is it a PHP file somewhere?

Excuse my stupidity

Re: Album Module

Posted: Wed Jan 03, 2007 5:15 pm
by Elijah Lofgren
rtkd wrote: getting nicer every time :)
is there any news as to when u r going to add categories?
wish i could kick in but my skills r unsufficient...

greets and happy new year!!! rtkd
Glad you like it. :)

Sadly, Categories will probably not be added for quite a while (hopefully maybe this summer). I leave on Sunday to go back to college, and I plan to work on CMSMS 2.0 Dojo integration until them.

Jon Rouston wrote: That sounds great, but could you just nudge me a bit closer to what you mean by Album Template? It's not the stylesheet as that doesn't contain any $'s, is it a PHP file somewhere?

Excuse my stupidity
No problem, software is complicated these days. ;)
Here's how to find your template:
1. Go to Content » Photo Albums
2. Click on the "Installed Templates" tab.
3. Click on the name of the template you are using.

Hope this helps,

Elijah

Re: Album Module

Posted: Wed Jan 03, 2007 5:40 pm
by Jon Rouston
Superb! Thankyou! I'd never noticed that tab there before!

One last thing, any idea why my album index page also has the thumbnail frame thingies for the album names? Like this:
http://www.jonrouston.co.uk/index.php?page=galleries

Sorry, two last things, what's going on here? With the big pics?
http://www.jonrouston.co.uk/index.php?page=galleries

Re: Album Module

Posted: Wed Jan 03, 2007 9:11 pm
by Elijah Lofgren
Jon Rouston wrote: Superb! Thankyou! I'd never noticed that tab there before!

One last thing, any idea why my album index page also has the thumbnail frame thingies for the album names? Like this:
http://www.jonrouston.co.uk/index.php?page=galleries
I think the problem is that it is turning all the "a" (link) tags into boxes.
So try changing adding this bit of CSS to your Album stylesheet:

Code: Select all

.albumname a
{
	display: inline;
        border: none;
        margin:none;
        padding:none;
        background-color:transparent;
}
I've made the Album name be linked by default in the SVN version of Album: http://viewsvn.cmsmadesimple.org/viewsv ... m&view=rev

Hope this helps,

Elijah

Re: Album Module

Posted: Thu Jan 04, 2007 8:13 am
by Jon Rouston
Sorted it! Fantastic! Thanks very much!

Re: Album Module

Posted: Thu Jan 04, 2007 9:33 am
by rtkd
// EDIT

assigned.
thank you!

//

ok,

is there anyone i could pay to implement categories?
pls contact me via pm or email.

thx, rtkd

Re: Album Module

Posted: Fri Jan 05, 2007 6:31 am
by Elijah Lofgren
rtkd wrote: getting nicer every time :)
is there any news as to when u r going to add categories?
wish i could kick in but my skills r unsufficient...

greets and happy new year!!! rtkd
Categories have been added in the latest SVN.  :)
You can download an XML to try it out here: http://www.elijahlofgren.com/uploads/mo ... 0-svn0.xml

Let me know if you find anything that needs changing,

Elijah