I have this piece of code in my Joomla template:
<?php $itemid = 'itemid'.intval(JRequest::getVar( 'Itemid')) ; ?>
<img src="<?php echo $this->baseurl ?>/images/stories/images-left/<?php echo $itemid ; ?>.jpg" />
It calls for a different image every time a different page with different ItemId is loaded. What I would like is that this code calls for a default image ([url removed, login to view]) when there is no corresponding "ItemId-image" in the folder "images-left".
For a PHP expert this shouyld be very simple I guess. Maximum budget: $50,-