{"id":2485,"date":"2026-10-20T08:34:08","date_gmt":"2026-10-20T07:34:08","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/default-image-for-listings\/"},"modified":"2026-10-20T08:38:59","modified_gmt":"2026-10-20T07:38:59","slug":"default-image-for-listings","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/default-image-for-listings\/","title":{"rendered":"How to set a default image for listings without photos"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When a listing has no images, GeoDirectory shows a fallback image instead. It checks these in order and uses the first one it finds:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>the listing&#8217;s logo, if the post type has a Logo field and the listing has one<\/li>\n\n\n\n<li>the Default Listing Image of the listing&#8217;s category, set under Places &gt; Categories when you edit a category<\/li>\n\n\n\n<li>the post type&#8217;s Default image, set under Places &gt; Settings &gt; General<\/li>\n\n\n\n<li>the Listing default image for the whole site, set under GeoDirectory &gt; Settings &gt; Design &gt; Archives<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">So for one placeholder across your whole directory, set the site-wide Listing default image. To vary it by category, set a Default Listing Image on each category.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Choose which fallbacks an image block uses<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The GD &gt; Post Images block has a &#8220;Fallback types&#8221; setting (<code>fallback_types<\/code>) that controls this list. If you don&#8217;t want the logo to be used as a stand-in for the listing photos, leave it out:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-html\">&#091;gd_post_images types=&#039;post_images&#039; fallback_types=&#039;cat_default,cpt_default,listing_default&#039;&#093;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To show only the logo somewhere, such as in a header area, use <code>&#091;gd_post_images types=&#039;logo&#039;&#093;<\/code>. The &#8220;Image types&#8221; setting (<code>types<\/code>) picks which uploaded images show, and the logo is only mixed into the post images when you list both.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The fallback images are shared by the listing as a whole. A logo or other image field can&#8217;t have its own separate default image.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More settings for this block are in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-post-images\/\">GD &gt; Post Images<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When a listing has no images, GeoDirectory shows a fallback image instead. It checks these in order and uses the first one it finds: So for one placeholder across your whole directory, set the site-wide Listing default image. To vary it by category, set a Default Listing Image on each category. Choose which fallbacks an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,432],"class_list":["post-2485","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-how-tos"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2485"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2485\/revisions"}],"predecessor-version":[{"id":2563,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2485\/revisions\/2563"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2485"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2485"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}