Jump to content

Recommended Posts

Posted

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.

post-1371-0-70889600-1444336451_thumb.jp

Posted

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.

post-1371-0-38420000-1444339108_thumb.jp

Posted

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.

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...