Tags:
Attachments1Add my vote for this tag Linking1Add my vote for this tag create new tag
, view all tags, tagging instructions

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

  • Name of university or name of contributor, e.g. Rochester, UCSF, Davis OR Soukup and then underscore
  • Name of macro, R-function, etc OR other title - Title from form and underscore
  • Type of file, e.g. SAS or Doc
Go to your directory, browse and find file.
  • After clicking on "Browse", find the Directory and the file.
  • Make sure that it is named correctly.

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 fileHide 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 - AttachHide 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 fileHide StatTools_Step4C_Attachfilepage.png

Return to Top

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

  • Find your file in the Attachments list.
Click here to open screenshot of finding file name on attachment listHide StatTools_Step4D_Clickonfilename.png

  • CLICK on the URL
Click here to open screenshot of URLHide StatTools_Step4E_URL.png

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

  • COPY the URL, Open the Form, and PASTE the URL into the form and add a title:
    • Double brackets (open right ) before the URL: [[https://www.ctspedia.org/wiki/pub...
    • Single bracket (close left ]) to close the URL: ......]
    • Single bracket ([open right) to open the title: [Rochester...
    • And then double brackets (close left) to close the title: ...]]

 [[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 formHide 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

  • For Stat Graph you will need two images:
    • A regular size image for the "Image" field ("Lightbox" plugin) at the top of the form
    • The thumbnail or small image for the "Image" field ("Lightbox" plugin) and for the "Reference Image" field at the bottom

  • Prepare your images in Paint or other picture editing software
    • Regular images should be around 500-600 pixels horizontal.
    • Thumbnail images should be 200 pixels horizontal

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

Click to open screenshot of Attachment PageHide 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 PictureHide 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 FileHide AttachFileDemo.png

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

Open Screenshot paste link into 'Reference Image' fieldHide 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 URLHide Attach_1_Open_FirstGraphic.png

2 - Paste URL into Form

Click here to open screenshot of pasting URL into formHide 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 pageHide Attach_3_OpenForm_OpenGraphic.png

Return to Top

Image Attachment - TO hyperlink a JPEG or PNG file

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

Open Screenshot for hidden picture in image fieldHide 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 picturesHide 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:

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 URLHide Step1_AttachDocument.png

Step 2 - Paste URL into Form

Click here to open screenshot of pasting URL from the document into formHide 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 pageHide 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 pageHide 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 formHide 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 pageHide 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 pageHide 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 pageHide 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 CommentHide 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 fileHide 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 viewHide 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 pageHide 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 rightHide 4-ToAttach.JPG

Links for References

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.

  • Copy this information:
    [[http://dx.doi.org/........]]
    and replace ...... with the DOI.

Return to Top

Topic revision: r10 - 08 Oct 2012 - 11:48:06 - MaryBanach
 

Copyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CTSPedia? Send feedback