File info squished File info squished
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

File info squished

Started by johanz, September 19, 2008, 09:13:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

johanz

As shown in the picture, all info is squished and it has no spaces between it.
And how do I make so picture's resolution and size is shown under it's thumbnail?

Nibbler

Modify functions.inc.php and add in spaces instead of the nonfunctioning newlines.


                        $pic_title =$lang_display_thumbnails['filename'].$row['filename']."\n".
                                $lang_display_thumbnails['filesize'].($row['filesize'] >> 10).$lang_byte_units[1]."\n".
                                $lang_display_thumbnails['dimensions'].$row['pwidth']."x".$row['pheight']."\n".
                                $lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt);


One question per thread please. I'm sure I've already posted how to get the size and/or dimensions under the pic so search the board.

johanz

I can't understand where to add spaces  :-\

Nibbler

Find "\n" and replace with " ".

johanz

Please help with showing file size under thumbnail, I searched, but CANT find.
It shows so much wrong results I cant find

Joachim Müller

Then ask that question in a separate thread - Nibbler already told you about the "one question per thread" policy. You agreed to respect it when signing up.