This topic is locked

file.bin to file.tif

6/26/2007 9:23:59 PM
PHPRunner General questions
R
raginbull author

I have a database fill of tiff images and I have my view page setup to provied file.bin, can I switch this .bin format and keep the .tif? This would reduce the errors people are having viewing the photos

Alexey admin 6/27/2007

Jason,
you need an additional character field to save filenames in.

Add a field of VARCHAR type to your table and select it as Filename field in your File field properties.
If you don't need to save an original file name and just want to chage file.bin to file.tif modify this snippet in generated ..._list.php file:

---------------------------

if(!$filename)

$filename="file.bin";