Attachments and Linking

Return to Help

As you have encountered throughout CTSpedia, we use attachments and links frequently in our work.In most instructional materials, these are treated as two different sets of instructions but we often use these interchangeable in our work.

Attachment

Graphic: JPG, PNG, GIF or Text and Data Files: PDF, Word, TXT, CSV, XPT and Many Others

First - Label the files you will be attaching

Labeling Your Files Before Upload Go to your directory, browse and find file.

NOTE: Do Not Use a date in the title. DO USE today's date in the Comment box. When you add new versions of the file, you will be able to add updated dates to the Comments but the wiki always keeps the original file name.

Click here to open screenshot Step 4 - Find file
StatTools_Step4B_Directory.png

Return to Top

Second - Open attachment page on your CTSpedia wiki page

Go to the top right of the topic page that you are working on and click on the "Attach" button. This page will open:

Click here to open screenshot Step 4 - Attach
StatTools_Step4_AttachScreen.png

Return to Top

Third - Adding comment and uploading attachment

After opening the file put a description in the Comment box (name, dates and/or version numbers) and check on Properties: "Do not show attachment in table" - to hide list of attachments. Click on "Upload file" button.

NOTE: Do Not Use a date in the title. Do use today's date in the Comment box. You will be able to add updated versions of the attachment but the wiki always keeps the original file name.

Click here to open screenshot Step 4 - Find file, Comment Properties and upload file
StatTools_Step4C_Attachfilepage.png

Return to Top

Fourth - Adding the Attachment to the form and then LINKING to the Attachment

Click here to open screenshot of finding file name on attachment list
StatTools_Step4D_Clickonfilename.png

