running with safe_mode = 1
Wouldn't it be possible to let PhotoPost work with safe_mode ON
if you just create the subfolders in the data directory and then chown -R www-data:www-data data/* && chmod -R 777 data/*
But the Question is what is the folderstructur?
vBulletin for example does it like this: for a user with id 301 the folders would be 3/0/1