diff --git a/src/classes/entities/class-tainacan-item.php b/src/classes/entities/class-tainacan-item.php index 6bcdc4628..938902e42 100644 --- a/src/classes/entities/class-tainacan-item.php +++ b/src/classes/entities/class-tainacan-item.php @@ -509,9 +509,9 @@ class Item extends Entity { if ( wp_attachment_is_image($this->get_document()) ) { $img = wp_get_attachment_image($this->get_document(), $img_size); - $img_full = wp_get_attachment_image($this->get_document(), 'full'); + $img_full = wp_get_attachment_url($this->get_document()); - $output .= sprintf("%s", $url, $img); + $output .= sprintf("%s", $img_full, $img); } else {