Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Moving File info area to right of intermediary image  (Read 3062 times)

0 Members and 1 Guest are viewing this topic.

adrianlowe

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Moving File info area to right of intermediary image
« 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
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Moving File info area to right of intermediary image
« Reply #1 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";
.
.
.
Logged
‍I don't answer to PM with support question
Please post your issue to related board

adrianlowe

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Moving File info area to right of intermediary image
« Reply #2 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. 
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Moving File info area to right of intermediary image
« Reply #3 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
Logged
‍I don't answer to PM with support question
Please post your issue to related board

adrianlowe

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Moving File info area to right of intermediary image
« Reply #4 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)
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.