The easiest way to include an image in a wiki is to use a wiki-syntax page, then attach the image (jpg or png are common) to the page directly and include the image name in brackets within the text: [imageName.jpg]
The syntax in an HTML-syntax wiki is almost what you show: <img src="imageName.jpg">
I notice that what you pasted has an extra " before the image name which would prevent the image from displaying.
We don't directly support displaying a PDF within a wiki page (that could depend on browser settings, though none of the browsers I've tried will display them). You can work around this in a few ways:
- obtaining a screen image (jpg or similar) and displaying it as above.
- including a link to the image in a wiki-syntax page - ("link" or "new-tab-link" so that clicking will open it in a new tab)
{link:PDF file will open when you click here|/full/path/to/desired.pdf}
- if you have the Platform Developer (or Trusted Analyst) role, you'd be able to use <object> syntax as you show. That you don't have this permission is why you see the 'illegal element' error. If you have one of these roles, another idea is including a 'backup' plan in your <object> to give the user a download option if the browser won't display the PDF directly:
<object data="/full/path/to/desired.pdf" type="application/pdf" width="100%" height="500px">
<p>Unable to display PDF file. <a href="/full/path/to/desired.pdf">Download desired.pdf instead</a>.</p>
</object>
There's lots more guidance in the Wiki User documentation topics.
--Molly