CMS MADE SIMPLE FORGE

Company Directory

 

[#5286] Custom images not showing after company update

avatar
Created By: Mirko Barbulović (barboni)
Date Submitted: Mon Aug 09 12:04:26 -0400 2010

Assigned To: Robert Campbell (calguy1000)
Version: 1.6.5
CMSMS Version: None
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Custom images not showing after company update
Detailed Description:
If I insert custom images and come back  to update company data (not touching
images) and save the changes, images are not displayed anymore. To insert them
again I need to delete all images from the upload folder and then reinsert them
through company edit form.


History

Comments
avatar
Date: 2011-03-21 13:32
Posted By: John Moore (jomoweb)

I can confirm that I am experiencing the same issue.  From what I can see, there
is a hidden field for the standard image and logo fields that preserve their
current value:

Example:
<input type="hidden" name="m1_imagecurrent" value="currentlogo.jpg">

However, this feature does not exist with the custom image fields.  The
workaround is to delete and re-upload on every save as you mentioned.  Or,
rename and re-upload the file (but that just creates orphaned files.)


      
avatar
Date: 2011-03-25 14:30
Posted By: Robert Campbell (calguy1000)

fixed a while back.
      
avatar
Date: 2011-03-30 14:07
Posted By: John Moore (jomoweb)

Thanks Robert!
      
Updates

Updated: 2011-12-22 22:31
cmsms_version_id: => -1
state: Open => Closed

Updated: 2011-03-25 14:30
resolution_id: => 7