SteveB Posted October 8, 2015 Share Posted October 8, 2015 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. Thanks, Steve 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 More sharing options...
LostKobrakai Posted October 8, 2015 Share Posted October 8, 2015 That .css.map thing is an issue, that I remember being fixed, but which certainly has nothing to do with that image issue. Link to comment Share on other sites More sharing options...
SteveB Posted October 8, 2015 Author Share Posted October 8, 2015 For some reason it's not putting anything in the "src" attribute of the image tag. The image really does exist and my (frontend) template has no trouble displaying it. Link to comment Share on other sites More sharing options...
SteveB Posted October 9, 2015 Author Share Posted October 9, 2015 Still perplexed. I found that the admin's edit page embeds this javascript. Seems pretty indiscriminate to do that to all the img tags. $(document).ready(function(){ $( "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. FIXED! 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now