Reduce config.xml size by removing picture widget images to file system
Images now saved in /conf
Upgrade_config function writes any images out to file system and truncates the config.xml entry
Updated by Chris Macmahon over 3 years ago
new VM, setup picture, downloaded a backup. reset to factory defaults, restored backup, no Image in the widget: Screenshot from 2018-03-16 13-49-21.png!!
Updated by Jim Pingle over 3 years ago
- Status changed from Feedback to Assigned
Upgraded with a picture in the widget and it was broken after the upgrade. No sign of the image in /conf/
Missing picture results in a PHP error:
[16-Mar-2018 14:32:10 America/Indiana/Indianapolis] PHP Warning: file_get_contents(/conf/widget_image.picture-0): failed to open stream: No such file or directory in /usr/local/www/widgets/widgets/picture.widget.php on line 32
Storing a new picture works as expected.