$filesJ = json_decode(file_get_contents($file));
echo '<br /><PRE>Images Preview</PRE>';
- $path = $ff->baseURL. "Images/Thumb/150/{$filesJ->POST->onid}";
+ //$path = $ff->baseURL. "Images/Thumb/150/{$filesJ->POST->onid}";
foreach($filesJ->FILES as $f){
$imageFile = $ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $f->tmp_name;
list($width, $height, $type, $attr) = getimagesize($imageFile);
- echo "<img src=\"img/flag.jpg\" $attr alt=\"getimagesize() example\" />";
+ echo "<img src=\"$imageFile\" $attr alt=\"getimagesize() example\" />";
//$path = $ff->baseURL. "Images/Thumb/150/$ff->Pman['event_log_dir']. "/{$user}" . date('/Y/m/d/',strtotime($ev->event_when)). $f->tmp_name;
//echo '<img src="'.$path.'" />';
print_r($ff->baseURL);