diff --git a/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php b/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
index <HASH>..<HASH> 100644
--- a/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
+++ b/src/Caouecs/Sirtrevorjs/Converter/ImageConverter.php
@@ -53,7 +53,7 @@ class ImageConverter extends BaseConverter implements ConverterInterface
      */
     public function imageToHtml()
     {
-        if (empty($this->data['file.url'])) {
+        if (empty($this->data['file']['url'])) {
             return '';
         }
 
@@ -63,7 +63,7 @@ class ImageConverter extends BaseConverter implements ConverterInterface
             $text = $this->parser->toHtml($text);
         }
 
-        $url = $this->data['file.url'] ?? '';
+        $url = $this->data['file']['url'] ?? '';
 
         try {
             $size = getimagesize($url);
change get file url in data array