Remove docs about different tag names

psiska - April 2, 2008 - 12:29
Project:Inline
Version:5.x-1.1
Component:Documentation
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi

I just installed inline on a fresh Drupal 5.7 Installation, have testesd this behaviour on another server and another installation.

The inline module seems to throw two problems:

  1. It does not work without the "Imagecache" module (latest stable and dev version).
  2. It does not work properly with the "Imagecache" module enabled.

1. If you don't have Imagecache installed, the Inline module does not replace

[inline:x]

with an image. Instead it provides a link to the image.

2. If you turn Imagecache on, tags such as

[file:x] or [attachment:x]

containing images are ignored and images are rendered directly, as if you had used the [inline:x] tag.

Any ideas?

I also tried different filters, i had the inline filters turned on for "Full HTML" and "PHP Code", both yielded the same, strange results. I'm using latest PHP and apache server.

Regards,
Peter.

#1

sun - April 2, 2008 - 13:13
Priority:critical» normal

What happens if you increase the maximum image dimensions configuration option in Inline's settings? (without having Imagecache enabled)

#2

psiska - April 2, 2008 - 17:51

Hi sun

Thanks for your fast reply. I haven't had the chance to look at the code, on a train since one hour. I just tried your proposal, of course i missed that setting. However, the problem(s) persist.

<ul>
<li>[inline:mercury_001.jpg]</li>
<li>[file:mercury_002.jpg=Test]</li>
<li>[file:mercury_003.jpg]</li>
<li>[file:mercury_004.jpg]</li>
<li>[file:mercury_005.jpg]</li>
<li>[file:mercury_006.jpg]</li>
<li>[file:mercury_007.jpg]</li>
<li>[attachment:mercury_008.jpg]</li>
</ul>

The following list, with imagecache disabled (i set the dimensions for images in inline settings to "2000,2000", just to be sure), now displays the image, but it displays all the attachments as images. The "file" and "attachment" directive seems to be ignored.

If you like, i can give you one of my IMs and access to my test site, so you can have a look at it live.

Regards,
Peter
www.designchuchi.com

#3

psiska - April 15, 2008 - 06:49

After two weeks still no answer? Am I doing something wrong that the module is not working as it should? I followed the documentation pretty closely but still, i can't seem to be able to display images as links instead of inline images.

#4

sun - April 15, 2008 - 20:51
Title:Inline does not work without Imagecache» Remove docs about different tag names
Version:5.x-1.x-dev» 5.x-1.1
Component:Code» Documentation
Category:bug report» task

Actually, this feature has been removed a long time ago. Inline does not differentiate between inline, file, and attachment anymore, because users were already overstrained by entering just one tag name.

#5

psiska - April 16, 2008 - 05:34

Thanks.

So there's no way, without changing some of the module code, to displaying images as links with this module?

#6

sun - April 16, 2008 - 14:05

Probably not until Inline v2 has been released. However, tag name, syntax, and information in filter tags will differ from the current one.

 
 

Drupal is a registered trademark of Dries Buytaert.