I am using a custom content type that allows an user to upload an image and specify a caption for that image using the title field. The problem is no matter what i try it never adds the text from the title field to the image. But if i change the option to static text then the module does work. I believe the problem is with the standard image field you have to upload the file before it lets you specify an alt value. Your module does not take this into account.

Comments

fietserwin’s picture

Sorry, I don't get the problem. We are not altering the uploaded image itself, but creating a derivative image in another directory, that will contain the text. Further note that:
- the example image you see when defining the image style is not from an image field and so does not have a title field. So no text will be added to the example image...
- alt and title are different properties from an image field. When defining an image field you have to enable them separately and the user will have to fill them both (if both enabled).

fietserwin’s picture

Status: Active » Closed (works as designed)

No response for several months: closing. Feel free to reopen if you still get this error and can produce more information.