Have installed the maodule but it is not obvious how you then use it. Does it work with cck image?

Regards

Joe

Comments

manarth’s picture

Category: support » bug

Hi Joe,

At the moment it simple works as an input-filter: any image-tag where the filter is active will be rewritten to use the zoomit API.

Here are the steps to make this work:

1. Enable the module
2. Enable the input-filter for your chosen input-formats (see admin/settings/filters page)
3. Add an image-tag to a filtered-textarea (for example, a node-body) - i.e. Only local images are allowed.
4. The zoomit image should appear instead

I've changed this to a bug-report because the documentation needs improving.

I intend to make a couple of API changes for the next release (which will be beta):
- only images with the class 'zoomit' will be rendered with zoomit
- The image-buttons in WYSIWYG editors will have a tick-box to choose to render an image using zoomit (which will simply add the zoomit class to the image tag)
- better integration with CCK image

Follow this ticket for updates on these changes.

manarth’s picture

Assigned: Unassigned » manarth

Fixes committed to dev:

- hook_help implemented - now gives guidance at admin/help/zoomit
- hook_filter_tips implemented - provides guidance on using zoomit images in filtered textareas.

Still todo:
- add README documentation for module developers. I'll add this before issuing a stable release.

zoia’s picture

subscribe