Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Images not displaying in content editor

Go to End

4 Posts   1215 Views


Community Member, 4 Posts

23 October 2010 at 1:29pm

I'm picking up a site that has been designed another web diesgner and they have images on their pages within their content, but it's not displaying up in their editor, at first I thought it was a CSS or .ss hack/build but it's not... even when I select the HTML option it's not coming up in the HTML viewer... Any thoughts?

Carbon Crayon

Community Member, 598 Posts

24 October 2010 at 12:21pm

Hi Stevo,

If the images are not in the WYSIWYG HTML then they must be being inserted some other way. Could you post the .ss file for that page. Are there any JS files being included in the page? Try removing all the Requirements in so it just outputs the template HTML and see if the images are still there.


--------------------------------------------------------------------------------- - Your one stop SilverStripe learning resource


Community Member, 4 Posts

27 October 2010 at 9:18am

Hi Aram,

Thanks for your reply, this is the file below. At the moment I've gotten around it by simply replacing the images with a white 1 pixel image with the same file name, but I'd like to fix it properly.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns="" xml:lang="en" >

<% base_tag %>
<link rel="shortcut icon" href="/favicon.ico" />

<!--[if IE 6]>
<style type="text/css">
@import url(themes/blackcandy/css/ie6.css);

<!--[if IE 7]>
<style type="text/css">
@import url(themes/blackcandy/css/ie7.css);
<div id="wrap">
<div id="header" >
<a href="/"><h1 class="logo"><span>TAPS Training and Apprentice Plumbing Service</span></h1></a>

<div id="Navigation">
<% include Navigation %>

<% if Level(3) %>
<div id="main" class="level3">
<% else %>
<div id="main" class="level2">
<% end_if %>
<div id="subNav">

<% include SideBar %>


<% if Level(3) %>

<% else %>

<% end_if %>

<div id="Footer">
<% include Footer %>
</div><!--end foooter-->
</div><!--end wrap-->

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E"));
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-7838523-1");
} catch(err) {}</script>

Ryan M.

Community Member, 309 Posts

27 October 2010 at 2:45pm

You pasted the top-level template. Dig deeper into the Layout folder and find the right template.