diff --git a/application/controllers/upload.php b/application/controllers/upload.php index 7fc2c70..d4d66de 100644 --- a/application/controllers/upload.php +++ b/application/controllers/upload.php @@ -45,7 +45,7 @@ class Upload extends CI_Controller { echo $this->image_lib->display_errors(); - $message = array('type'=>'success','status'=>'Uploaded successfully', 'file'=>base_url('/view/specific/' . $file_name)); + $message = array('type'=>'success','status'=>'Uploaded successfully', 'file'=>base_url($file_name)); } echo json_encode($message); diff --git a/application/views/gallery.php b/application/views/gallery.php index 3b36cdf..3cd2994 100644 --- a/application/views/gallery.php +++ b/application/views/gallery.php @@ -5,7 +5,7 @@
- +