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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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

"Insert Image" Button Missing


Go to End


17 Posts   6206 Views

Avatar
Stompit

Community Member, 17 Posts

19 September 2009 at 1:34am

Yup, weird huh? When clicking the insert image TinyMCE button the right hand pane appears, everything seems to work in the pane no probs, only problem is that there is no Insert Image button! Is missing for IE, FF and Chrome.

Anyone heard of this happening? I'm not having any luck searching the forum or google.

Thanks
Duncan

Avatar
Stompit

Community Member, 17 Posts

21 September 2009 at 2:02pm

Anyone?? :)

Avatar
bummzack

Community Member, 904 Posts

21 September 2009 at 5:19pm

Is there a browser, where the Button actually shows?
I would start with a look at Firebug (http://getfirebug.com), check if you get any JS Errors (Console Tab) or maybe files that aren't loading (Net Tab).

Avatar
Stompit

Community Member, 17 Posts

23 September 2009 at 1:30pm

Thanks banal,
I've attached a grab of the image pane, not sure if that helps at all. I checked firebug: when I click the image icon in TinyMCE the image pane appears (as attached), firebug does not report anything in the console or net tab :(

When looking through the markup for the page I did notice that the insert image button is atleast in the code:
<div class="Actions">
<input class="action" id="Form_EditorToolbarImageForm_action_insertimage" type="submit" name="action_insertimage" value="Insert image" title="Insert image" />
</div>

So I wonder why it is not showing up in any browsers?

Any help would be greatly appreciated.

Duncan

Attached Files
Avatar
bummzack

Community Member, 904 Posts

23 September 2009 at 6:56pm

In Firebug, switch to the HTML tab and select the input element (try the surrounding div too). Then check the css associated with that element (should appear on the right in the "Style" tab). There, you should be able to see if the element was hidden with display: none or visibility: hidden. If that's the case, just look where that style was defined and go remove it...

Avatar
Stompit

Community Member, 17 Posts

25 September 2009 at 12:05pm

Edited: 28/09/2009 8:52pm

Thanks Banal,
This Firebug thingo is really handy :) I checked out the elements, results attached. There does not appear to be anything amiss with the markup or css, I am guessing there is probably a bit of javascript interaction somewhere that could be the culprit?

The thing that gets me is that there has been no customisation of the CMS, I have not added anything other than the standard installation. There does not appear to be any other reports of this issue anywhere else and upgrading to the latest version of Silverstripe also had no effect.

Thanks a million for your help with this, at least I can rule out a couple of things.

Best Regards
Dunc

Avatar
bummzack

Community Member, 904 Posts

25 September 2009 at 7:53pm

That's really weird. It looks like the element is there and visible, but it's outside of the visible area (the surrounding container has probably a overflow: hidden property). It seems as if there is a problem with the CMS layout calculation (which is being done usingT JavaScript).

To narrow the source of the problem down, I suggest you do the following:
Login to http://demo.silverstripe.com/ and look if it works there. If yes, it must be a problem with your SilverStripe installation, otherwise it's probably some browser or even OS problem.
If possible, check with as many browsers as possible, maybe even on other computers.

Avatar
Stompit

Community Member, 17 Posts

28 September 2009 at 8:59pm

Thanks Banal, I've done a fresh install and its working fine there, so I'm going to port the content across to the new install then switch the re-direct. I'm checking at each stage of the refresh to see if it rears it's ugly head again!

Will let you know what I find, thanks for your insight tho :)

Go to Top