Resolve #2754273 "Image styles fails"
2 unresolved threads
Closes #2754273
Merge request reports
Activity
Filter activity
added 52 commits
-
6eb195c0...52604be5 - 52 commits from branch
project:9.5.x
-
6eb195c0...52604be5 - 52 commits from branch
added 1 commit
44 45 * {@inheritdoc} 45 46 */ 46 47 public function processInbound($path, Request $request) { 47 $directory_path = $this->streamWrapperManager->getViaScheme('public')->getDirectoryPath(); 48 if (strpos($path, '/' . $directory_path . '/styles/') === 0) { 49 $path_prefix = '/' . $directory_path . '/styles/'; 48 $directory_path = NULL; 49 $files_base_url = Settings::get('file_public_base_url', ''); 50 if ($files_base_url) { 51 $url_parts = parse_url($files_base_url); 52 if (isset($url_parts['path'])) { 53 $directory_path = $url_parts['path']; 54 } 50 55 } 56 57 if (!$directory_path) { 50 51 // disabled image derivatives will always be served through the menu system. 51 52 // If clean URLs are enabled and the image derivative already exists, PHP 52 53 // will be bypassed. 53 $directory_path = $this->streamWrapperManager->getViaScheme('public')->getDirectoryPath(); 54 $directory_path = NULL; 55 $files_base_url = Settings::get('file_public_base_url', ''); 56 if ($files_base_url) { 57 $url_parts = parse_url($files_base_url); 58 if (isset($url_parts['path'])) { 59 $directory_path = $url_parts['path']; 60 } 61 } 62 63 if (!$directory_path) { added 177 commits
-
79140fac...1664c6f9 - 176 commits from branch
project:9.5.x
- fb6313b9 - Issue #2754273 by mickaelperrin, klausi: Image styles fails with absolute path...
-
79140fac...1664c6f9 - 176 commits from branch
Please register or sign in to reply