[Phpgedview-talk] Media Upload out of control
Brought to you by:
canajun2eh,
yalnifj
From: Waller R. S <rsw...@us...> - 2006-07-29 14:59:19
|
Hi, I've been using PGV for awhile now..It is great! However, I recently started using the media options. Whenever I go to Add a new media item to a fact or to the individual directly, I see a common issue and I don't know how to resolve it. For instance.. inside the Fact, I click Add Media, another window opens and I select the file to upload from my computer, I leave the directory as the default which is showing ./media in that window (which I have specified in the configuration file as ./media). I fill in the rest of the fields and click save... The file uploads and takes me back to the fact that I was working on with the media M### filled in now in the proper field. When I click save on the fact, the page refreshes as it should, but I am unable to view the media item.. I looked at the database to see what it was showing and it appears that when the upload occurs, it puts in an additional media/ in the m_file field of pgv_media table. e.g. instead of just ./media/ filename.jpg, or just filename.jpg, it has this in the field: ./media/ media/filename.jpg When I look at the server's file structure, it shows multiple subdirectories of media, inside media, inside media etc.. with the respective thumbnail directories.. It is like the upload panel is out of control or looses touch with where things should be.... Any thoughts on what I could be doing wrong here? Is there a way to prevent these multiple subdirectories from being created and the issues with the table entries? Some files are being put in these subdirectories on upload as well???? Help!!! Thanks, Rick |