I just installed the Media module v 7.x-2.0-alpha3 along with WYSIWYG, CKEditor, and Image Resize Filter. (The site has many other modules active.) The site also uses Display Suite, and its view modes are used for different types of images. My use case is for images embedded in the Filtered HTML text format, not as separate entities in a content type.
When an image is first embedded, its source code is like this:
[[{"fid":"161","view_mode":"default","fields":{"format":"default","field_file_image_alt_text[und][0][value]":"f asdfasdf"},"type":"media","attributes":{"alt":"alt text","class":"media-element file-default"}}]]
From my reading, I found that checking "Convert Media tags to markup" at mysite/admin/config/content/formats/filtered_html is required. I have verified that is active.
Instructions at https://www.drupal.org/node/1599070 include "Image resize filter" is AFTER "Convert Media tags to markup" and my filters are in that order.
If I double-click an embedded image in the CKEditor and make it a captioned image, then the Media tags are converted to markup. If a caption isn't added, the Media tags do not get converted.
Based on my configuration, can anyone suggest why the conversion is not occurring?
"
) are properly opened and closed in the node's body field, otherwise you wiil get unrendered items ([[{"type":"media","view_mode":"media_original","fid":"995"}}]]
). Perhaps this a media's module bug!