Domanda

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

È stato utile?

Soluzione 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.

Altri suggerimenti

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());

}

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top