Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I use the Foliopress WYSIWYG editor. I inserted overview-1.png via the 'Quick Insert Image' option. This added the following mark-up:

<img width="166" height="263" alt="overview 1" src="images/2012/01/overview-1.png" />

The width and height attributes are correct yet the editor can't find the src. But on the FE the img gets displayed.

How do I display the img in the WYSIWYG as well?

share|improve this question
    
Could you verify that it does in fact not find the src using a tool such as Firebug? In all likelihood it will be because almost everything in WordPress requires absolute addresses, and relative ones will mostly fail due to the complex system of redirects and rewrites. –  OleVik Jan 20 '12 at 13:48
    
Yes, I can verify that. I probably would use absolute paths, but foliopress is using relative ones. –  Mathias Jan 27 '12 at 8:36
add comment

1 Answer

up vote 0 down vote accepted

A base-Element in the front-end's header was the reason, why it worked in the fe but not in the editor.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.