I have code that a user uploads a pic whenever they set a marker and saves the image path. My question is how do I show the image instead of the path.
In the code below addslashes($row['image'] only shows the path not the actual image
echo 'var marker = new createMarker(point, markerOptions, "'.addslashes($row['image'].' <br> '.$row['description'].' <br> '.$row['datetime'].'<br>'.$row['address']).'");';