GeoDirectory SupportInfoWindow Image Size – GeoDirectory Support https://wpgeodirectory.com/support/topic/infowindow-image-size/feed Wed, 11 Feb 2026 03:01:38 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/infowindow-image-size/#post-18170 <![CDATA[InfoWindow Image Size]]> https://wpgeodirectory.com/support/topic/infowindow-image-size/#post-18170 Mon, 13 Oct 2014 09:20:56 +0000 Rich B Hi Guys

Im using a custom infoWindow based on the function from Vikas in this post:
https://wpgeodirectory.com/support/topic/change-layout-of-google-info-box/

Ive copied and changed the original infoWindow code but I want to make the preview image the infoWindow loads a thumbnail so that it does not create a heavy load on the site.

Looking at the original code below used to load the image, how would I make it load the WP thumbnail or a custom image size instead?


$post_images = array();
if(!empty($postinfo_obj->post_images))
$post_images = explode(",",$postinfo_obj->post_images);

Thanks!

]]>
https://wpgeodirectory.com/support/topic/infowindow-image-size/#post-18178 <![CDATA[Reply To: InfoWindow Image Size]]> https://wpgeodirectory.com/support/topic/infowindow-image-size/#post-18178 Mon, 13 Oct 2014 12:04:07 +0000 Stiofan O'Connor There is not super easy way, u could try something like this http://wordpress.stackexchange.com/questions/128538/image-resize-with-image-url or something like timthumb script.

Stiofan

]]>
https://wpgeodirectory.com/support/topic/infowindow-image-size/#post-18247 <![CDATA[Reply To: InfoWindow Image Size]]> https://wpgeodirectory.com/support/topic/infowindow-image-size/#post-18247 Mon, 13 Oct 2014 20:42:42 +0000 Rich B Stiofan Thanks!
Thats perfect, im just going to use a simplified version of the string replace as the images i’m using will all be cropped to an exact size.

]]>