No results behavior not working when using contextual filter with content id from url I have a problem displaying the no result behavior.
a view gives me an image depending on what page i am on. So i have setup a contextual filter of "content:nid". When the filter is not validated, i add a default value:"content ID from url".
When i go to the nodes, the image is shown. Nodes who do not have an image should show my default image that i put in the "no result behavior" section. 

The problem now is, that the filter does not validate when there is no image and just shows nothing. How do i get my view to show the "no result" ?

Kind regards
Assuming you are working with the default Article content type of Drupal 7.x
Your Content Type

You should add something similar to this in your NO RESULT BEHAVIOUR of your IMAGE field in your VIEWS

I'm attaching the exported VIEWS code, you can check that, create 2 dummy ARTICLES one with IMAGE and another without an IMAGE but remember to store a no-result.png image in your sites/default/files/styles/thumbnail/public
Views Code
$view = new view();
$view-&gt;name = 'preview';
$view-&gt;description = '';
$view-&gt;tag = 'default';
$view-&gt;base_table = 'node';
$view-&gt;human_name = 'Preview';
$view-&gt;core = 7;
$view-&gt;api_version = '3.0';
$view-&gt;disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Master */
$handler = $view-&gt;new_display('default', 'Master', 'default');
$handler-&gt;display-&gt;display_options['title'] = 'Image View';
$handler-&gt;display-&gt;display_options['use_more_always'] = FALSE;
$handler-&gt;display-&gt;display_options['access']['type'] = 'perm';
$handler-&gt;display-&gt;display_options['cache']['type'] = 'none';
$handler-&gt;display-&gt;display_options['query']['type'] = 'views_query';
$handler-&gt;display-&gt;display_options['exposed_form']['type'] = 'basic';
$handler-&gt;display-&gt;display_options['pager']['type'] = 'some';
$handler-&gt;display-&gt;display_options['pager']['options']['items_per_page'] = '10';
$handler-&gt;display-&gt;display_options['pager']['options']['offset'] = '0';
$handler-&gt;display-&gt;display_options['style_plugin'] = 'default';
$handler-&gt;display-&gt;display_options['row_plugin'] = 'fields';
/* Field: Content: Title */
$handler-&gt;display-&gt;display_options['fields']['title']['id'] = 'title';
$handler-&gt;display-&gt;display_options['fields']['title']['table'] = 'node';
$handler-&gt;display-&gt;display_options['fields']['title']['field'] = 'title';
$handler-&gt;display-&gt;display_options['fields']['title']['label'] = '';
$handler-&gt;display-&gt;display_options['fields']['title']['element_label_colon'] = FALSE;
/* Field: Content: Image */
$handler-&gt;display-&gt;display_options['fields']['field_image']['id'] = 'field_image';
$handler-&gt;display-&gt;display_options['fields']['field_image']['table'] = 'field_data_field_image';
$handler-&gt;display-&gt;display_options['fields']['field_image']['field'] = 'field_image';
$handler-&gt;display-&gt;display_options['fields']['field_image']['label'] = '';
$handler-&gt;display-&gt;display_options['fields']['field_image']['element_label_colon'] = FALSE;
$handler-&gt;display-&gt;display_options['fields']['field_image']['empty'] = '&lt;img src =&quot;../sites/default/files/styles/thumbnail/public/no-result.png&quot; /&gt;';
$handler-&gt;display-&gt;display_options['fields']['field_image']['click_sort_column'] = 'fid';
$handler-&gt;display-&gt;display_options['fields']['field_image']['settings'] = array(
  'image_style' =&gt; '',
  'image_link' =&gt; '',
);
/* Sort criterion: Content: Post date */
$handler-&gt;display-&gt;display_options['sorts']['created']['id'] = 'created';
$handler-&gt;display-&gt;display_options['sorts']['created']['table'] = 'node';
$handler-&gt;display-&gt;display_options['sorts']['created']['field'] = 'created';
$handler-&gt;display-&gt;display_options['sorts']['created']['order'] = 'DESC';
/* Contextual filter: Content: Nid */
$handler-&gt;display-&gt;display_options['arguments']['nid']['id'] = 'nid';
$handler-&gt;display-&gt;display_options['arguments']['nid']['table'] = 'node';
$handler-&gt;display-&gt;display_options['arguments']['nid']['field'] = 'nid';
$handler-&gt;display-&gt;display_options['arguments']['nid']['default_action'] = 'default';
$handler-&gt;display-&gt;display_options['arguments']['nid']['default_argument_type'] = 'node';
$handler-&gt;display-&gt;display_options['arguments']['nid']['summary']['number_of_records'] = '0';
$handler-&gt;display-&gt;display_options['arguments']['nid']['summary']['format'] = 'default_summary';
$handler-&gt;display-&gt;display_options['arguments']['nid']['summary_options']['items_per_page'] = '25';
/* Filter criterion: Content: Published */
$handler-&gt;display-&gt;display_options['filters']['status']['id'] = 'status';
$handler-&gt;display-&gt;display_options['filters']['status']['table'] = 'node';
$handler-&gt;display-&gt;display_options['filters']['status']['field'] = 'status';
$handler-&gt;display-&gt;display_options['filters']['status']['value'] = 1;
$handler-&gt;display-&gt;display_options['filters']['status']['group'] = 1;
$handler-&gt;display-&gt;display_options['filters']['status']['expose']['operator'] = FALSE;
/* Filter criterion: Content: Type */
$handler-&gt;display-&gt;display_options['filters']['type']['id'] = 'type';
$handler-&gt;display-&gt;display_options['filters']['type']['table'] = 'node';
$handler-&gt;display-&gt;display_options['filters']['type']['field'] = 'type';
$handler-&gt;display-&gt;display_options['filters']['type']['value'] = array(
  'article' =&gt; 'article',
);

/* Display: Page */
$handler = $view-&gt;new_display('page', 'Page', 'page');
$handler-&gt;display-&gt;display_options['path'] = 'preview';

Using the above VIEWS code you can access the output at http://&lt;your-host&gt;/preview/&lt;nid&gt;
Let me know if you face any issues.
Cheers!