Calling image file - Sever Side.

Calling image file - Sever Side.

infinibalkiinfinibalki Posts: 2Questions: 2Answers: 0

Hi All,

Currently, I am using direct location and filename while posting data to DB. eg. db will be "<img width="110px" src="upload/1460289790.jpg"/>" so I could able to view image as it call from the db,

But I was trying to format to have something like this. BUT IT IS NOT WORKING PLS HELP.

array( 'db' => 'photo_filename', 'dt' => 1
'formatter' => function( $d, $row ) {
return '<img src="upload/'.($d).'.jpg"/>';
),

This discussion has been closed.