The Aviary editor appears for a second then goes away.

Works on your demo site though.

My console says:
TypeError: AV.paintWidgetInstance is undefined
feather.js line 22

I even went in and hardwired version '3', and changed the theme to 'dark' (new for version 3), it just can't seem to load my image.

Any ideas?

Comments

AldenC’s picture

edited

duozersk’s picture

Version: 7.x-1.10 » 7.x-1.x-dev
Assigned: Unassigned » duozersk
Category: Bug report » Support request
Status: Active » Postponed (maintainer needs more info)

Kenneth,

Please try the latest dev version - 7.x-1.x-dev - it will go into the next stable in a couple of days. Please report if it works or not.

Thanks
AndyB

AldenC’s picture

Hi AndyB,

Great module and I really like the way you organized the code/files in the dev version.

After changing the line in aviary_feather.inc to:
// Loading_url is used to show smth while the image is loading.
'loading_url' => file_create_url(drupal_get_path('module', 'imageeditor') . '/plugins/editor/aviary_feather/aviary.ico'),

so it could find this ico, it worked!

If you don't mind, could you help me understand why this is important when called in the aviary.js line 37?

I have discovered some other problems with the other editors in dev if you want me to list them (but I expect you are aware).

Thanks again for the many hours you obviously put into this module!
Ken

duozersk’s picture

Status: Postponed (maintainer needs more info) » Active

Ken,

Thank you for using the module and for the follow-up! I do also like the new way the code is organized, ctools makes the plugins architecture so easy to create and maintain.

As for the issues - please report whatever you find (either in this issue or create a new one for every editor). I'm aware only about the issues with the editors that are marked in their description text like "NOT WORKING" or "CLOSED". I will review the code for the Aviary and fix the issue you reported - thanks for that!

Thanks again,
AndyB

duozersk’s picture

If you don't mind, could you help me understand why this is important when called in the aviary.js line 37?

http://developers.aviary.com/docs/web/setup-guide#constructor-config - the "image" parameter added in the js code is required by the Aviary SDK; I can't really recall my logic here, it has smth to do with the uploaders - but I decided to put an ico here and then give a "url" parameter for the image to be edited - might be changed ;)

duozersk’s picture

Status: Active » Fixed

Ken,

This commit - http://drupalcode.org/project/imageeditor.git/commit/4604430 - has fixes for Aviary Feather - I have removed this loading_url stuff altogether and done more improvements (like added the launchDelay and closeDelay settings).

Thanks
AndyB

AldenC’s picture

AndyB...the module is working wonderfully now. Thank you for getting back to me so quickly and helping me!

It think this is module provides a powerful feature that can be added to sites, thanks for making it possible. My site is for children to design and decorate on a canvas. I couldn't get the Create New to work exactly the way I wanted so I wrote a module that provides me with the default canvasses.

Providing this as an API is really appreciated. Someday I might be smart enough to use it in my own module, but for now the imageeditor_imagefield module is just what I needed.

Hint for anyone upgrading to the newer version...a clean install is very important and be sure to clear the caches.

I look forward to following the future of this module.

Thanks again for your hard work!
Ken

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.