Odd code changes by image resizer in WADA form.
OK, I have a WADA form with a file field in it, generally on the update page I show a thumbnail of the image to the users and let them know that if they leave the file field blank the current file will be kept.
I decided to use image resizer to display the thumbnail this time (I have never used it before) so I am not sure if this is a bug, or me doing something incorrectly.
The code before image resizer is added:
<li class="formItem">
<div class="formGroup">
<div class="lineGroup">
<div class="fullColumnGroup">
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup">
<span>
<input name="fieldPicture" type="file" id="fieldPicture" size="30">
<label for="fieldPicture" class="sublabel" >Picture</label>
<br>
  Current image (leave picture field blank to keep this image): <img src="../../folder1/folder2/<?php echo $row_WADAtablename['fieldPicture']; ?>" width="100" height="100" alt="<?php echo $row_WADAtablename['fieldModel']; ?> Image"></span>
</div>
</div>
</div>
</div>
</div>
</div>
</li>
The code after image resizer is added:
<li class="formItem">
<div class="formGroup">
<div class="lineGroup">
<div class="fullColumnGroup">
<div class="errorGroup">
<div class="fieldPair">
<div class="fieldGroup">
<span>
<input name="fieldPicture" type="file" id="fieldPicture" size="30">
<label for="fieldPicture" class="sublabel" >Picture</label>
<?php
if(TRUE){ // Begin Cached Resized Image: ImageCacheInstance_1343324518405
ob_start();
?>
<br>
  Current image (leave picture field blank to keep this image): <img src="../../folder1/folder2/<?php echo $row_WADAtablename['fieldPicture']; ?>" width="100" height="100" alt="<?php echo $row_WADAtablename['fieldModel']; ?> Ima<?php
echo(getCachedResizedImageHTML(ob_get_clean(), "../../folder1/folder2/thumbnails", "proportion", "", false));
} // End Cached Resized Image: ImageCacheInstance_1343324518405
?>ge"></span> </div>
</div>
</div>
</div>
</div>
</div>
</li>
It looks like the resizer is inserted in an odd place and it breaks the span as well.