Skip to content
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

CDN External images not working #56

Open
LuisFX opened this issue Aug 22, 2019 · 0 comments
Open

CDN External images not working #56

LuisFX opened this issue Aug 22, 2019 · 0 comments

Comments

@LuisFX
Copy link

LuisFX commented Aug 22, 2019

I am having problems serving images from a CDN.

Steps to reproduce (with standard installation):

docker-compose up -d
$ docker exec -it <container_name> install-magento
set CDN under: stores > configuration > web > Base URL for User Media Files > http://example.com/
import a simple product with a sample image: s01.jpg (only the file name of the jpg), with the assumption that the cdn has the images in the root of the site.

the database shows: /s//s01.jpg (notice the extra /s//)
the product page shows: http://example.com/pub/media/catalog/product/cache/f073062f50e48eb0f0998593e568d857/s/_/s01.jpg

I expected product page to show: http://example.com/s01.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant