contact: fix image to contact

- Jpeg were not loaded because a dll was missing
- Also fix default image for empty url

Issue: #80570
Change-Id: I7996fe4034466bc97e8a902485038bbb824892e9
diff --git a/windowscontactbackend.cpp b/windowscontactbackend.cpp
index da876b2..69f9faf 100644
--- a/windowscontactbackend.cpp
+++ b/windowscontactbackend.cpp
@@ -288,8 +288,9 @@
                         QString photoValue = reader.readElementText();
                         QImage photo;
                         photo.load(photoValue);
-                        p->setPhoto(photo.scaled(sizePhoto_,sizePhoto_, Qt::KeepAspectRatio,
-                                                 Qt::SmoothTransformation));
+                        if (not photo.isNull())
+                            p->setPhoto(photo.scaled(sizePhoto_,sizePhoto_, Qt::KeepAspectRatio,
+                                                    Qt::SmoothTransformation));
                     }
                 }
                 else if (name == "EmailAddress") {