WordPress.org

Ready to get started?Download WordPress

Forums

wp_get_attachment_image_src show server path no domain path (1 post)

  1. alonsaints
    Member
    Posted 4 years ago #

    Hi,
    I have a big problem, I want create a gallery on my site, then I want show all images attached for each post, the problem is that,
    wp_get_attachment_image_src
    dont' work fine, the path that show is:
    home/public_html/wp-content/uploads/07/myimage.jpg

    For consecuence, I get no image,

    Someone can help me please, I need the domain path, no the server path, using wp_get_attachment_image_src template tag
    Thanks in advance,

Topic Closed

This topic has been closed to new replies.

About this Topic