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. 10 months, 10 days ago Nate Cunningham

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

  2. 10 months, 7 days 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.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More