Adding Inline Images

sreerc - February 4, 2005 - 04:21

I have installed the Inline Images module - but every time I try to use it opens the child window but tells me that there are no images.
I have loaded a bunch of images under my image gallery as well as in the general gallery, but it tells me that I have no images to choose from. What am I doing wrong?

Thanks in advance

Inline module

matteo - February 4, 2005 - 08:45

If you're referring to inline module, it does not take into consideration images loaded via image.module.

The use of inline module is in conjunction with upload module.
When you create any node type, you upload with that node any files you need and reference them by name or by relative ordering number into node body.
suppose you upload in this order:
image1
image2
pdffile1

you can put into the node body a reference ONLY to the files uploaded (not to files uploaded with other nodes).

[inline:1] shows image1 and so on.
if you specify [inline:3] a link to pdffile will be shown.

Please read readme.txt and help tips for more info.
Hope it will be useful to you.

Please be sure to use CVS version.

Matteo

Inline images

sreerc - February 4, 2005 - 12:45

Matteo
Thanks for the quick response. I will give that a try.

How about the link I get at the bottom that says add image. What does that refer to?

Also, I see a lot about the upload module - but I don;t see any upload button - I am assuming that it is the Attachment button at the bottom. Would it be possible for you to quickly explain how to use that?

Thanks

Inline images

matteo - February 4, 2005 - 13:07

That link is related to image.module, I think.
To use inline module there is no link at the end of the form; you simply add the tag inside node body.
In order to use upload module, you need to enable it, configure it and give the proper permissions to users in order to use it.
Once enabled , you can upload files to a node by simply specifying a file name in the attachment box and clicking on 'Attach' before saving the node.
Once uploaded the files, you can save the node and the attached files.
You can list the files attached to a node by clicking on the 'List' checkbox right to every file.
you can also remove the file, and it will be deleted also from the directory.
When using inline module, don't set the 'List' checkbox, since it is useless.

One more thing; if you ever implement a node_level access security, also files uploaded with a 'hidden' node can be protected, but you have to specify a 'private' download method.
Hope it helps
Matteo

Matteo

I think you are confusing

iraszl - February 4, 2005 - 13:54

I think you are confusing three modules.

1. upload:
This is the module that gives you the attachement box at the end of your posts.

2. inline:
This one works with upload. You may link to files uploaded with the current node using special tags. The tags will be replaced by the corresponding files. For example: [inline:2] will be replaced by the 2nd file uploaded with the node.

3. image_assist:
This module gives you the "+" icon at the end of your posts. This one can display your image as well, but in this case you have the option to decide if you want image_assist to take the image from the upload or from the gallery. However, you can't have both options at the same time. Since inline does a good job a displaying attachments, you would only use image_assist if you had to display images from the gallery.

Hope i cleared up some confusion.

---
http://creativebits.org

Issues with [inline:N] tag

dlo001 - February 8, 2005 - 15:17

I have installed inline module and seems to work fine for most content I tested except for weblinks.

when you go directly to www.mysite.com/?q=weblink/view/6 the [inline:N] tag shows up. Am I not associating it right? Also what lines of code do I need to patch with the latest patch. Not sure how to apply the patch.

More info, please

matteo - February 8, 2005 - 16:57

I'm working with Drupal 4.5.2 and latest CVS inline module and all works fine.
Weblink is CVS version.
which versions are you running ??

Matteo

Patches

matteo - February 8, 2005 - 16:57

Download CVS version. It has all fixes already applied.

Matteo

You are right... Sorry

sreerc - February 9, 2005 - 00:59

Thanks all
I tried all three methods and none of them work.
This is what I have done...

1. I have uploaded a few images
2. I have tried using the img_assist module, but it tells me there are no images avaialble.
3. I tried using the attachments that come with the nodes, did an upload and tried the inline method - no luck

I am beginning to wonder if it has something to do with taxonomy...

Inline in Reply

negativerad - February 17, 2005 - 22:13

WHy can't i use inline with reply but only as author of a thread?

Inline Images should be a breeze, but...

manObject - May 29, 2008 - 19:07

I find I cannot get Drupal to co-operate with regard to completing the server path to existing inline images.
In my .tpl files, I use the function call:

url($directory)

to provide the path to my images folder, but It doesn't work with php code snippets placed inside the html content of nodes even though I have enabled both the php code filter and the full html filter.

Do I really need to install a module to handle something as rudimentary as this?

Surely something as fundamental to html as inline images should be provided in the Drupal core?

I really need to be able to add inline images because I have a lot of legacy html to convert.

I like the power of Drupal but surely it should also be able to handle the simple chores without any hassles?

IMCE

-Anti- - May 29, 2008 - 19:40

> I really need to be able to add inline images because I have a lot of legacy html to convert.

Have you tried the IMCE module, which is an image/file manager and browser?
http://drupal.org/project/imce

It allows you to manage your images/files using your server's directory-tree structure,
giving role-based access to users. Each user can also automatically have their own
personal upload folder (with a size quota, again based on role)!

You open the file browser using a link placed below the composing textfields. The browser allows
you to then browse, upload, select, and send an image/file to your text field for
inline use
. IMCE is also compatible with several of the popular editor modules like TinyMCE.

It's my favourite module so far, and should really be core, as far as I'm concerned!

 
 

Drupal is a registered trademark of Dries Buytaert.