So, I've edited
catalog/view/theme/default/mail/order.tpl
I replaced the scr=logo text
with my https://logo location
The only thing that comes up is a broken image. But when I go to that URL the image works fine (it's on a amazon AWS bucket)
I put it on the local server and changed the text to
/catalog/image/logo/filename.png
and the same thing. broken image.
Any ideas?
catalog/view/theme/default/mail/order.tpl
I replaced the scr=logo text
with my https://logo location
The only thing that comes up is a broken image. But when I go to that URL the image works fine (it's on a amazon AWS bucket)
I put it on the local server and changed the text to
/catalog/image/logo/filename.png
and the same thing. broken image.
Any ideas?
Self Taught Opencart User & Developer Since 2010.
If you refer to the config.php and admin/config.php files, neither or none of them indicates the catalog at the front of the path. It should rather be:Rainforest wrote: ↑Mon Dec 18, 2017 5:20 amSo, I've edited
catalog/view/theme/default/mail/order.tpl
I replaced the scr=logo text
with my https://logo location
The only thing that comes up is a broken image. But when I go to that URL the image works fine (it's on a amazon AWS bucket)
I put it on the local server and changed the text to
/catalog/image/logo/filename.png
and the same thing. broken image.
Any ideas?
Code: Select all
<your_server_path>/image/logo/filename.png
Second, the catalog/model/checkout/order.php file:
Code: Select all
$data['logo'] = $this->config->get('config_url') . 'image/' . $this->config->get('config_logo');
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks. Unfortunately, I believe you are incorrect.
The code in order tpl is a "img src="
So, I should be able to put https://wherever-the-image-is-located in the ""
Looking in the config and that location has nothing to do with it.
Thank you anyway,
The code in order tpl is a "img src="
So, I should be able to put https://wherever-the-image-is-located in the ""
Looking in the config and that location has nothing to do with it.
Thank you anyway,
Self Taught Opencart User & Developer Since 2010.
Although, you missed the part where the /catalog folder in front of the image folder does not exist despite the fact that you have entered any type of URLs between the "" . If I were incorrect at this point, the config.php and admin/config.php files would not demonstrate these facts.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
that was a typo. image/catalog/
But still your post doesn't explain why an img scr https://www.file-location wouldn't work.
Sorry, I do appreciate your input but I don't think it makes much sense in explaining this situation.
Can't solve them all.
But still your post doesn't explain why an img scr https://www.file-location wouldn't work.
Sorry, I do appreciate your input but I don't think it makes much sense in explaining this situation.
Can't solve them all.
Self Taught Opencart User & Developer Since 2010.
The issue actually stems from Google appending a Google User Content url to the image.
When I right-clicked the broken image, the link had https://ci4.googleusercontent.com/proxy/# <my image URL>
Seems to be a longstanding issue.
https://stackoverflow.com/questions/209 ... newsletter
When I right-clicked the broken image, the link had https://ci4.googleusercontent.com/proxy/# <my image URL>
Seems to be a longstanding issue.
https://stackoverflow.com/questions/209 ... newsletter
Self Taught Opencart User & Developer Since 2010.
Especially when posting fake URLs. It does not seem to help the situation for others when encountering the same issue. Although, it is good to know you did solved the problem on your own.But still your post doesn't explain why an img scr https://www.file-location wouldn't work.
Sorry, I do appreciate your input but I don't think it makes much sense in explaining this situation.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 230 guests