By Leland Hicks on Friday, 07 June 2019
Posted in Technical Issues
Replies 10
Likes 0
Views 679
Votes 0
Hello, I am experiencing receiving blog post notifications that do not have the headline image.

Not sure why this is happening. At any rate, what ever the fix is, we need to have the images accompany the blog post email notification. The size for images are in the blog posts on the site.

Thanks and please advise,

Best,

Leland
By default, it will not render out the post cover in the email notification.

You can download my attached file and replace into this template override file location on your site.

JoomlaFolder/templates/yourCurrenTemplate/html/com_easyblog/emails/html/post.new.php
·
Friday, 07 June 2019 23:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alex,

There is no path for emails/html/post.new.php in my com_easyblog folder inside the template section. In only has a folder called schema.

Thanks and please advise,

Leland
·
Saturday, 08 June 2019 00:14
·
0 Likes
·
0 Votes
·
0 Comments
·
You have to manually create for those new folder into your template.
·
Saturday, 08 June 2019 00:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex,

I added the folders in the location you suggested, added the code, and now the blog posts fail to send anything at all.

Please advise,

Best,

Leland
·
Tuesday, 11 June 2019 23:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you forward to my mailbox arlex.wong@stackideas.com so I can better have a look how it look like after you put this file on your site?

Also can you update your correct FTP login access so we can better have a check? Because I was unable to connect with your FTP server now.


Command: PASS *************
Response: 530 Login authentication failed
Error: Critical error: Could not connect to server
·
Wednesday, 12 June 2019 10:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Alex,

You must manually type in the password instead of copying it into FTP: (Lw1ops7Y3lxSc) Even I cannot copy paste it in.

Best,

Lelnad
·
Wednesday, 12 June 2019 22:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Here is a screenshot of what we were getting prior to adding the code, and now we get nothing, no email notifications at all.
·
Wednesday, 12 June 2019 23:27
·
0 Likes
·
0 Votes
·
0 Comments
·
After tested further regarding this, it seems like this issue is not related with post.new.php file.

You can check my attached screenshot below.

1. It will hit the same issue without post.new.php file

2. Then I try put back this post.new.php file then the issue still persists.

3. After that I tried to rename your .htaccess file, then it work correctly.

So I suspect email client unable to crawl those image link on your site because it required user to enter username and password then only can access your site.

You should consider do not block user when someone trying to access your site.

Or you can consult with your webhosting provider is there a way to unblock those mail client access?
·
Thursday, 13 June 2019 11:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alex,

1. If I understand you correctly, because the site is currently offline to general users, and is password protected, the cover image will not be included in the post notification email. Correct?

2. If so, once the site goes live the email notification should contain the cover post image, right?

3. Is there another way to add the image without using the cover image, and just placing the image in the post itself?

4. When I originally tried that method, the images in the post were far too large. I need the images to be 450 wide, and not 1200.

5. I tried by making sure the image size matched the orginal image size of 450, but did not work. The image remained much too large.

Thanks and please advise,

Best,

Leland
·
Thursday, 13 June 2019 21:22
·
0 Likes
·
0 Votes
·
0 Comments
·
1. If I understand you correctly, because the site is currently offline to general users, and is password protected, the cover image will not be included in the post notification email. Correct?

Yes, you understand my point correctly.

2. If so, once the site goes live the email notification should contain the cover post image, right?

Yes, it is correct as long as you didn't block public user access your site frontpage and ensure that this template override file (post.new.php) file exist under this directory folder JoomlaFolder/templates/yourCurrenTemplate/html/com_easyblog/emails/html/post.new.php .

3. Is there another way to add the image without using the cover image, and just placing the image in the post itself?

Yes, it is possible to achieve this, but you have to do this way :

1. Remove this template override file post.new.php from your template
2. Add readmore tag into blog content, show it will only show your intro text in email same as your frontend blog listing page.
3. Disable this truncation email content setting http://take.ms/jSITo , so it will not stripped those HTML content from blog.

4. When I originally tried that method, the images in the post were far too large. I need the images to be 450 wide, and not 1200.
5. I tried by making sure the image size matched the orginal image size of 450, but did not work. The image remained much too large.

Are you referring that post cover image in email content? If yes, then you have to modify that post.new.php file because I hardcoded that image width to 100% , if you would like those post cover image render back the original width, then you have to remove this code from this post.new.php file. (screenshot : http://take.ms/qEknE)
·
Friday, 14 June 2019 11:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post