Link to image

Topics: General
Aug 8, 2013 at 10:26 AM
sorry for my bad english.
I'm using Orchard 1.7.
I uploaded an image with media manager.
I need to insert a link to this image in a page.
I click on 'Insert Media Item' and select the image and the image is displayed in the page; i want to insert only a link to the image (then the visitor will click on the link and view the image)
How can i do it?
Thank you in advance.
Aug 8, 2013 at 3:44 PM
It really depends on what kind of workflow you want to use. If you always insert an image link to a page, the simplest method to give you a URL to click is to add a "Media Gallery Field" to your content definition. This will let you select an image and display only a URL on the page when published. If you want to occasionally put a link to an image into a generic page type, inserting an image and then selecting the image after and using the update button found in TinyMCE editor will give you the image link that you could then remove the image and create a hyperlink with.