overriding image paths
See original GitHub issuehello all! 😃 this is my folder structure:
and here’s my configuration:
base: './',
css: '_dev/css/main.css',
width: 1200,
height: 500
},
src: '_dev/index.html',
dest: '_dev/critical-css/index.css'
in the source folder, the path of an image would be url("../images/pizza.jpg");
, critical transforms it in url("/_dev/images/pizza.jpg");
is there a way of not having that /_dev/
prefix but just a /
, as of my folder structure that doesn’t work for me.
I’ve tried messing around with some critical options, but I can’t get it to work.
thanks you!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
Override the image path of a file node | Maya 2023
In the file node Attribute Editor, right-click the file path area of the Image Name attribute and select Create Absolute Override for ...
Read more >bootstrap-sass images not showing, or how to override a Gem ...
As you can see, it is using the project name as part of the path when it shouldn't. In my bootstrap_and_overrides.css.scss file I...
Read more >500K+ Product Images, how to override/replace ...
Hi, for a customers project we need to import a lot of product images (500000+) which will end up in the images folder....
Read more >Edit paths in Adobe Photoshop
Learn how to edit or adjust paths in Adobe Photoshop. ... You can override automatic switching of the Pen tool to the Add...
Read more >Override Rails3 CSS stylesheet and image path - gists · GitHub
Override Rails3 CSS stylesheet and image path. GitHub Gist: instantly share code, notes, and snippets.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@vlrprbttst have you tried setting
base
fo./_dev
?Closing this for now but feel free to re-open if anything doesn’t fit