I have searched but not found an answer to this question, I would like to place some stats from the bottom of the display image page to the top of the page.
Any help will be great ;D
I'm not exactly sure what you're talking about but if you're referring to the File Information shown on the image display page, check out this link and edit to move the file information. http://forum.coppermine-gallery.net/index.php?topic=30739.msg142311#msg142311 (http://forum.coppermine-gallery.net/index.php?topic=30739.msg142311#msg142311)
If not then can you attach a screenshot and circle what you're speaking about.
Gizmo
I wanna take the following file information from the bottom of the page to the top just above the picture:
File Size:
Date added:
Dimensions:
Displayed:
Cool. You can use this plugin by Paver to filter the File Information fields and then use the above link to edit the image display page to put these fields where you want them to go.
http://forum.coppermine-gallery.net/index.php?topic=27407.0 (http://forum.coppermine-gallery.net/index.php?topic=27407.0)
Hope this helps.
Gizmo
Sorted thanks Gizmo
One problem I have is that the image now displays on the left and I want it in the center.
Is there anyway I can get it in the center.
I don't recongize your theme so a link to your gallery would make it easier to say but you can try putting the file info in a table cell and apply a align="center" to it
[edit] - Duh.... it's right on the pic you attached. I'll check it out and see what you got.
why not just modify the theme.php
add that bit of code... first it shows the nav menu, picinfo, picture, votes and last the comments
move the parts where you want them to appeare
function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)
{
global $CONFIG;
$width = $CONFIG['picture_table_width'];
starttable();
echo $nav_menu;
endtable();
$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";
starttable();
echo $picture;
endtable();
if ($CONFIG['display_film_strip'] == 1) {
echo $film_strip;
}
echo $votes;
echo "<div id=\"comments\">\n";
echo $comments;
echo "</div>\n";
}
you even can hardcode table settings into it... like you don't like the picinfo table have the standard width, then try eg. that (yoju see that the function call starttable() ahs been removed and replaced with echo...)
echo '<table align="center" width="450">';
echo $pic_info;
endtable();
echo "</div>\n";
Fantastc Stramm, works brilliantly
Thank you ;D