I have an ensemble similar to the one described in http://mustardseedmedia.com/podcast/episode29

FileField 6.x-3.1
FileField Insert 6.x-1.x-dev
FileField Paths 6.x-1.3
ImageField 6.x-3.1
ImageAPI 6.x-1.6
ImageCache 6.x-2.0-beta9
Image resize filter 6.x-1.4
TineMCE 3.2.5

I also use tokens for the automatic path creation for the image upload, namely [ogname]/[yyyy] (organic groups).

When just using imagefield and imagecache, it works.

When adding filefield insert (and image resize, but that doesn't seem to be the problem), the source for the resized image looks as follows (e.g.):

<img src="/drupal-6.12/%3Fq=system/files/%255Bogname%255D/%255Byyyy%255D/files/2009-06-09_0153s.png" alt="" height="336" width="534" />

Obviously the tokens are not interpreted correctly.

Also: even when I adjust it for the content type, the old, BROKEN tokens keep getting used. Flushing caches and switching off Image-resize was without effect.

Looking forward to the next version of this module, because it's wonderful for what I need :)

Comments

antix’s picture

Same problem here.

quicksketch’s picture

It looks like FileField Insert might be over-escaping the HTML when it inserts it, however even when inserted it will still maintain the tokens like [ogname]/[yyyy], since this data is not known before the node is saved.

quicksketch’s picture

Project: FileField Insert » Insert
Version: 6.x-1.x-dev » 6.x-1.0-beta1
Status: Active » Fixed

This should no longer be a problem in the new Insert module. Marking fixed but moving over there in case we need to reopen this. FileField Insert is now deprecated.

Status: Fixed » Closed (fixed)

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

Igal’s picture