Body: <p>I have three volumes: content, hero and overview.
  Each volume has his specific OptimizedImages Field(s).
  Asset Fields are restricted to its specific source volume.</p>
  
  <p>For example: A Super Table Field named hero that contains an Asset Field, which is restricted to the hero source volume.</p>
  
  <p>If an asset is set as a hero image and the client would move the asset in the asset manager to a different volume, two problems appear.</p>
  
  <ol>
  <li>On the entry, the image is set as hero image although the field doesn't allow an asset from an other source.</li>
  <li>In the template you can't call the hero OptimizedImages Field on the asset.</li>
  </ol>
  
  <p>Even if you provide multiple conditionals in the template and some kind of fallback image, the client still sees the image set in the Craft CMS backend.</p>
  
  <p>Any suggestions how to solve this problem without putting everything in one volume?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-18T17:52:01.940Z
Comments.Text: You could add the OptimizedImages field to each asset volume? But it sounds like the larger issue is you don't want the client to be able to move images from one asset volume to another?
Comments.UserDisplayName: andrew.welch
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-18T20:24:36.157Z
Comments.Text: @andrew.welch Well it would be great if the client could move assets between volumes but it doesn't seem possible in Craft CMS due to the asset field source restriction is not compatible with the multiple volumes feature. Adding a permission for moving assets between volumes would indeed be a solution.
Comments.UserDisplayName: wietse
Tags: <craft3><assets><plugin-imageoptimize>
Title: Move an asset to another volume with volume specific OptimizedImages Field and on the entry a volume restricted Asset Field
ThreadText: # Move an asset to another volume with volume specific OptimizedImages Field and on the entry a volume restricted Asset Field
  
  (Asked by: username_0 on 2019-02-18)
  
  I have three volumes: content, hero and overview.
  Each volume has his specific OptimizedImages Field(s).
  Asset Fields are restricted to its specific source volume.
  
  For example: A Super Table Field named hero that contains an Asset Field, which is restricted to the hero source volume.
  
  If an asset is set as a hero image and the client would move the asset in the asset manager to a different volume, two problems appear.
  
  1. On the entry, the image is set as hero image although the field doesn't allow an asset from an other source.
  2. In the template you can't call the hero OptimizedImages Field on the asset.
  
  Even if you provide multiple conditionals in the template and some kind of fallback image, the client still sees the image set in the Craft CMS backend.
  
  Any suggestions how to solve this problem without putting everything in one volume?
  
  **Tags:** craft3, assets, plugin-imageoptimize
  
  > **Comments:**
  > **username_1**: You could add the OptimizedImages field to each asset volume? But it sounds like the larger issue is you don't want the client to be able to move images from one asset volume to another?  
  > **username_0**: @username_1 Well it would be great if the client could move assets between volumes but it doesn't seem possible in Craft CMS due to the asset field source restriction is not compatible with the multiple volumes feature. Adding a permission for moving assets between volumes would indeed be a solution.  
  
  ---
  
  ## 0 answers
  
  