I successfully uploaded the image to my upload directory. This is structure
public_html -> uploads -> image.gif
Now the path I have stored in DB record is:
./uploads/image.gif
yet when I do this:
echo "<img src='{$imagePath}' alt='some_text'>";
It still doesn't show anything. The image path content is ./uploads/image.gif .
I am trying to load the image in a view which is located in the following:
public_html->application->views->new->someView.php
Help will be really appreciated.
http://etc.