-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It appears that if a term has more than one graphical representation (or picture), the lexiqueProExtension will only show one.
The following code in lexicon.php seems to be responsible for the behavior.
$regex3 = "/<p class=\"lpPicturePara.*(pictures.*jpg).*p>/U";
$newText3 = preg_replace($regex3,"<p><img src=\"$1\" class=\"img-responsive\"/></p>",$newText2);
View Source of Default Lexique Pro (with two pictures attached to a term) is below:
<p class="lpPicturePara"><table cellspacing="0" cellpadding="4" style='margin-left:40pt'> <tr margin-top="0cm"> <td><img border="0" src="../pictures/quails%20crest.jpg" width="250" height="84"/></td> <td><img border="0" src="../pictures/quail%20design.jpg" width="250" height="169"/></td></tr></table></p>
ViewSource of LexiquePro Extension below:
<p><img src="pictures/quails%20crest.jpg" class="img-responsive"/></p>
Metadata
Metadata
Assignees
Labels
No labels