Hi, I have a fresh CMSMS installation and I've been trying to enrich the CompanyDirectory functionality with an option to upload 5 images. However, when I try to upload the images they get physically on the server, but only one shows up under the Company profile. Also, when I try to edit the company again and even though I don't touch the only image that showed up, after submission I don't see the image anymore but the browse file fields only. The files stays on the server though.
Can anyone give an advice, please?
Thanks
CompanyDirectory image upload problem
Re: CompanyDirectory image upload problem
This seems to be a known bug:
http://dev.cmsmadesimple.org/bug/view/5286
I'm having similar problems. When I go back to edit a company and save anything, it wipes out my custom image value.
The built-in image & logo fields have a second field which will preserve the current value in the db if another image or logo have been uploaded.
<input type="hidden" name="m1_imagecurrent" value="my image.jpg">
The custom image field doesn't have any such hidden current field to preserve the value that I see, so it is writing a blank value to the db where the image name should go.
Unfortunately, fixing this is not within my skill-set.
http://dev.cmsmadesimple.org/bug/view/5286
I'm having similar problems. When I go back to edit a company and save anything, it wipes out my custom image value.
The built-in image & logo fields have a second field which will preserve the current value in the db if another image or logo have been uploaded.
<input type="hidden" name="m1_imagecurrent" value="my image.jpg">
The custom image field doesn't have any such hidden current field to preserve the value that I see, so it is writing a blank value to the db where the image name should go.
Unfortunately, fixing this is not within my skill-set.