Needs review
Project:
Wysiwyg ImageField
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2011 at 20:52 UTC
Updated:
10 Feb 2013 at 23:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
gras-technik commentedI can confirm this bug. Is there any clue why this happens?
Comment #2
kpblcc commentedin wysiwyg_imagefield.js
UI Dialog is not created in the form. function "Drupal.wysiwygImageField.focus()" position dialog in the form.
Comment #3
jmones commentedsubscribe
Comment #4
jmones commentedI confirm that this problem exists and that solution proposed by @kpblcc in #2 works.
Comment #5
ericaordinary commentedAlso confirming that adding the line suggested in #2 has fixed the problem.
Comment #6
ericaordinary commentedOn a second look it appears my wysiwyg imagefield disappearing act is not related to editing and saving a node without opening the dialog box. Images are just disappearing on their own after being uploaded for a while, which makes me think it might be related to this problem: http://drupal.org/node/618654
I am running drupal-7.9 so that bug should have been fixed a few releases back. I'm also not having issues with any non-wysiwyg-imagefield images.
Comment #7
ericaordinary commentedAn update, I can confirm that the fix in #2 does work to stop imagefield from deleting the images when the node is edited.
Turns out my disappearing image problem after applying that fix was related to migrating the site from a dev to live environment, see http://drupal.org/node/1348994
Comment #8
crantok commentedSolution in #2 works for me too. It looks like nearly a year since a commit was made to this module but I've rolled a patch from #2 against the master branch anyway in case someone can commit it. I'm finding Media module problematic so I still really want to use Wysiwyg ImageField instead.
Comment #9
Carlos Miranda Levy commentedSame problem here, still exists.
Will try patch in #2
Comment #10
ericaordinary commentedFor all those using wysiwyg_imagefield, you should try using wysiwyg_fields module for the same functionality. I've been using it on a couple of D7 sites with success. A few bugs, but it generally works for images once you get your setup correct.
Comment #11
Carlos Miranda Levy commentedErica is right, module "Wysiwyg Fields is the successor to the Wysiwyg ImageField module." as it claims in its Frontpage and its written by the same author as this one Stuart Clark (deciphered).
I've tested it and I am currently using it on a live site without many complications. Works as expected including Colorbox integration.
Get it at http://drupal.org/project/wysiwyg_fields