File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -375,7 +375,10 @@ private function getRelativePath(): string
375375 */
376376 public function getFirstTimeUrl (): string
377377 {
378- return '/imageresize/ ' . $ this ->hash . '. ' . $ this ->outputExtension ();
378+ $ url = '/imageresize/ ' . $ this ->hash . '. ' . $ this ->outputExtension ();
379+ $ url = url ($ url );
380+
381+ return $ url ;
379382 }
380383
381384 /**
@@ -387,7 +390,10 @@ public function getFirstTimeUrl(): string
387390 */
388391 public function getCacheUrl (): string
389392 {
390- return '/ ' . $ this ->getRelativePath ();
393+ $ url = '/ ' . $ this ->getRelativePath ();
394+ $ url = url ($ url );
395+
396+ return $ url ;
391397 }
392398
393399 /**
Original file line number Diff line number Diff line change 2828 - Fix double slash issue in resized image URLs
29292.1.2 :
3030 - Clear old images (for the v2.1.0 directory change)
31- - clear_old_cache_dir.php
31+ - clear_old_cache_dir.php
32+ 2.1.3 :
33+ - Fix - Generate absolute URLs instead of domain-relative URLs
You can’t perform that action at this time.
0 commit comments