Hello, here's a question:
On my website images are displayed with use of PHP like so
<img src="<?php echo $media; ?>" alt="" width="940" height="600" />
where
$media = get_post_meta($post->ID, 'lead_image', true);
However, some time ago it all start acting strange. Now the pictures get displayed together with a chunk of code, like
[PICTURE] "alt="" width="940" height="600" />
So, it seems, echo $media does not return a text string with the picture address, but rather displays the picture, and the remaining string gets treated as inside img src= ""
It happens whenever there is any php inside img src.
You can see it all at http://almasy-photography.com/
Why is this happening and how to fix it?
Thanks!