S
S
sergey2017-02-02 14:09:24
HTML
sergey, 2017-02-02 14:09:24

Is there an automatic way to edit paths to images in html?

There was a problem: when transferring the build folder to the client server in the html file, the paths to the images are not correct (due to the folder structure: in my gulp it differs from the client one). This applies to blocks that are added using gulp-rigger (mainly header, footer)
For example, src="../img/image.png" in the file, but on the server you need src="img/image.png
" then in gulp what will help correct this situation in the future?
There are no such problems with css files, I use gulp-css-url-rebase , but what about html?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question