hello,
I went to the demo site but there are no samples for images.

I wonder whether it's possible/how to use the module to insert images in a body text of a book page.

Images are uploaded via upload module and attached to a page.

ulink image module is installed and enabled, ulink_image module implementation is set to cascade ...

In the body textarea, what do I need to put to show an image?

thanks
Jens

Comments

garthee’s picture

Thank you for your interest

I update demo with an image example, however as it is a publicly editable page, someone can change it.. :)

So here is the copy of the code

Image example
an image uploaded to files directory through drupal, thus listed in files table
[l|sites/default/files/image001.jpg]

Image which is inside accessible directories (ie within root directory) but not listed in files table.. here i took misc/druplicon.png
[l|misc/druplicon.png]
ansorg’s picture

ok, got it. Have pictures now showing up.

Currently the image name gets printed next to the image. Do I have to define a macro to change that?

And, on the demo site there seems to be some autocomplete in the edit form (textarea). How is this supposed to work? I don't have that in my form.

Thank you

garthee’s picture

You can decide and depending on your expertise you can choose
1. default
2. Macro
3. php

I will explain the first default here:
goto admin/settings/ulink/intern
and you will find settings related to ulink_image - module's implementation:

If you still don't get what you want send me the tag you entered and the output (html output) corresponding to that (you can get it through view > source )

The provided readme.txt should explain it well though :D

Then regarding auto completion, you have to enable uauto module which is also coming within ulink package
There are two types of autocompletion.
1. double click the word and if it finds anything relevant it will let you choose from a popup
2. enter as you do normally using ulink tag [l|my_text_begins_here.. and it will try to autocomplete as you type

Also check
http://drupal.org/projects/ulink

Hope this helps
Garthee

garthee’s picture

Status: Active » Closed (fixed)