Image picker is using the css of the site theme rather than the administration theme (I think it should use the administration theme). Or have I missed an option for this somewhere?

CommentFileSizeAuthor
imagepicker.jpg34.86 KBdeshiknaves

Comments

hutch’s picture

Category: bug » feature

Does copying imagepicker.tpl.php (suitably edited) to your admin theme work for you?

deshiknaves’s picture

Hey. I'm using seven as my admin theme. I did try and copy imagepicker.tpl.php into the directory. Cleared cache, but it made no difference to how it was displayed.

hutch’s picture

Oh dear, I will have to try and figure out how D7 sets the theme for certain paths but not others, and how to add the Imagepicker Iframe to that or whatever.

hutch’s picture

Status: Active » Fixed

This feature has been added to the dev version, out shortly.
It turned out to be surprisingly easy, although undocumented.

deshiknaves’s picture

Awesome! Thanks a million for the help. Look forward to it.

hutch’s picture

Set it in config, at the bottom of the Iframe settings. I tested it with Seven only.

hutch’s picture

I have added a small improvement so that it only sets the admin theme if 'add/edit node in admin theme' is also set.

deshiknaves’s picture

Working perfectly. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.