Viewing 2 replies - 1 through 2 (of 2 total)
  • When you display images in a Post through your Gallery you should be given 3 opions for the Link – None, File URL or Post URL. Selecting ‘File URL’ should give you what you want.

    Failing that, if you are adding the images through a tamplate, try $image_url = wp_get_attachment_image_src( $attachment_id, $size, $icon ). This will return an array with the image src attrubutes in it – see the Function Reference for more information.

    Thanks.

    Thread Starter Everton

    (@everton)

    lol that simple.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘open images in posts like the media library’ is closed to new replies.