Skip to content

Commit

Permalink
Add FIXME note
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomozart committed Jun 21, 2023
1 parent e93a956 commit 2e3f6a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ODT/ODTUtility.php
Expand Up @@ -197,6 +197,7 @@ public static function getImageSize($src, $maxwidth=NULL, $maxheight=NULL){
if(file_exists($src)) {
$info = getimagesize($src);
} else {
// FIXME: Add cache support for downloaded images.
$fetch = (new DokuHTTPClient())->get($src);
if(!$fetch) {
return array(0, 0);
Expand Down

0 comments on commit 2e3f6a7

Please sign in to comment.