Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [files]

Use it to generally reference to those files used on websites which could be video, images, pdfs, etc.

Filter by
Sorted by
Tagged with
1
vote
1answer
732 views

File/image upload via CCK and Nginx + FastCGI

I am using the ImageField module with Pressflow, Nginx, and FastCGI. When I go to add a file via the standard ImageField CCK upload widget on a node, the Upload "throbber" does its thing, Drupal does ...
1
vote
1answer
567 views

FileField Database

I like the idea of using a field within a database to hold a file. Is it possible to store files within a database instead of within folders with Drupal 7? My current setup is Drupal 7, Ubuntu ...
2
votes
2answers
4k views

Problem with Drupal 7 file permissions

I set up a working Drupal 7 installation on somebody else's server and the image generation only worked if all folders leading to the thumbnail folder were given 777 permission. This must be a an ...
1
vote
1answer
416 views

Way to integrate a latex-based wiki into a drupal 6 site

I have a website with users already designed in Drupal 6. We would like to add an area/module that would allow registered users of a certain type/category to be able to collectively edit/contribute to ...
0
votes
1answer
561 views

CCK Filefield source->IMCE No option to browse server unless UID1 [closed]

I'm using a content type 'image' that uses CCK and filefield sources to browse and upload images. When logged in as UID1, I'll get an option above the upload field to switch between 'Upload' and '...
3
votes
1answer
1k views

Tagging separate files

I wonder if, and how, the following would be possible to tag each uploaded file with one or more tags and show these files filtered on their tag(s). I know it's possible to do this for nodes but have ...
1
vote
2answers
1k views

Save FileField file to an external server

When using FileField or ImageField, files are saved to a local folder in the Drupal install. This works great and all, but up till now the media files on my website are served from a discrete server (...
0
votes
1answer
2k views

Creating folders for images using Tokens module

I have a node for a photo. I want to know what is the best why to define the file path for the images. The images will be user submitted. Ideally, I would have liked the path be sites/default/files/...
1
vote
2answers
2k views

Can't Remove Image from CCK File Field when editing node (Throbber just spins)

I was able to upload an image, but the thumbnail didn't appear until I hit save on the form. When I try to remove the image, it just sits there spinning the throbber; if I click on "Save" in the form,...
1
vote
2answers
10k views

Private File System and User Access

Is there a way to protect Drupal files from being accessible by the file path (putting http://www.domain.com/files/image.jpg) in the browser URL from users poking around?
2
votes
1answer
2k views

open_basedir and file uploads

I've run across a problem where, when open_basedir is enabled in my php.ini, my file uploads don't work in Drupal. The parent directory is included in the open_basedir list, yet uploads still don't ...
1
vote
1answer
1k views

File upload and file access

I should upload an Excel file to a site that define a content type with a file CCK field; the download method is public. How do I set the permissions for the upload folder, if I would like to allow ...
1
vote
1answer
138 views

Aggregate uploaded files for simplified download

I have a content type that users are uploading a lot of files into, and the client would like to be able to download all of the attached files with a single click. It seems that a server-side ...
3
votes
4answers
220 views

Single document, multiple filetypes for download: how to manage?

I want to upload/attach several documents to a book node. Each document will be offered in a number of file formats, for example: Report2010.pdf Report2010.rtf Report2010.doc Agreement11.pdf ...
3
votes
1answer
1k views

What is the best way to upload a PDF attachment, that can be attached to multiple nodes?

I want multiple nodes to all have a download link on each node to one, shared PDF file. What is the best way to upload the PDF file one time, but add it as an attachment to each of the multiple ...
4
votes
2answers
435 views

Image upload & gallery

Is there a way to limit the number of imagefield fields present in a node? I am using iTweak Upload, which allows to upload an unlimited number of images, but I need something that can limit the ...
0
votes
2answers
125 views

Need a list of third party video services that i can offload the conversion and serving up of my private videos?

Can anyone help me to narrow down a list of third party video services that i can offload the conversion and serving up of my private videos? Requirements are: Already have a Drupal 6 module that ...
3
votes
1answer
2k views

Organizing uploaded files in folders created by date

This could be very trivial, but I haven't been able to find a good solution. I have an image field associated with a content type called article, and I wish to organize the files uploaded during ...
4
votes
1answer
730 views

How to alter the Views field Format drop-down menu

I am exporting some XML feeds using Views. One of these fields needs to look like this: <image>http://example.com/path/to/myimage.jpg</image> I am storing my image in a CCK field. When ...
2
votes
1answer
646 views

Print module's default setting is annoying

We often use the print module to create PDF of nodes; most of the times, it works out-of-box. For our requirements, however, one thing that makes me very annoyed is its default settings. When the ...
1
vote
2answers
1k views

Batch API and curl or file_get_contents() issue in Drupal 7?

Has anyone ever experienced issues with curl or file_get_contents() when using the batch API? I'm trying to import nodes from a remote data source via batch API; I used file_get_contents() during one ...
2
votes
1answer
924 views

Where can I find the save destination path for a filefield? (via code)

I have an image file field and I am attempting to write a little script that will programmatically scan my nodes and save images found in the body of my node into an image file field entitled ...
1
vote
3answers
919 views

Customising field container

I've created a cck field formatter. The field outputs uploads from filefield into embedded iframes that link to google docs for display. It currently outputs: <div class="field field-type-...