Limit Ads in Upload and Edit product templates
I have tried to restrict the number of photos per ad to 3 on each of the uploadproduct and editproduct templates. The uploadproduct restriction appears to work fine. The edit looks like it works ok, but if I ad a photo using edit ad instead of during the initial load, the process appears to work, but the image comes up empty when you look at the recent ads or the ad itself in showproduct.php.
I've attached my editproduct template in hopes someone can spot what I've done wrong.
Thank you in advance for any help that may be rendered.