How do I go about calling an image from a xml file in php?
My .xml file looks a bit like this;
<image1>…/work/example1.jpg</image1>
<image2>…/work/example2.jpg</image2>
<image3>…work/example3.jpg</image3>
I have tried several tests to get these urls to appear as images but as yet to no cigar. Some options I have tried include
<div id=“equalright” class=“border”><fo:external-graphic src="{image2}"/></div>
And
<div id=“equalright” class=“border”><img src="<?php echo $image4; ?>"></div>
I cant seem to find many other examples from the internet.