Jump to content

No image shown for image field in admin


Recommended Posts

I'm migrating a work-in-progress to 2.6.19 and the admin pages (page edit) don't show images of the image field. See attached. If I click where it says "Processwire" I get the image in a popup. Any idea why? It's this way in the standard admin theme as well as Reno.

If I add an image to a page the new image appears there until I save the page then when the page reloads it's back to "Processwire" again.



EDIT: Oh good a clue!

/demo26/wire/modules/AdminTheme/AdminThemeReno/styles/main.css.map is coming up 404.


Link to comment
Share on other sites

Still perplexed. I found that the admin's edit page embeds this javascript. Seems pretty indiscriminate to do that to all the img tags.

$( "img" ).attr({
src: "",
title: "Processwire.com",
alt: "Processwire.com",
height: "23px",
width: "auto"

Note that it clobbers the src attribbute.

Haven't yet found where that comes from.


It was the AdminThemeCustomizer module (version 0.0.1). Uninstalled that and no more problem.

Weirdly, I had noticed that months ago and forgot about it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...