Image Captions from Plone 5.1


We know that in the version 5.1.x of plone the subtitles of images is not available in TinyMCE.

My team and I have set ourselves the goal of solving this problem with the intention of releasing a new version of plone 5.1.x

We do not see as a possible option to move to plone 5.2.2 which is the version that enables this functionality again.

Solutions that DIazo intervenes are discarded.

We will take this as the baseline:

We know that the solution involves 3 libraries

The first problem we see is how to do this update for static resources because in the version we have (5.1.x) this does not exist.

From there we can go forward.

Any help / suggestion is welcome.

We have to do this before this version is out of support.

Version Overview

Plone 5.1.6 (5116)
CMF 2.2.13
Zope 2.13.29

1 Like

In Plone 5.1, the content of the plone.staticresources package were in Products.CMFPlone/static. See the readme.

Note that you would need a PR for too.

cc @thet as he may know if image caption support in 5.1 is feasible, being the original author of those PRs for 5.2.

Ok, I got it on the list

I have also read this and I know that the time to do it, for version 5.1.6, is short.

I have replicated @thet's solution for Plone version 5.1.6

For this moment I have added the necessary code to enable the text box of the image caption and that it be shown in the publication.

My question now is what do I need for this to be officially released in a Plone version?

Files I have modified


@thet or someone else could you help me, what are the steps to follow to be able to put this in a new version?

Note: It is my first time in something like this


1 Like


I've already made my branches on my github based on

Cmfplone 5.16
mockup 2.7.8 2.0.28

I have a question for

How can I test the upgradeSteps, before sending the PR?

@uroboro tnx for caring about this issue!
to test an upgrade step manually:

  • install a plone site without your changes in place
  • then switch to the branches with your changes and run the upgrade step
  • see if everything is working as expected.

for an software test see this PR:

Thanks for the reply @thet
To which branch should i send the changes? @mauritsvanrees
Whereas it is a fix for Plone version 5.1.6.

Look here for which branches are used in 5.1. For it would be master, and it would need to be in the v51 folder and zcml.

1 Like

I have made these pull requests.

1 Like

@thet Can you help me, a revision is needed here.

I would really appreciate it.

Plone Foundation Code of Conduct