Click here to open screenshot of URL
StatTools_Step4E_URL.png

 https://www.ctspedia.org/wiki/pub/CTSpedia/StatToolsTopic054/Rochester_EGTesting_SASmainmacro.sas 

 [[https://www.ctspedia.org/wiki/pub/CTSpedia/StatToolsTopic054/Rochester_EGTesting_SASmainmacro.sas][Rochester_EGTesting_SASmainmacro.sas]]  

THE names in the outer brackets are not governed by wiki rules - so you can have any combination of characters in the outer brackets. [Rochester_Example Testing _ Main Sas Macro.sas]]

Open screenshot adding URL to the form
StatTools_Step4F_AddURL.png

NOTE you can also cut and paste the SAS code directly into the form in the box that says "SAS-Code"

Return to Top

Image Attachments

Open Attachment Page - When you click on Attach on the topic page, this page opens.

Click to open screenshot of Attachment Page
4-attachmentPage.JPG

Find Image - Now you need to go find the file with the image files on your computer.

Click to open screenshot - Find Picture
Lightbox_Find_Files.png

Upload File with Image - You need to open the file, put a description in the Comment box, , and check on Properties: "Do not show attachment in table" - to hide list of attachments

Click to open screenshot - Upload File
AttachFileDemo.png

Link for Image - Cutting link for picture - Go to attachment and cut link for picture

Open Screenshot paste link into 'Reference Image' field
DemoThumbnail.png

Return to Top

Image Attachment - JPEG or PNG opens automatically

You can hyperlink a jpeg or png file. It will open automatically when the page opens.

1 - Open picture, copy URL

Click here to open screenshot of open picture and copy URL
Attach_1_Open_FirstGraphic.png

2 - Paste URL into Form

Click here to open screenshot of pasting URL into form
Attach_2_Open_FirstGraphicwithURL.png

3 - Picture open automatically when topic page is opened

Click here to open screenshot of the picture automatically opening in the topic page
Attach_3_OpenForm_OpenGraphic.png

Return to Top

* Open Link* - If you want to open the picture by clicking - as seen here

Open Screenshot for hidden picture in image field
4D_Click.JPG

* Coding for hidden picture* - Here is how the coding looks for a hidden picture. Be sure to put the URL from the Navigation Bar into the double brackets.
     * [[https://www.ctspedia.org/wiki/pub/CTSpedia/StatGraphTopic016/VSsbp.png][Click on hyperlink for picture.]]

Return to Top

Images Lightbox Plugin - Thumbnail for Preview and Full Picture for Large Image*

Image Field: You will need a thumbnail or small picture (200 pixels) and a larger image (500-600 pixels). You need to attach a these images into the Topic page.

Open Screenshot for finding your two pictures
Lightbox_Find_Files.png

Two Files that are needed:
1: Soukup_misspersp.jpg (regular image)
2: Soukup_misspersp.200.jpg (thumbnail image)

Coding the Lightbox plugin
%LIGHTBOX{ image="Demo1_Soukup_dotplot1_500.png" thumbnail="Demo2_Soukup_dotplot1_200.png"  }% Click on thumbnail to enlarge 

* Here are the LIGHTBOX IMAGES:

%LIGHTBOX{ image="Soukup_misspersp.jpg" thumbnail="Soukup_misspersp_200.jpg" }% Click on thumbnail to enlarge

Return to Top

Document Attachments (Code, PDF, 2010 Word)

Code, PDF, and 2010 Word documents are attached and then the link will be added to the form.

Step1 - Attach Documents - Open document, copy URL

Click here to open screenshot of open documents and copy URL
Step1_AttachDocument.png

Step 2 - Paste URL into Form

Click here to open screenshot of pasting URL from the document into form
Step2_AddDocument.png

Return to Top

Word 2003 Attachments - Additional Steps

You cannot capture the Word 2003 attachment URL because a link to saving or opening Word 2003 automatically opens. The complete URL begins with:
_[[https://www.ctspedia.org/wiki/pub/CTSpedia/_, followed by topic page name, attached file name][Viewable name]]

Word 2003 Attachments - First find the file on the Attach page

Open screenshot of clicking on manage on Attach page
Attach1_ClickonManager.png

Return to Top

Word 2003 Attachments - Second highlight file name on the Attach page

Open screenshot of highlighting file name on Attach page
Attach2_HighlightFile.png

Return to Top

Word 2003 Attachments - Third add the name to the Topic page

Open screenshot of adding the name to the Topic page or to form
Attach3_PasteintoTopicPage.png

Return to Top

Word 2003 Attachments - Fourth copy the URL of the Topic page

Highlight and copy the URL of the topic page.

Open screenshot of copying the URL of the Topic page
Attach4_CopyPageURL.png

Return to Top

Word 2003 Attachments - Fifth adding and changing URL

Because we cannot see the URL for the Word 2003 document, you need to make changes to the URL of the Topic page to reflect the URL of the Word 2003 file.

Open screenshot of copying the URL of the Topic page
Attach5a_NEW_URL_Word2003.png

Return to Top

Word 2003 Attachments - Six closing the attachment URL

Be sure to add back slash after Topic page URL and before file name, single close bracket, single open bracket, viewable file name, and then close with double bracket.

Open screenshot of copying the URL of the Topic page
Attach6_CloseURL.png

Return to Top

Updating Attachments - New versions of files

1 - Upload new version using the same file name as the earlier version. Be sure to add new details in Comment field.

Click here to open screenshot of uploading new versions with the same file name and new Comment
Attach_Up3_updated.png

2 - Click on Manage to make sure all versions of the file were uploaded.

Click here to open screenshot of seeing all versions of the file
Attach_Up2_Manage_SeeAllVersions.png

3 - Find new version of the picture or file

Click here to open screenshot of finding latest version of form - latest view
Attach_Up1_Version2_Soukup.png

4 - New version automatically opens when you open the topic page.

Click here to open screenshot of New Version opening when you open the topic page
Attach_Up4_UpdateinForm.png

**

The wiki's principle limitations in file sharing are video files and others >10 Mb. All others can be loaded.

4 - Go to the top right of the page and click on the Attach button.

Click to open screenshot Step 4 - Attach bottom on right
4-ToAttach.JPG

In the ReferencesCTSpediaForm

Fill in the article information.

If the article is open access, fill in the URL.

If the article is not open access, mark DOI from the top of article in the DOI field.

Return to Top