forum.coppermine-gallery.net

Support => cpg1.4 themes/skins/templates => cpg1.4.x Support => Older/other versions => cpg1.4 theme contributions => Topic started by: Hein Traag on January 25, 2006, 02:53:04 pm

Title: Vertical filmstrip in CPG 1.4.x
Post by: Hein Traag on January 25, 2006, 02:53:04 pm
Good morning/afternoon/evening,

i am busy building a new site, this time with the 1.4.3 version of CPG and so far i am amazed at how CPG
has grown (got to love the plugins). There is however one thing i wanted to ask. The old 1.3.x version
had a modicifation ( http://forum.coppermine-gallery.net/index.php?topic=7637.0) to allow the filmpstrip
to be placed verticaly left or right of the picture.

I searched but could not find a topic on the 1.4.3. standalone board regarding this subject. So the question is
how can one edit the code to make the filmpstrip verticaly placed ? Did i search wrong and is there already a
modification for the 1.4.x version or is this a nice challenge for the code minded people on this board :) ?

Thanks and regards,
Hein
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Paver on January 25, 2006, 06:19:21 pm
I would guess you can use the theme upgrade documentation (in the docs) to convert the 1.3 theme to 1.4.  And this thread seems to indicate that at least one person has done this:
http://forum.coppermine-gallery.net/index.php?topic=25695.0 (http://forum.coppermine-gallery.net/index.php?topic=25695.0)

I don't think this has plugin relevance unless something cannot be done in theme.php.
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: HarryS on January 27, 2006, 10:32:12 pm
Hi,
I have upgraded this theme to a 1.4-theme. I did some more changes but essential things are in theme.php. Can I put this file somewhere so that other people can use it?
Our site is: http://tref.cals.nl/fotoweb/
It is still an unofficial and "secret" site, and most of the pictures are a bit out of date.
We are testing the system (content and organisation) and we are discussing the use of pictures for students, parents, teachers, visitors, ......
Bye, Harry
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Paver on January 27, 2006, 11:37:46 pm
@HarryS: Yes, please zip it up and attach it to this thread.  Use "additional options" to attach the ZIP file to your posting.
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: HarryS on January 27, 2006, 11:59:04 pm
OK. The attached zip contains theme.php for a vertical filmstrip. Removed some other things I did. I hope this is all what is needed. Please tell what you do with it.
Bye, Harry
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Paver on January 28, 2006, 01:37:56 am
@HarryS: Thanks for your contribution.  I edited your file slightly to make it into a classic-based theme, like the original 1.3 version was.  I also centered the filmstrip vertically; my intermediate images were a little bigger than yours and it looked weird to have the filmstrip at the top of the table.

If you have time, please give it a whirl to make sure it seems OK to you.  You can unzip this file into your themes folder and it will put the files into a folder called "classic_filmstrip_vert", so you don't have to touch your current theme.  Then select this theme and see if it makes sense to you, or if you have any further modifications you want make.  The idea is to have a simple vertical filmstrip theme like the classic theme; others can use it to modify their custom one if desired.
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Joachim Müller on January 28, 2006, 03:24:38 am
Demo (http://coppermine-gallery.net/demo/cpg14x/index.php?theme=classic_filmstrip_vert) - Download (http://prdownloads.sourceforge.net/coppermine/cpg1.4.x_theme_classic_filmstrip_vert.zip?download)
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: HarryS on January 28, 2006, 09:42:32 am
Hello Paver and GauGau,

I have looked at the theme. You are right about your changes. Now it is like the original one.
For our situation I like the changes you have seen on my site. But you are right, that is my customization.

The one you published is good. Others can use it or modify it.

Thanks, I feel good about this,
Harry
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Paver on January 28, 2006, 06:45:55 pm
@HarryS: Thanks again for contributing.  It's so much easier to tweak something where someone else has done nearly all of the work!
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Kugelblitz on January 30, 2006, 06:36:48 pm
in the Config I switched

Display file name below the thumbnail = Yes

and

Display file name under film strip thumbnail = Yes

but the Filename does not appear in that theme.
how can this be fixed?

Would be Great to have the Titel instead of the Filename.

Thanks.
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Kugelblitz on January 30, 2006, 06:39:54 pm
and how can I get the film stripe on the right side of the image?
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: HarryS on January 30, 2006, 09:25:25 pm
I do get the titles below the thumbnails on the thumbnail-pages.

I don't know how to get titles or filenames in, right or left of the filmstrip-thumbnails.

Filmstrip at the right? I just worked on it, but could not do it right. Maybe later this week I try again. For me this is not an important issue. Personally I am just happy to have a vertical filmstrip.

Sorry,
Harry
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Hein Traag on January 31, 2006, 06:33:33 pm
Harry,

thanks for the work! I'll get to it and see of i can implement it into in my site.

You are all thanked :)
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Kugelblitz on February 26, 2006, 11:58:14 pm
in the Config I switched

