Custom directory upload errors

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 3, 2012   (RSS)

By Codee - February 2, 2012

I created a custom upload directory at .../cmsAdmin/uploads/frontimage/ and made that my directory path. I also made the same path for the folder entry. The custom upload directory was created prior to putting in the custom upload path. I've tried uploading several test jpegs and they seem to upload fine, but no preview shows. I ensured the custom upload directory and cms-generated /frontimage/upload/ directory have permissions at 777.

When I upload a jpeg (from 50k - 5mb, so size not an issue) it seems to upload fine but there's no preview thumbnail showing in the cmsAdmin panel. I can view both the large image and thumbnail in a separate browser window with a direct path. So...why isn't the preview thumb showing up in the cmsAdmin panel.

Re: [equinox69] Custom directory upload errors

By (Deleted User) - February 2, 2012

Hi equinox,

The settings for making your upload directory "yoursite.com/cmsAdmin/frontimage/uploads/" would be:

Upload Directory: ../cmsAdmin/frontimage/uploads/
Upload Folder URL: /cmsAdmin/frontimage/uploads/

(in general settings).

Any uploads made prior to the change of directory will still be in the previous uploads folder (so you'd have to re-upload them).

The best advice is to check that both the settings are correct and that there are no typos (you refer to uploads/frontimage then later frontimage/upload...).

Hope this helps,

Tom

Re: [Tom P] Custom directory upload errors

By Codee - February 3, 2012

You're right Tom, I did post it like that...and I've tried it in quite a number (and numbing) different ways, but currently in the cmsAdmin area they are both the same...

mysite/cmsAdmin/uploads/frontimage/

and just found out THAT is the problem..the first entry needs to be the first full "drilldown" url, but the folder entry should only be referenced from the cmsAdmin directory...
/cmsAdmin/uploads/frontimage/

changing that instantly took care of the issue.