# Image Asset Optimization Problem

**URL:** <https://answers.netlify.com/t/image-asset-optimization-problem/28787>\
**Category:** Support\
**Tags:** deployment\
**Created:** [December 22, 2020, 3:52am UTC](https://answers.netlify.com/t/image-asset-optimization-problem/28787 "2020-12-22T03:52:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![combustion-inc](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/combustion-inc/32/19965_2.png) [@combustion-inc](https://answers.netlify.com/u/combustion-inc)\
**Post date:** [December 22, 2020, 3:52am UTC](https://answers.netlify.com/t/image-asset-optimization-problem/28787/1 "2020-12-22T03:52:23Z")

</div>

Netlify newbie here. I attempted to use asset optimization in the post-processing settings under build&deploy. I selected bundle css and js, and minify css and js.

The cloud front links inserted into my HTML go to non-functional assets, although the original URLs are all relative links.

So my questions is: Why does asset optimization generate these non-functional links to the image assets?

The current site can be found at [https://staging.combustion.inc](https://staging.combustion.inc)

Right now, the code shows something like:

srcset="images/butcher-table-landscape-1280.webp 1280w /\>

And when this is run through asset optimization, the following is generated:

srcset="[https://d33wubrfki0l68.cloudfront.net/06fde940d5309d9c091fcb2c6698e734cf82c374/c0fc9/images/butcher-table-landscape-1280.webp](https://d33wubrfki0l68.cloudfront.net/06fde940d5309d9c091fcb2c6698e734cf82c374/c0fc9/images/butcher-table-landscape-1280.webp) 1280w /\>

But this link doesn’t link to a valid asset. Note, I’ve tried with other image formats other than webp and that doesn’t make a difference.

---

<div class="post-metadata">

**Author:** ![gregraven](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/gregraven/32/23821_2.png) [@gregraven](https://answers.netlify.com/u/gregraven)\
**Post date:** [December 22, 2020, 5:02pm UTC](https://answers.netlify.com/t/image-asset-optimization-problem/28787/2 "2020-12-22T17:02:18Z")

</div>

@combustion-inc Did you fix this already, or make changes on your end? I’m seeing what appears to be a fully-populated web page, with no image-loading errors … or cloudfront links, for that matter.

---

<div class="post-metadata">

**Author:** ![combustion-inc](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/combustion-inc/32/19965_2.png) [@combustion-inc](https://answers.netlify.com/u/combustion-inc)\
**Post date:** [December 29, 2020, 12:01am UTC](https://answers.netlify.com/t/image-asset-optimization-problem/28787/3 "2020-12-29T00:01:38Z")

</div>

Update: I resolved this by turning off assets optimization. This services is incompatible with Netlify LMS, as described in the LMS documentation.
