diff --git a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp index fe9e9ca88..c41cd899c 100644 --- a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp +++ b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp @@ -988,6 +988,13 @@ void PopupChatDialog::fileHashingFinished(AttachFileItem* file) message+="\" width=\"48\" height=\"48\">"; message+="
"; } + else if (ext == "jpg" || ext == "jpeg" || ext == "png" || ext == "gif" || ext == "bmp" || ext == "ico" + || ext == "svg" || ext == "tif" || ext == "tiff" || ext == "JPG") + { + message+=""; + message+="
"; + } diff --git a/retroshare-gui/src/gui/images.qrc b/retroshare-gui/src/gui/images.qrc index 67a64f138..c0c6027a7 100644 --- a/retroshare-gui/src/gui/images.qrc +++ b/retroshare-gui/src/gui/images.qrc @@ -5,6 +5,7 @@ images/audio-x-monkey.png images/video-x-generic.png images/application-x-rar.png + images/application-draw.png images/pgp.png images/rs_wizard.png images/about.png diff --git a/retroshare-gui/src/gui/images/application-draw.png b/retroshare-gui/src/gui/images/application-draw.png new file mode 100644 index 000000000..bbe1180e1 Binary files /dev/null and b/retroshare-gui/src/gui/images/application-draw.png differ