Linking pdf file/internal page link to an image
Permalink
Hi! I am trying to link a pdf file to an image, and also trying to link an image to another page in a website where i use concrete 5, but it does not work.What i want is that When someone places the cursor on the image then they would be able to get a pdf file by clicking on that image. Please give me a solution! Thanks in advance.
This was extremely helpful to me too, thanks robersonki!
Yes, it's simple solution but very useful.
Hi robersonkl!
Thank you so much. It worked well and I am so happy now:) I am grateful to you and thanks again for quick response to my problem:)
Thank you so much. It worked well and I am so happy now:) I am grateful to you and thanks again for quick response to my problem:)
Glad I could help. :) If you ever have any more questions, let me know and I will see what I can do!
I might have missed something, but this method seems overly complicated. I just click the image once when I have loaded it into the Content block then click Add File and the file is automatically linked to the image. You can see more detailed instructions here:http://www.concrete5.org/community/forums/usage/how-to-insert-a-pdf...
That's cool...I didn't realize you could do that. That is definitely easier.
While you are editing the Content block: (See the attached image ['editcontent.jpg'] if you need to know where I am talking about.)
1. Click the "Add Image" link to add your image.
2. Next, click the "Add File" button.
Alright, so you've got the information that you will need for the next bit.
3. Click the "HTML" link (On the attached image - it is located beneath the arrow with the number 3 on top of it.). This will take you to the HTML code for the block (which will look something like the second attached file - 'editHTML.jpg').
Code before you change it:
4. Cut this part of the code from the HTML:
"
See the third attached image (finalHTML) for final look.
5. Don't forget to click the 'Update' button to update the block and then save your page edits.
SAMPLE code
---------------------------------------------------------
--------------------------------------------------
PS- I hope this helps and isn't too confusing...I apologize if it is. Let me know. Thanks!