Forum


Replies: 2   Views: 3285
Two images from template
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 wpierson  · 05-07-2011 - 21:30

From a template, if I have two images with different alt tags, they still always get set to the same image. Is this what happens for everybody else or am I doing something wrong? I want to be able to create templates with multiple images that can be set. Is this possible?

Posted by wpierson  · 11-04-2013 - 12:13

This actually works fine using different variable names. However, it does not work if the images are copies of each other. Even if images have different alt tags, if they were copied from the same place, both will be set to the same image