Dear Support,
The standard default.html for constructing user account acivation email uses "absolute path" to logo image (which is currently set to <a class="postlink" href="http://aspnetzero.com/Images/Logos/logo.png">http://aspnetzero.com/Images/Logos/logo.png</a>).
I had tried to use "relative path" but i didn't work.
Please kindly advice.
Thanks. /Tommy
5 Answer(s)
-
0
Hi,
You also need to provide a full logo url because it will be accessed outside of your web application.
Thanks.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Understood. But I m hoping relative path can be used instead of absolute path. For example, "/Images/Logos/logo.png". However, this was not translated when viewing in email client.
Without this ability, prior to deploying from staging environment to live environment, have to change the image path and recompile the solution.
Hope the above further clarifed the intention.
Thanks. /tommy
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
I understand your point but I couldn't find a good way for using a relative path. If you have an idea, I will be happy to hear.
Thanks.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
<cite>ismcagdas: </cite> Hi,
I understand your point but I couldn't find a good way for using a relative path. If you have an idea, I will be happy to hear.
Thanks.
Hi,
Am I right to say that using the current implementation does not automatically translate the "relative path" to actual path when sending the email?
If so, I guess the URL path translation has to be manually done during the replacement of HEADER and BODY. For example, insert a new token called ROOTPATH and replace it after correct site root path.
Agreed?
/tommy
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi,
We will develop this feature in next version. I opened an issue about this. <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/167">https://github.com/aspnetzero/aspnet-ze ... issues/167</a>
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)