Skip to content
Snippets Groups Projects
Commit 843c78d2 authored by Patrick Barroca's avatar Patrick Barroca
Browse files

rel #37803 : fix form element image usage in album and media form

parent ed8b21f5
Branches
Tags
6 merge requests!1659Master,!1618Master,!1610Dev#35088 oai import in cosmogramme,!1595Master,!1588Hotline#30704 supprimer la vignette d un album ne supprime pas l information de vignette de la pseudonotice,!1569Hotline#30704 supprimer la vignette d un album ne supprime pas l information de vignette de la pseudonotice
......@@ -256,7 +256,7 @@ class ZendAfi_Form_Album extends ZendAfi_Form {
'escape' => false,
'basePath' => $album->getBasePath(),
'baseUrl' => $album->getBaseUrl(),
'thumbnailUrl' => $album->getThumbnailUrl(),
'thumbnailUrl' => $album->getBaseUrl(),
'actionUrl' => $this->getView()->url(['action' => 'album-delete-vignette'])]);
$vignette_element
......
......@@ -134,7 +134,7 @@ class ZendAfi_Form_Album_Ressource extends ZendAfi_Form {
$element
->setBasePath($model->getOriginalsPath())
->setBaseUrl($model->getThumbnailsUrl())
->setThumbnailUrl($model->getThumbnailUrl());
->setThumbnailUrl($model->getThumbnailsUrl());
}
return $this->addElement($element);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment