Closed
Description
I tried to insert an image to a content of a category. The image is shown on the WYSIWYG editor. However, when I go to the front end, it throws error 404 because the path is wysiwyg/water-safety/someimage.jpg
. I ended up have to modify the HTML code to use the full path pub/media/wysiwyg/water-safety/someimage.jpg
instead
Preconditions
- Magento version 2.1.2
- PHP version 7.0.12
- MySQL version 5.6.33
Steps to reproduce
- Login to the admin dashboard.
- Go to categories.
- Select on of the subcategories.
- Edit the content via WYSIWYG.
- Insert image into the content.
- Save the category.
- Go to the front end and view the category.
Expected result
- I expect to see the image to show on the content section of the category.
Actual result
- It shows broken link for the image because the path
wysiwyg/water-safety/someimage.jpg
is not found. I had to manually change it topub/media/wysiwyg/water-safety/someimage.jpg
instead.