Title: Maklerbild API
Last modified: December 9, 2021

---

# Maklerbild API

 *  Resolved [storymarketingconsultant](https://wordpress.org/support/users/storymarketingconsultant/)
 * (@storymarketingconsultant)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/maklerbild-api/)
 * Hallo liebes Support-Team,
 * mit welcher best practice kann man per API das hinterlegte Maklerbild in onOffice
   auf die Webseite übertragen?
 * Wir haben im Detail-View-Template eine Makler-Infobox erstellt mit dem wir automatisch
   die Maklerinformationen wie Name und Telefonnummer per API von onOffice ziehen,
   leider haben wir noch keine Einstellung dafür gefunden auf das hinterlegte Makler-
   Profilbild zuzugreifen und dieses per API auszuspielen.
 * (Zur Info: ich bin nicht der Entwickler sondern der Projektmanager und daher 
   die einfachen Formulierungen)
 * Ich bitte euch um eine Lösung 🙂
 * Vielen Dank
    Storymarketingconsultant

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [onOffice GmbH](https://wordpress.org/support/users/onofficeweb/)
 * (@onofficeweb)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/maklerbild-api/#post-15147531)
 * Hallo [@storymarketingconsultant](https://wordpress.org/support/users/storymarketingconsultant/),
 * danke für die Frage! Wenn ich es richtig verstehe, geht es darum, auf der Detailseite
   einer Immobilie für den Ansprechpartner ein Bild anzuzeigen.
 * In den Einstellungen der Detailseite gibt es in “(unnamed category)” das Feld“
   Image”. Wenn dieses zur Feldliste für den Ansprechpartner hinzugefügt wird, dann
   kann man im Template per `$contactData['imageUrl']` die URL zum Bild abrufen 
   und in ein `<img>` einsetzen.
 * Ich hoffe, dass ich weiterhelfen konnte.
 * Beste Grüße
 * Johannes
 *  Thread Starter [storymarketingconsultant](https://wordpress.org/support/users/storymarketingconsultant/)
 * (@storymarketingconsultant)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/maklerbild-api/#post-15157443)
 * Vielen Dank Johannes!
 * Du hast unser Problem mit der tollen Erklärung gelöst :)!
 * LG
 *  Plugin Author [onOffice GmbH](https://wordpress.org/support/users/onofficeweb/)
 * (@onofficeweb)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/maklerbild-api/#post-15157447)
 * Das freut mich. 🙂
 *  [marcus235423](https://wordpress.org/support/users/marcus235423/)
 * (@marcus235423)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/maklerbild-api/#post-15163957)
 * Hallo zusammen,
 * super Lösung, Danke! Es funktioniert bei mir wenn ich direkt die Datei: onoffice-
   for-wp-websites/templates.dist/estate/default_detail.php um folgendes erweitere:
 * <span><?php echo ‘⌊Bild des Immoblienansprechpartners⌉‘; ?></span>
 * Wenn ich dann diese funktionierende Datei 1:1 nach onoffice-personalized/templates/
   estate/default_detail.php kopiere und diesen Pfad in der Detailansicht auswähle,
   fehlt die ganze rechte Spalte mit Ansprechpartner und Expose und der restliche
   Inhalt ist nicht mehr so breit wie ursprünglich und sieht merkwürdig aus. Z.B.
   ich habe nicht mehr das Hauptbild mit den Bild-Scroll-Buttons sondern alle Bilder
   werden untereinander angezeigt u.v.m.
 * Ich kann gern auch der Übersicht wegen, einen neues Ticket aufmachen.
 * Viele Grüße
    Marcus
    -  This reply was modified 4 years, 6 months ago by [marcus235423](https://wordpress.org/support/users/marcus235423/).
    -  This reply was modified 4 years, 6 months ago by [marcus235423](https://wordpress.org/support/users/marcus235423/).
 *  Plugin Author [onOffice GmbH](https://wordpress.org/support/users/onofficeweb/)
 * (@onofficeweb)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/maklerbild-api/#post-15164854)
 * Hallo Marcus,
 * du kannst gerne ein neues Topic aufmachen, da dieses ja bereits als erledigt 
   markiert ist.
 * Kannst du dort auch Screenshots des Problems verlinken? Ich kann das Problem 
   aktuell auf z. B. [https://karvo-immobilien.de/immobilienansicht-im-detail/295/](https://karvo-immobilien.de/immobilienansicht-im-detail/295/)
   nicht nachstellen.
 * Freundliche Grüße
 * Johannes
 *  [marcus235423](https://wordpress.org/support/users/marcus235423/)
 * (@marcus235423)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/maklerbild-api/#post-15165292)
 * Hi, ich habe gesehen, dass alles ok ist, mein Fehler und nochmals Danke!
 *  Plugin Author [onOffice GmbH](https://wordpress.org/support/users/onofficeweb/)
 * (@onofficeweb)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/maklerbild-api/#post-15165833)
 * Hi Marcus,
 * alles gut! Uns hilft es, von jedem Problem zu wissen. Dann können wir nämlich
   überlegen, ob und wie wir das im Plugin beheben können. Benachrichtige uns also
   gerne bei Schwierigkeiten mit dem Plugin!
 * Freundliche Grüße
 * Johannes

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Maklerbild API’ is closed to new replies.

 * ![](https://ps.w.org/onoffice-for-wp-websites/assets/icon-256x256.png?rev=3132461)
 * [onOffice for WP-Websites](https://wordpress.org/plugins/onoffice-for-wp-websites/)
 * [Support Threads](https://wordpress.org/support/plugin/onoffice-for-wp-websites/)
 * [Active Topics](https://wordpress.org/support/plugin/onoffice-for-wp-websites/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/onoffice-for-wp-websites/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/onoffice-for-wp-websites/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 7 replies
 * 3 participants
 * Last reply from: [onOffice GmbH](https://wordpress.org/support/users/onofficeweb/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/maklerbild-api/#post-15165833)
 * Status: resolved