Fixing timeout error and load image from SelectOneWidget form