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

Wrong image url. #10

Closed
swnsma opened this issue Mar 3, 2016 · 2 comments
Closed

Wrong image url. #10

swnsma opened this issue Mar 3, 2016 · 2 comments

Comments

@swnsma
Copy link

swnsma commented Mar 3, 2016

If I use 'pub' folder as directory root in website configs, it give a wrong image url.
Should be
domain.local/media/magefan_blog/s/e/selection_010.png,
give
domain.local/pub/media/magefan_blog/s/e/selection_010.png
As result, image not found.
I think, better use \Magento\Store\Model\Store object to find url in:
\Magefan\Blog\Model\Url::getMediaUrl

@magefan
Copy link
Owner

magefan commented Mar 7, 2016

Try update file
app/code/Magefan/Blog/Model/Url.php
to the last version from repo.

@magefan magefan closed this as completed Mar 14, 2016
@swnsma
Copy link
Author

swnsma commented Mar 15, 2016

Thanks.
Now work well.

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

2 participants