News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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.