Album Module

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Partana

Re: Album Module

Post 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.
Last edited by Partana on Mon Dec 25, 2006 3:54 pm, 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: Album Module

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

Re: Album Module

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

Re: Album Module

Post 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/
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. :)
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

Re: Album Module

Post 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
Jon Rouston

Re: Album Module

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

Re: Album Module

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

Re: Album Module

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

Re: Album Module

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

Re: Album Module

Post by Jon Rouston »

Sorted it! Fantastic! Thanks very much!
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

Re: Album Module

Post 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
Last edited by rtkd on Thu Jan 04, 2007 3:48 pm, 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: Album Module

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

Return to “Layout and Design (CSS & HTML)”