Closed (fixed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Media WYSIWYG View Mode
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2013 at 23:05 UTC
Updated:
26 Aug 2015 at 21:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drasgardian commentedComment #2
bneil commentedComment #3
gmclelland commentedThis worked for me. Thank you It prevents the media_wysiwyg_view_mode dialog from initially show a huge preview image. Instead it shows the a file icon with a link, which is the way it used to work.
The problem can be seen on simplytest.me with the https://drupal.org/project/media_dev
Simply embed an image using the wysiwyg on an article. In the dialog the image will be really big initially until you change the ajaxed view mode select dropdown.
Comment #4
gmclelland commentedClosing as a duplicate of #2155931: Media Wysiwyg View Mode Preview Image doesn't remember the View Mode of the embedded media which is now marked as fixed. Please reopen if it is still an issue.
Comment #5
David_Rothstein commentedThat issue is about going back into the media dialog after the image has already been placed, but this is about initially inserting the image and is still reproducible.
Here's an updated patch, taking the changes that were committed in #2155931: Media Wysiwyg View Mode Preview Image doesn't remember the View Mode of the embedded media into account.
Comment #6
ksiebel commentedI have fixed this issue by setting the variable.
For example:
drush vset media_wysiwyg_wysiwyg_default_view_mode "wysiwyg"Comment #7
dave reidI believe this is resolved with #2158177: Confusing UI for WYSIWYG view modes now.