Home>Support>How to get media to display on template?

How to get media to display on template?

I am trying to create a custom widget for page builder that allows me to select and use an image. Following the instructions from another thread, i used the wp_get_attachment_image_url() to get the image url from the widget, but it seems that it only gives me the url for the thumbnail of the image in the media selector. How do i get the full image?

This is a free community support forum. Replies are not guaranteed. If you need professional email support, please purchase a SiteOrigin Premium license.

  1. 11 days, 21 hours ago Nate Cunningham

    I have figured it out by looking at the existing SiteOrigin Image widget.

  2. 8 days, 10 hours ago Alex S Hi, I Work Here

    Hi Nate,

    I’m glad you were able to resolve this issue. I’m sorry I wasn’t able to be of assistance this time. Please be sure to post another thread if you have any other questions.

Please log in to post on our forums. Signing up is free.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More