I wanted the image_filter module to be more efficient by using the already existing thumbnail for default displays but still allowing one to choose the size. If no size is specified, such as [image:34], then the thumbnail that was created by the image module is used. Otherwise the node is called to scale the image. Besides this, now styles are used to assign borders, width, height, etc instead of the old img tags. This was to increase xhtml compliance.

CommentFileSizeAuthor
drupal_545.06 KBjoemc91

Comments

Anonymous’s picture

Uwe Hermann’s picture

Reopening, I'm pretty sure this was closed erroneously.

Anonymous’s picture

If you have img_assist installed you can get this to work for the time being by changing the return statement in function theme_image_inline_img($img)

from:
return l('Only local images are allowed.nid", ...

to:
return l('Only local images are allowed.nid&thumb=1", ...

Anonymous’s picture

Oops... Looks like it filtered out my code

Change it from:
return l('<img src="' . url("image/view/$img->nid", ...

to
return l('<img src="' . url("img_assist/gen/$img->nid&thumb=1", ...

mrowe’s picture