Uploaded Image doesn't show as base image in frontend and thumbnail at backend (Magento 2.2.3)

magento.stackexchange https://magento.stackexchange.com/questions/222129

문제

Suddenly I'm having an issue regarding uploaded images. They are on the backend (Images And Videos ) but does not show as a base in frontend and thumbnail at the backend. After uploading an image also, the "upload" option goes missing and I just see a loading gif beside the uploaded image. I've attached images. Do you guys know why it's happening? Could be server issues?

Backend

Backend

Backend

Frontend

UPDATE: I noticed i got this error "A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later." after saving

도움이 되었습니까?

해결책 2

Have to adjust the attributes in default, as somewhat it has been changed suddenly. Which I don't know how it happened. Added the attributes to Image and then the roles appeared again.

다른 팁

in image.php file

public function getPath()

{
    return $this->getRelativePath($this->context->getPath());
}

just replace this by this

public function getpath()

{

$result = $this->context->getPath();
$result = $this->join($result, $this->getModule());

$result = $this->join($result, $this->getMiscPath());

return $this->join($result, $this->getFilePath());

}

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top