Closed jawngee closed 2 years ago
Did you solve it?
If you have a subfolder, just add it in your imgix path.
'imgixDomains' => [ 'images' => 'somename.imgix.net/subfoldername', ],
@jawngee does ☝️ fix it?
FYI @skramstad fix breaks purging.
This is becuase the src/services/ImgixService.php and src/models/ImgixModel.php generate the URLs differently
Rather than change the way the ImgixModel works to fix the purging issue I've changed the way the purging url generation logic works to use the same logic as the ImgixModel
The fix from #28 is out now in 3.0.0
If I've defined a subfolder for the asset volume, the generated imgix URLs don't include the subpath which leads to broken 404 error'd images.
Am I doing something wrong?
(Sorry, initially commented on the wrong repo).