| 451 | | $element = array( |
| 452 | | 'id' => $line['image_id'], |
| 453 | | 'file' => $file_of_image[$line['image_id']], |
| 454 | | 'path' => $path_of_image[$line['image_id']], |
| 455 | | 'tn_ext' => $tn_ext_of_image[$line['image_id']], |
| 456 | | ); |
| | 451 | if (isset($file_of_image[$line['image_id']])) |
| | 452 | { |
| | 453 | $element = array( |
| | 454 | 'id' => $line['image_id'], |
| | 455 | 'file' => $file_of_image[$line['image_id']], |
| | 456 | 'path' => $path_of_image[$line['image_id']], |
| | 457 | 'tn_ext' => $tn_ext_of_image[$line['image_id']], |
| | 458 | ); |
| | 459 | $thumbnail_display = $page['search']['fields']['display_thumbnail']; |
| | 460 | } |
| | 461 | else |
| | 462 | { |
| | 463 | $thumbnail_display = 'no_display_thumbnail'; |
| | 464 | } |