Fixing image access issues