the only time I have seen the double extension like you describe has been if the file name setting includes the file extension.
where is the value for the session variable being set?
add the following code to the page to display the session variables value:
<?php echo($_SESSION['attractionpic']); ?>