• As I realize, wordpress is inserting <img src> into the post…. which I do not like, and trying to improve it by inserting <figure> tag, with mikrodata, ex:

    <figure itemprop="associatedMedia" itemscope itemtype="https://schema.org/ImageObject">
    	<img src="small-image.jpg" itemprop="image" alt="Image description" />
    
    	<figcaption itemprop="caption description">
    		Long image description
    
    		<span itemprop="copyrightHolder">Photo: AP</span>
    	</figcaption>
    </figure>

    Everything a I found are plugins which “trigger” on “insert to editor”, instead to trigger on shortcode on output, so, I have to “reinsert” all the images.

    I can say, this is wrong concept.

    Images should be inserted to editor with shortcode (ex: [image id=”123″]), and handle it at the moment of output… so the plugins can generate markup as needed.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Image into a post’ is closed to new replies.