Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
$filename = plogger_get_picture_filename();
...
...
...
print '<span class="small"> '. $filename . ' </small>' ;
...
function plogger_get_picture_url() {
$row = $GLOBALS["current_picture"];
return generate_url("picture",$row["id"]);
}
/*** here new lines
function plogger_get_picture_filename() {
return htmlspecialchars(SmartStripSlashes(basename($GLOBALS["current_picture"]["path"])));
}
/*** end of new lines
function plogger_get_picture_id() {
$row = $GLOBALS["current_picture"];
return $row["id"];
}
...
$filename = plogger_get_picture_filename();
...
...
...
print '<span class="small"> '. $filename . ' </span>' ;
Posted By: PieperLyi've solved also the problem with filenames under picture-thumbs in album.php, but i can't solved the broken truncate function for filenames.I just wanted to let other's know your solution as well as look at it myself to let you know how to edit it to truncate the name (I'll reply to your other post regarding that). Thanks again for sharing your solution!
long filenames destroys the site-design, truncate is a must-have.
1 to 5 of 5