Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem:

There is a Drupal Cloud limitation regarding granting permissions to accessing the sites file system.

...

Example: In Drupal Cloud unless you are a Content Manager,

  results in   

 

Work Around:

Add Image (and/or File) Field to Content Type definition

However if  you define an image field ( or a file field) in the content type.

...

  • the number of files
  • Allowed file extensions
  • max upload size
  • maximum allowed image size

 

Example of Inserting an image:

  1. Create/ edit  page
  2. Upload image into image field
    1. Choose File

    2. Click Upload once the file has been added. Image will display in File Information box.
  3. Obtain URL for the uploaded image
    1. Highlight  image link in the File Information box.
    2. Right click to get image URL ( Copy Link )
  4. Back in the editor for the  Body,  Click on insert Image button
  5. Insert the 'adjusted' URL into the URL field of the Image Properties window, Click OK
    1. Adjust URL by making  it a relative link (ie. remove  http://host-name)
    2. (example: /sites/default/files/dinner.jpeg )
  6. Save

 

Example of Inserting a link to a file : (similar to inserting images)

  1. Create / edit page
  2. Upload file into file field
    1. Choose file
    2. Upload
  3. Obtain URL for the uploaded file
  4. Back in the editor for the  Body,  Click on insert Link button
  5. Insert the 'adjusted' URL into the URL field of the Link window
  6. Save