Hi,

I've got a problem with ImageField storing the complete path of all files in the files table. At least in my case, it stores the absolute system path, and not the path relative to the files directory.

In other words, this is what it stores:
/usr/local/pem/vhosts/100653/webspace/httpdocs/files/album-images/STR_001_BG.png

However, this is really what i would like to see:
album-images/STR_001_BG.png

Storing the entire path could lead to portabilityissues if one wanted to change the path of the files directory, or move the site to another server.

Am I the only one who's got this problem?

Comments

quicksketch’s picture

Status: Active » Closed (fixed)

FOR CRYING OUT LOUD I'M TIRED OF ANSWERING THIS. SEARCH!!!!