How to get the previous or next two entries with images and To expand upon How to get the previous or next two entries I was wondering how I can also add the image and an input from each entry.

I have simplified the html-structure in this example but essentially what I want to add is:
entry.portfolioImage.one and row.kundenavn from row in entry.kunde.

The links and entry title is working.

{# Set parameters for prev/next elements list #}
{% set params = craft.entries.section('portfolio').order('title desc') %}

{# Get the prev/next elements #}
{% set prevEntry = entry.getPrev(params) %}
{% set nextEntry = entry.getNext(params) %}

{# And make sure to only output the links if the element exists #}
{% if prevEntry %}
  &lt;a class="project" data-type="image" href="{{ prevEntry.url }}"&gt;
    &lt;img
      src="{{ entry.portfolioImage.one().getUrl('progressivePortfolio') }}"
      data-src="{{ entry.portfolioImage.one().getUrl() }}"
    &gt;
    &lt;h3&gt;{{ prevEntry.title }}&lt;/h3&gt;
    &lt;div class="project-client pink bold"&gt;
      {% for row in entry.kunde %}
          {{ row.kundenavn }}
      {% endfor %}
    &lt;/div&gt;
  &lt;/a&gt;
{% endif %}
{% if nextEntry %}
  &lt;a class="project" data-type="image" href="{{ nextEntry.url }}"&gt;
    &lt;img
      src="{{ entry.portfolioImage.one().getUrl('progressivePortfolio') }}"
      data-src="{{ entry.portfolioImage.one().getUrl() }}"
    &gt;
    &lt;h3&gt;{{ nextEntry.title }}&lt;/h3&gt;
    &lt;div class="project-client pink bold"&gt;
      {% for row in entry.kunde %}
          {{ row.kundenavn }}
      {% endfor %}
    &lt;/div&gt;
  &lt;/a&gt;
{% endif %}
Bratvold, what do you mean with "input"? 

Actually, if you can get the title of your prev-item, you can get everything of it. 

{% if prevEntry %}
  &lt;a class="project" data-type="image" href="{{ prevEntry.url }}"&gt;
    &lt;img
      src="{{ prevEntry.portfolioImage.one().getUrl('progressivePortfolio') }}"
      data-src="{{ prevEntry.portfolioImage.one().getUrl() }}"
    &gt;
    &lt;h3&gt;{{ prevEntry.title }}&lt;/h3&gt;
    &lt;div class="project-client pink bold"&gt;
      {% for row in prevEntry.kunde.all() %}
          {{ row.kundenavn }}
      {% endfor %}
    &lt;/div&gt;
  &lt;/a&gt;
{% endif %}