Skip to content

Commit

Permalink
bug fixed:visitSitefileImage path
Browse files Browse the repository at this point in the history
  • Loading branch information
sanluan committed Sep 10, 2024
1 parent 766290d commit 0a98414
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="image-list">
<a href="cmsTemplate/viewSitefile.html?name=${a.fileName?url}&showImport=true" target="dialog" rel="sitefile_${a?counter}" width="1000" height="600">
<#if (sitefile.cover)?has_content>
<img src="${base+adminContextPath}/visitSitefileImage?sitefile=${a.fileName}&imageFile=${sitefile.cover}" alt="${a.fileName}" title="${a.fileName}">
<img src="${base+adminContextPath}/cmsTemplate/visitSitefileImage?sitefile=${a.fileName}&imageFile=${sitefile.cover}" alt="${a.fileName}" title="${a.fileName}">
<#else>
<i class="thumb icon-file-alt icon-large"></i>
</#if>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dt><@t.page 'cover'/>:</dt>
<dd>
<div class="thumbnail">
<img src="${base+adminContextPath}/visitSitefileImage?sitefile=${name!}&imageFile=${sitefile.cover}" alt="${(sitefile.name)!name}"/>
<img src="${base+adminContextPath}/cmsTemplate/visitSitefileImage?sitefile=${name!}&imageFile=${sitefile.cover}" alt="${(sitefile.name)!name}"/>
</div>
</dd>
</dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="image-list">
<a href="cmsTemplate/viewSitefile.html?name=${a.fileName?url}" target="dialog" rel="sitefile_${a?counter}" width="1000" height="600">
<#if (sitefile.cover)?has_content>
<img src="${base+adminContextPath}/visitSitefileImage?sitefile=${a.fileName}&imageFile=${sitefile.cover}" alt="${a.fileName}" title="${a.fileName}">
<img src="${base+adminContextPath}/cmsTemplate/visitSitefileImage?sitefile=${a.fileName}&imageFile=${sitefile.cover}" alt="${a.fileName}" title="${a.fileName}">
<#else>
<i class="thumb icon-file-alt icon-large"></i>
</#if>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="image-list">
<a href="cmsTemplate/viewSitefile.html?name=${a.fileName?url}" target="dialog" rel="sitefile_${a?counter}" width="1000" height="600">
<#if (sitefile.cover)?has_content>
<img src="${base+adminContextPath}/visitSitefileImage?sitefile=${a.fileName}&imageFile=${sitefile.cover}" alt="${a.fileName}" title="${a.fileName}">
<img src="${base+adminContextPath}/cmsTemplate/visitSitefileImage?sitefile=${a.fileName}&imageFile=${sitefile.cover}" alt="${a.fileName}" title="${a.fileName}">
<#else>
<i class="thumb icon-file-alt icon-large"></i>
</#if>
Expand Down

0 comments on commit 0a98414

Please sign in to comment.