During development my uploaded images are showing, but on production they are not. Here are the codes:
After reading some of the questions related to this, I think the reason why its not working is that my code is using dev server to serve the media files, which is only good for development. What do i change so that it would work in production? asked 02 May '14, 02:14 eakdev |
As mentioned in your ticket, you need to serve your media directory on the /media url. First by creating an application of type "Symbolic link to static/cgi/php app" and entering the path to your media files. Then mount it on the website entry on /media answered 02 May '14, 14:46 bmeyer71 ♦♦ |