Hi,

I am using the following modules with a default installation:
Content 6.x-2.8
ImageField 6.x-3.7
ImageCache 6.x-2.0-beta10
FileField 6.x-3.7
ImageAPI 6.x-1.8

Both the title and alt tags are blank in the inline image. The non-inline image does display the title and alt tags properly.

Let me know if i can provide any more information.
Thanks!

Comments

deanloh’s picture

I have exactly the same set up as Sarenc and would like to report the same issue.

This is what I have in the imagecache-insert-image.tpl.php

<img src="<?php print $url ?>" alt="__alt__" title="__title__" class="imagecache-<?php print $preset_name ?><?php print $class ? ' ' . $class : '' ?>" /><div>__description__</div>

When inserted using Imagecache preset, all the "alt" "title" and "description" were not output.

mawosch’s picture

I have the same problem.
My content of imagecache-insert-image.tpl.php

<img src="<?php print $url ?>" alt="__alt__" title="__title__" class="<?php print $class ? ' ' . $class : '' ?>" />

Both, alt and title are empty.

quinns’s picture

mawosch’s picture

Thanks for the comment:
"I figured this out, at least in the context of my projects. If you are using a different "admin theme" than your front-end theme, you need to copy the template files into your admin theme folder."

I do not understand which template files I have to copy.
Thanks for help!

quicksketch’s picture

Category: bug » support
Status: Active » Closed (fixed)

Closing after lack of activity. Sorry I can't answer all support requests.