I'm using WordPress 3.4 with plugin Magic Fields 2.0. I've created a write panel with an image field called 'icon' as a (media upload) type, and icon is not inside a group. However, whenever I try to call the get_image() functions front end functions, this fails to pull up the images.

Here's my code:

<?php echo get_image( 'icon', 1, 1, 0, $page->ID ); ?>

$page is a page object that I've retrieved outside the loop. Here's the output:

When I check the server, that file does exist! I copy the address into my address bar, and the image loads in the browser.

I'm developing this on my local xampp host, using a dns record that's only in my hosts file. So, I'm wondering if that is causing the issue? Perhaps, since that file doesn't exist at that url remotely, that is causing a file_exists check to fail somewhere in Magic Fields.