View Full Version : alt tags making images disappear

10-20-2015, 12:14 PM
My code is
$photoPath = "/new/8/Mangalitza-Pigs-Z903.jpg";

If I try to add an alt tag
$photoPath = "/new/8/Mangalitza-Pigs-Z903.jpg alt='Mangalitza Pigs'";
the image doesn't show

I tried closing the image from the alt tag with extra speech marks
$photoPath = "/new/8/Mangalitza-Pigs-Z903.jpg" alt='Mangalitza Pigs'";
but no go.

Any suggestions welcome! Please help turn this :confused: into this :lol: !!!!

10-21-2015, 07:45 AM
you have single quote and double quote mixed so it will produce an error
$photoPath = "/new/8/Mangalitza-Pigs-Z903.jpg" alt="Mangalitza Pigs'";

10-22-2015, 06:57 AM
hi, i saw your reply and for some reason it was blocked automatically by the spam filters. i made a mistake and deleted it instead of allowing it. If you had a question please send it again. Sorry :)