Display file name below the thumbnail = Yes

and

Display file name under film strip thumbnail = Yes

but the Filename does not appear in that theme.
how can this be fixed?

Would be Great to have the Titel instead of the Filename.

Thanks.

Problem Still exist.
http://groups.kisd.de/sydney_06/swaptv/displayimage.php?album=lastup&cat=0&pos=0 (http://groups.kisd.de/sydney_06/swaptv/displayimage.php?album=lastup&cat=0&pos=0)
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: HarryS on February 27, 2006, 09:54:46 pm
Maybe this will help.
In theme.php of the classic_filmstrip_vert-theme look for:

function theme_display_film_strip(&$thumb_list, $nbThumb, $album_name, $aid, $cat, $pos, $sort_options, $mode = 'thumb')
{
   ..........
    $i = 0;
    $thumb_strip = '';
    foreach($thumb_list as $thumb) {
        $i++;
        if ($mode == 'thumb') {
            $params = array('{CELL_WIDTH}' => $cell_width,
                '{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&pos={$thumb['pos']}",
                '{THUMB}' => $thumb['image'],
                '{CAPTION}' => ' ',
                '{ADMIN_MENU}' => ''
                );
        } else {
      ........
    return $film_strip;
}

You need to change '{CAPTION}' =>' ',
This should be '{CAPTION}' => $thumb['caption'],

The rest is up to you.

Bye, Harry
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Kugelblitz on March 03, 2006, 02:43:58 pm
Thanks HarryS that helped alot!  ;D
But now I see the Filename under the Thumbnails.
So how can I change it to the Title instead of the Filename?
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Paver on March 03, 2006, 07:19:42 pm
Have you checked your "Thumbnail View" settings on your config. panel?
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: HarryS on March 05, 2006, 01:41:28 pm
The config-option about filename and/or title of thumbnail is about the tuimbnailview. It is not about the filmstrip.
A plugin is published for thumbnail-title instead of filename in the filmstrip. I did not use it, but maybe it helps:
http://forum.coppermine-gallery.net/index.php?topic=25076.0

For installing plugins read the How to install plugins - FAQ in the plugin-section of the board.

Bye,
Harry
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Kugelblitz on March 08, 2006, 03:12:44 pm
 ;D Thanks alot Guys  ;)
That did it!
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: Paver on March 13, 2006, 11:27:17 pm
Unrelated question moved to a new thread: http://forum.coppermine-gallery.net/index.php?topic=29122 (http://forum.coppermine-gallery.net/index.php?topic=29122).
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: n3n on March 28, 2006, 11:02:58 pm
Tnx alot for the mod :)

Is there any way to have multiple collums of thumbnails ? so that its like 3x3 (cube) ?

Cheers again !
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: HarryS on March 29, 2006, 11:04:39 pm
I never saw a coppermine-theme with a film-cube instead of a filmstrip. I think this is beyond my capabilities. Sorry.
Maybe you actually want thumbnail-page and display-image in one window, besides each other.
Maybe it's good to have a look at many themes. Interesting things have been done with the filmstrip. Maybe that will help you to find new possibilities for a modification.
Bye,
Harry
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: n3n on March 30, 2006, 02:09:13 am
Hi Harry, tnx for the reply.

The displayimage and thumbs on the same page would be nice, but i dont think thats possible, as it uses multiple files.

I think the cube thing is very possible, because its just adding an extra collum, which shouldnt be that hard, im just not too good with php.
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: HarryS on April 02, 2006, 02:23:43 pm
You said: "I think the cube thing is very possible, because its just adding an extra collum, which shouldnt be that hard...."

Maybe you are right about how to realize a multi-row-filmstrip, or in this (vertical) case a multi-column-filmstrip.
However, I did try and I don't see how to make it work.
I still think it is beyond my capabilities. Sorry.

Harry
Title: Re: Vertical filmstrip in CPG 1.4.x
Post by: zac on October 22, 2006, 08:29:01 pm
Hi.. I have this implemented on my site but my understanding of it is vague.  Can someone explain to me how I am able to manipulate this?  I want to move it to another part of my site.  I do not see how I can control placement of the filmstrip via the template.html as it is lumped into the gallery block.   Here is a screenshot of my site running a heavily modified connections theme:

(http://www.folkphotography.com/screenshots/cpg_ss1.jpg)

I guess to do this I need to move the filmstip out of the gallery block and into the SYS_MENU which is over my head. 

ANy thoughts on this?

THanks!

Zc