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: File info squished  (Read 3070 times)

0 Members and 1 Guest are viewing this topic.

johanz

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
File info squished
« on: September 19, 2008, 09:13:09 pm »

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?
Logged

Nibbler

  • Guest
Re: File info squished
« Reply #1 on: September 19, 2008, 09:15:57 pm »

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

Code: [Select]
                        $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.
Logged

johanz

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: File info squished
« Reply #2 on: September 19, 2008, 09:21:13 pm »

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

Nibbler

  • Guest
Re: File info squished
« Reply #3 on: September 19, 2008, 09:33:29 pm »

Find "\n" and replace with " ".
Logged

johanz

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 54
Re: File info squished
« Reply #4 on: September 19, 2008, 10:23:01 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: File info squished
« Reply #5 on: September 19, 2008, 10:28:42 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.