The Image Web Part doesn't seem to have an href attribute that I can set. Is there something I am missing?
图像Web部件似乎没有我可以设置的href属性。有什么我想念的吗?
2 个解决方案
#1
7
Does it have to be an Image Web Part? If not I would simply use a Content Editor Web Part and paste the required HTML there.
它必须是图像Web部件吗?如果不是,我只需使用内容编辑器Web部件并在那里粘贴所需的HTML。
<a href="http://www.google.com"><img src="urlToImage" /></a>
#2
1
what if it have to? users need to have an opportunity to change the link and the image themselves and not to disturb an administrator.
怎么回事?用户需要有机会自己更改链接和图像,而不是打扰管理员。
#1
7
Does it have to be an Image Web Part? If not I would simply use a Content Editor Web Part and paste the required HTML there.
它必须是图像Web部件吗?如果不是,我只需使用内容编辑器Web部件并在那里粘贴所需的HTML。
<a href="http://www.google.com"><img src="urlToImage" /></a>
#2
1
what if it have to? users need to have an opportunity to change the link and the image themselves and not to disturb an administrator.
怎么回事?用户需要有机会自己更改链接和图像,而不是打扰管理员。