Forum


Replies: 4   Views: 521
Is it possible to use content control images?
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by kronholm  · 02-09-2022 - 09:17

Regular images with the placeholder variable name as alt text works, but not quite what I need.

I'm after is using content controls, which use label/key for identifying, and that doesn't seem to work with replacePlaceholderImage, nor does the documentation mention it works with content controls.

Is there an example of replacing images in document for content control image?

Edit:

Reason I need it, instead of using the alt-text method, is that it would take a lot more time to explain to users both how to use content controls, and now also having to use alt-text. I quickly gets confusing and overwhelming for non-word-experts.