Hello! Thank you for your response. The images I’m trying to insert into the PDF are attachments in the form. The problem is that the <img> tag isn’t correctly returning the attachment path.The code I’m using is:<img src=”http://MYSITE/wp-content/uploads/wpcf7_uploads/ [attachment] ” />
This isn’t working, because if I try using only the [attachment] tag, it returns the name of the original uploaded file, for example, image.jpg, which is incorrect since the server hosts it with an ID number and tags it before the filename, for example: 171389-attachment-image.jpg.I’m trying to be as clear as possible since I’m using a translator to write this response. Thank you in advance!
-
This reply was modified 8 months ago by alienduce.
Hi! Thanks for replying. Perhaps I didn’t explain myself well. What I’m having trouble with is preventing blank lines from appearing in the PDF I receive by email.For example, if the visitor doesn’t fill in the [name] field, the PDF they receive shouldn’t show the line “Name:”. Does that make sense?