Which album template use

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"
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Which album template use

Post by Russ »

Using the above eample you could use more comments fields if required. The only problem i can see is you may have to adjust your CSS so you can get it all to fit nicely. Let me know how you get on.

Russ
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

Re: Which album template use

Post by Tracy »

thanks, I will try that. :-*
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

Re: Which album template use

Post by Tracy »

Thankyou Russ; I added your bit of code and got the text under the images. A bit of playing with it and I think he will be happy. I am not too happy with the different height images like you mentioned but will need to discuss that with him and play with it some more. I certainly  appreciate all your help. Without you I most likely would give up  ;D
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Which album template use

Post by Russ »

No problem Tracy, glad you have something working. If you change the following CSS for album

.thumb
{
width:240px;

.thumb a
{
            height:130px;

it all lines up nicely, now just to keep the images (thumbnails the same size) basically decide in advance what they are going to be and then get the photographer to create them in photoshop using a centering technique. e.g. it is not necessary to show the whole of the image on the thumbnail, just center up the important area.
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

Re: Which album template use

Post by Tracy »

Thankyou so much Russ;
I think I am going to leave the width where I had it for now until I see how many images he will display. The text within the enlarged image and that under each thumbnail, I will play with more when I hear from him, but thanks again. I appreciate it.

BUT;
Now what or where do add to the "separate thumbnails" template to get the same comment fields under the thumbs?
Last edited by Tracy on Thu Oct 09, 2008 3:20 pm, edited 1 time in total.
Tracy
Forum Members
Forum Members
Posts: 134
Joined: Sat Oct 20, 2007 4:52 pm

Re: Which album template use

Post by Tracy »

Hey Russ, can you help me to get the text fields with the separate thumbnails template now? :-[
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Which album template use

Post by Russ »

Although I cannot say I like the template, something like this... watch your spacing/line breaks as I've re-jigged it for clarity
Replace the relevant code in the template with this. Changes in bold, allows for all three comments fields.

{foreach from=$pictures item=picturesrow}
 
{foreach from=$picturesrow item=onepicture}
   
             link}">
                     thumbnail}"
                     alt="{$onepicture->thumbnail}" />
                    {eval var=$onepicture->comment|strip_tags:false}
                    {eval var=$onepicture->comment2|strip_tags:false}
                    {eval var=$onepicture->comment3|strip_tags:false}

   
    {if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
{/foreach}
   
{/foreach}
Post Reply

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