Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Adding a photo to a discussion - it is oversized in the email notification

7 years 11 months ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

ISSUE SUMMARY:
When you create a discussion you can now add a photo. When this arrives in the email notification on a computer the image is very large and goes beyond the edge of the computer screen.

On an iphone the photo looks normal!

STEPS TO REPLICATE:
1 Click "add discussion"
2 click on the 'Photo' icon in the formatting bar above the discussion text.
3 Add a photo
4 Send the discussion
5
RESULT Photo arrrives in an email. Photo is enormous when viewed on a computer.
EXPECTED RESULT Photo should be sized to fit in normal width window.
BROWSER

7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Susan,

May I know your mail app? are you using desktop mail app or web mail? can you forward the email discussion to This email address is being protected from spambots. You need JavaScript enabled to view it., please?

thank you!

7 years 11 months ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

I am viewing using gmail on a desktop. In the gmail app on my iPhone it is ok.

But in Apple's 'Mail' application on my Macbook the photo is also oversized.

I have emailed you.
Thanks

7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

got it.. will mark as a bug.

7 years 10 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

for fixing this open this file components/com_community/libraries/mailq.php, add this code :

$row->body = CString::str_ireplace('<img ', '<img style="max-width:100%" ', $row->body);
after :
$row->body = CString::str_ireplace(array("\r\n", "\r", "\n"), '<br />', $row->body);

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW