<?php
$file = 'd:/Coding/xammp/htdocs/obgyn-research-platform/assets/uploads/profile_pictures/researcher_125.jpg';
if (file_exists($file)) {
    echo 'File exists, size: ' . filesize($file) . ' bytes' . "\n";
    echo 'Readable: ' . (is_readable($file) ? 'Yes' : 'No') . "\n";
} else {
    echo 'File does not exist' . "\n";
}

// Test URL construction
require_once __DIR__ . '/../config/config.php';
echo 'SITE_URL: ' . SITE_URL . "\n";
echo 'UPLOADS_URL: ' . UPLOADS_URL . "\n";
echo 'Expected URL: ' . UPLOADS_URL . '/profile_pictures/researcher_125.jpg' . "\n";
?>