21301 Posts in 5735 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 671 Views |
-
Preview full size image in FileIFrameField

20 January 2011 at 3:35am Last edited: 20 January 2011 3:35am
When using a FileIFrameField the image selected is shown as a thumbnail - if there is an attached image is there a way of seeing it full size easily?
(I imagine it's a hack to sapphire\templates\FileIFrameField.ss) -
Re: Preview full size image in FileIFrameField

20 January 2011 at 3:44am
to answer my own question...
<% if AttachedFile %>
<div class="mainblock">
$AttachedFile.CMSThumbnail
<br /><a href="$AttachedFile.Link" target="_imagepreview">see full image</a>
<% if DeleteFileForm %>
$DeleteFileForm
<% end_if %>
</div>
<% end_if %> -
Re: Preview full size image in FileIFrameField

23 March 2011 at 11:47pm
Is there a way to do this without hacking the core?
-
Re: Preview full size image in FileIFrameField

24 March 2011 at 4:49am
I'd guess that if I inherited, overrode or decorated stuff I could do it - but I was interested in short term getting a fullsize preview on that day - it's not something I put out there onto live. Still interested in any answers to this
| 671 Views | ||
|
Page:
1
|
Go to Top |


