Skip Navigation

Types Image fields do not output the “alt” and “title” attributes when using custom upload directory

Resolved

Reported for: Toolset Types 3.3.2

Resolved in: 3.3.4

Symptoms

There is an issue where custom Types Image fields do not output the alt and title attribute. This happens if you configured your WordPress installation to have a custom upload directory outside the wp-content directory.

When you try to display a custom Image field on the frontend using a Types shortcode similar to the following:

[types field='my-img' title='%%TITLE%%' alt='%%ALT%%' size='full'][/types]

The image will display fine but without the alt and title attributes.

Workaround

Currently, there is no workaround for this issue.

Our developers are aware of the issue and will work on it as soon as possible.

9 thought on Types Image fields do not output the "alt" and "title" attributes when using custom upload directory

    • This is in testing now, so it will be released in some closer future version update.
      We will update this erratum once that happens.

  • I updated the plugins to the latest versions, Toolset Types Version 3.3.3, Toolset Views Version 2.9 , Toolset Types Version 3.3.3 but I don’t see the alt tags in the final page yet?

  • The latest Views version is 2.9.1 and the latest Types version is 3.3.4
    Please update to the latest versions and let us know if they fixed the issue for you.

  • on this page the alt field is now populated but unfortunately, it is populated with alt=”%%ALT%%” 18 times

  • @Mark,
    This has been fixed and tested by our QA team and tested again by the support team before being published in the last release.
    We will need to check the issue on your website and possibly on a copy of it.
    To be able to communicate with you in the best way, I’m kindly asking you to open a ticket in the support forum.
    To save some, you may mention this errata URL in the support ticket description that you will open.

Comments are closed