-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multistore absolute image URL in common/header.tpl #529
Comments
Nope ! CDN users would like to use full url. |
I agree. Ignore this about that URL. You don't know what your talking about. You could do $image="//www.site.com/folder" and remove the HTTP for relative protocol detection. Our store is heavy in traffic therefore we use a custom CDN or Rackspace Cloud Files. |
I am sorry, in this case it would be better to have the URL from the store instead of the main-store. Probably it was not clear enough explained. |
this does not happen! maybe in older versions. this code changes it:
|
The image source for the value ?php echo $logo is absolute set to the default store instead only relative:
Actually it is parsed like:
img src="http://main-store/image/data/logo-lfs-schweiz.png"
Better would be:
img src="/image/data/logo-lfs-schweiz.png"
The text was updated successfully, but these errors were encountered: