forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: adrianlowe on November 07, 2007, 04:56:48 am

Title: Moving File info area to right of intermediary image
Post by: adrianlowe on November 07, 2007, 04:56:48 am
Hi, I give up.
I'd like to move the File Information table from below the thumbnail and ratings strips to the right of the Intermediate image.
I can't find the template to do this, please help.
Adrian
Title: Re: Moving File info area to right of intermediary image
Post by: Sami on November 07, 2007, 09:10:14 am
You need to play with theme_display_image function
here is the part that you should check
Code: [Select]
.
.
.
$picinfo = isset($_COOKIE['picinfo']) ? $_COOKIE['picinfo'] : ($CONFIG['display_pic_info'] ? 'block' : 'none');
    echo "<div id=\"picinfo\" style=\"display: $picinfo;\">\n";
    starttable();
    echo $pic_info;
    endtable();
    echo "</div>\n";
.
.
.
Title: Re: Moving File info area to right of intermediary image
Post by: adrianlowe on November 07, 2007, 09:34:00 am
aha thanks. OK now I found a reference to it but only in the sample/theme.php but not in ..hardwired/theme.php, so I assume I copy the code into the right theme.php but I can't find any reference to the image placement table in hardwired/theme.php. 
Title: Re: Moving File info area to right of intermediary image
Post by: Sami on November 07, 2007, 11:43:41 am
Yes you are correct , you need to copy that function from sample/theme.php to your theme.php
Also you need to copy
$template_display_media variable from sample/theme.php to your theme.php
then you can play with picture ({IMAGE}) position
Title: Re: Moving File info area to right of intermediary image
Post by: adrianlowe on November 08, 2007, 01:37:39 am
G'day again, thanks for that. I've looked at it and can see both codes to move over but think the knowledge to shift it beside the 'image' is beyond me ??? so I probably shouldn't be wasting your time. I'll see if I can find somebody who knows more than me (not hard) to do it for me.  :'( Thanks again, you guys are a marvel taking the time to help others. It's a great gallery. Adrian (Australia)