Difference between revisions of "Uploading data"

From LabTrove Documentation
Jump to: navigation, search
Line 6: Line 6:
 
:'''NOTE''': You can not delete a file once it has been uploaded to a {{Post}}. Ensure you select the correct file before you upload it.
 
:'''NOTE''': You can not delete a file once it has been uploaded to a {{Post}}. Ensure you select the correct file before you upload it.
  
If you want to upload multiple files in one go, you can create a zip containing the files, and change the Upload Type to Zip.  
+
If you want to upload multiple files in one go, you can create a zip containing the files. If you change the '''Upload Type''' to '''Zip File''' when you upload the file, {{LabTrove Product}} will decompress the files and add each file individually to the {{Post}}. If you set the '''Upload Type''' to '''Single Item''', the zip file is not decompressed, and zip file itself is added to the {{Post}}.
  
 
To add a data file to your {{Post}}:
 
To add a data file to your {{Post}}:
Line 16: Line 16:
 
# Select the file that you want to upload and click '''Choose'''.
 
# Select the file that you want to upload and click '''Choose'''.
 
# (Optional) Select the file type from the '''Type''' drop-down list. Leave the Type selected as '''Auto Detect''' to let {{LabTrove Product}} determine the file type.
 
# (Optional) Select the file type from the '''Type''' drop-down list. Leave the Type selected as '''Auto Detect''' to let {{LabTrove Product}} determine the file type.
# (Optional) If you want to upl
+
# (Optional) If you are uploading a zip
 
# Enter a reason for your changes in the '''Reason For Edit''' field.
 
# Enter a reason for your changes in the '''Reason For Edit''' field.
 
# Click '''Submit''' to save the changes.
 
# Click '''Submit''' to save the changes.

Revision as of 13:21, 29 November 2011

Uploading files to the Notebook

You can upload data files to your Notebook to enable others to view or download them. If the data files are in .png or .jpg format, the image can be displayed on the Entry and can be commented on separately.

You cannot upload data to a new Entry. You must first create a new Entry, and then edit the Entry to add your file. Icons and links for the uploaded files are displayed in the Attached Files box beneath the Entry with which they have been associated.

NOTE: You can not delete a file once it has been uploaded to a Entry. Ensure you select the correct file before you upload it.

If you want to upload multiple files in one go, you can create a zip containing the files. If you change the Upload Type to Zip File when you upload the file, LabTrove will decompress the files and add each file individually to the Entry. If you set the Upload Type to Single Item, the zip file is not decompressed, and zip file itself is added to the Entry.

To add a data file to your Entry:

  1. Create and submit a new Entry or select an existing Entry.
  2. Click the Edit Post link beneath the Entry.
  3. In the Attached Files section, click Upload data.
  4. (Optional) Enter a title for your data file.
  5. Click Choose File to browse your file system for the data file.
  6. Select the file that you want to upload and click Choose.
  7. (Optional) Select the file type from the Type drop-down list. Leave the Type selected as Auto Detect to let LabTrove determine the file type.
  8. (Optional) If you are uploading a zip
  9. Enter a reason for your changes in the Reason For Edit field.
  10. Click Submit to save the changes.

When you edit the post, there is an 'Attached Files' box at the bottom of the page:

Choose the 'upload data' link. A 'File Upload' box should pop up, which looks like this:

You can browse for the item you want to upload; giving it a title can be useful to those wishing to download it. Click 'Submit' to upload the file. The file should now appear in the Data box. Alongside each file is an 'Add to text' button, which will put the appropriate code in the text box at the position of the cursor. While you can move the code to an appropriate position in the text, it can be fiddly to place the picture and nearby text exactly where you want them. If you don't need to put the file into the blog entry itself, you don't have to add it to the text. If you don't, all the files will appear below the post on the post's page, although bear in mind there'll be no indication on the main blog page that they are there. Once a file has been uploaded on to the system, it is available for anyone to post. It is assigned a short numeric code, e.g. 688. Typing [data]688[/data] will then produce that file in another post or comment. This works within each group of blogs. To find the tag of a file, you can hover the mouse above it. Now look at the long thin box at the bottom of the browser. A section of it is shown here:

In it, you can see 'id=2243'. That is the tag for the file, and the tag you should use to reference it. Formating Data Items Resize data items, to resize them you can use the following syntax. [data=size:99x212]6[/data] also if you only what a text link to the data in a post then you can use [data=text]6[/data]

Adding an image from a website

You can add an image from a website to your Entry. Text does not wrap around an image, so position the image on a new line in your Entry. You can also upload your own picture to your Notebook, see Uploading data. To add an image from a website in your Entry:

  1. Ensure your cursor is in the position within your Entry where you want to add the image and click the Picture button.
  2. Enter the full URL address for the image. For example, for Google's Milankovich Logo you would enter the following URL in the URL field: http://www.google.com/logos/milankovich10-hp.gif
  3. Click OK to add the link to the image into the Entry. The format of the added link will look similar to the following markup: [img]http://www.google.com/logos/milankovich10-hp.gif[/img]
  4. Click Submit to save your Entry. If you are editing a Entry you must enter a Reason for Edit before you can submit the Entry. If the URL you entered is correct, the image is shown in your saved Entry.

What to do next