When an image is inserted into a post with the new media manager, the <img> tag first lists the “class” and “alt” parameters before “scr”.
This is causing a problem with my template, since it looks at the post content and uses the first image to generate a thumbnail in the front page. (Long story short, we use this mechanism because some of the collaborators in the blog, are newbies to WP and forget to use “set feature image”. So we made it simple for them).
Does anyone know how to tweak the WordPress code in the new media manager, so it can put the “scr” parameter first in the <img> tag.
- The topic ‘IMG tag paramaters order in inserted image, need "scr" at the beginning.’ is closed to new replies.