Good evening,
I have a problem when I send the order status e-mail. The two images of the banner and footer are not visible in this email. Instead there is a question mark and a description of the image. The problem occurs both in the mail to the seller and in the mail to the administration.
https://imgur.com/MRYOOJR
images not visible in order status email
- Angelo.pe
- Phoca Professional
- Posts: 140
- Joined: 02 May 2020, 12:42
-
- Phoca Professional
- Posts: 225
- Joined: 31 Dec 2020, 09:46
Re: images not visible in order status email
look at the source of the mail message.
is the image using an relative path or full path?
is the image access rights correct and accessable?
how did you add the image to footer and header (screenshot) or stemps
is the image using an relative path or full path?
is the image access rights correct and accessable?
how did you add the image to footer and header (screenshot) or stemps
- Angelo.pe
- Phoca Professional
- Posts: 140
- Joined: 02 May 2020, 12:42
Re: images not visible in order status email
Hello,
I added the photo using the editor (insert/edit image).
the path is: public_html/images/namefolder/file
ex: https://www.castaldi.biz/images/gestion ... b-1000.jpg
Thank you
I added the photo using the editor (insert/edit image).
the path is: public_html/images/namefolder/file
ex: https://www.castaldi.biz/images/gestion ... b-1000.jpg
Thank you
-
- Phoca Professional
- Posts: 225
- Joined: 31 Dec 2020, 09:46
Re: images not visible in order status email
okay.. internally it works with relative path.
in the mail you need to use ful url
https://www.castaldi.biz/images/gestion ... b-1000.jpg
in the mail you need to use ful url
https://www.castaldi.biz/images/gestion ... b-1000.jpg
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: images not visible in order status email
Hi, yes, for now, the full path needs to be used.
I will try to take a look if there is no option to add the same feature like in Phoca Email, where the relative path is checked and the code tries to change it to full path.
Added to feature request list.
https://github.com/PhocaCz/PhocaCart/issues/48
Jan
I will try to take a look if there is no option to add the same feature like in Phoca Email, where the relative path is checked and the code tries to change it to full path.
Added to feature request list.
https://github.com/PhocaCz/PhocaCart/issues/48
Jan
If you find Phoca extensions useful, please support the project
- Angelo.pe
- Phoca Professional
- Posts: 140
- Joined: 02 May 2020, 12:42
Re: images not visible in order status email
Hello, I tried with full url but doesn't work
-
- Phoca Professional
- Posts: 225
- Joined: 31 Dec 2020, 09:46
Re: images not visible in order status email
Can you forward me the mail message as attachment..
I sent you PM with mail details
I sent you PM with mail details
-
- Phoca Professional
- Posts: 225
- Joined: 31 Dec 2020, 09:46
Re: images not visible in order status email
Issue solved.
Website uses JCE editor as default.
JCE editor (wysiwig) removes full path to relative path on save.
3 options to salve
1 use default joomla editor
2 disable relative path in JCE editor condig
3 add full path in jce editor (code view) and safe.
3.. if open and save in wysiwig it changes the path..
Advise. Use default joomla editor
Website uses JCE editor as default.
JCE editor (wysiwig) removes full path to relative path on save.
3 options to salve
1 use default joomla editor
2 disable relative path in JCE editor condig
3 add full path in jce editor (code view) and safe.
3.. if open and save in wysiwig it changes the path..
Advise. Use default joomla editor
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: images not visible in order status email
Great, thank you for the info.
Jan
Jan
If you find Phoca extensions useful, please support the project
- David-Spring
- Phoca Member
- Posts: 33
- Joined: 15 Dec 2020, 11:21
Re: images not visible in order status email
Actually, JCE has a very simple setting to add the full path to all inserted images. Go to Components, JCE Editor, Editor Profiles, Default Editor, Editor Parameters tab and change URL conversion from Relative to Absolute. Full URL for images is important for sending any kind of emails with images. This applies not only to Phoca Cart emails but all emails. The only downside to full URLs is if you change the domain name of your website, you will need to go back and re-insert every image as the full URLs will still use the domain name of your old website. In my view, I think it is best not to change your website name or product or article names as this breaks lots of links on your website - not just image links.