Text only
|
Text with Images
coppermine-gallery.com/forum
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: ojohn on November 07, 2003, 01:18:59 AM
Title:
File Extension
Post by:
ojohn
on
November 07, 2003, 01:18:59 AM
For the filename can i just show the file name and not the File Extension?
Title:
File Extension
Post by:
Joachim Müller
on
November 07, 2003, 08:33:24 AM
edit displayimage.php and find
Code
Select
Expand
$info[$lang_picinfo['Filename']] = htmlspecialchars($CURRENT_PIC_DATA['filename']);
Use one PHP's string functions (your choice) to remove the extension (see http://de2.php.net/manual/en/ref.strings.php ).
GauGau
Text only
|
Text with Images