Static files used on websites which could be video, images, pdfs etc.

learn more… | top users | synonyms

0
votes
1answer
15 views

Adding and reading a static html page with

I have an interesting assignment. The requirement is that the user can upload a folder,containing static html, css, js files. And a link is generated So, then I don't want to have any drupal styling ...
0
votes
0answers
27 views

Email Id to access files [duplicate]

Can anyone suggest me a module where the user must be asked to enter the email-id to check if he/she is subscribed to upload/download files even if the user is logged in?I need something where the ...
0
votes
1answer
48 views

Files security - files folder hacked

For the second time in a short while my files/ folder has been hacked. Permissions are set as 755 all accross the folder. I tried to set it up as 750, 754 but it breaks the website. What happens is ...
0
votes
1answer
10 views

Custom feed tamper plugin to convert an image GUID into a URI

I have a feed importer for image files, which stores a column in my source csv as the GUID of the final files in Drupal. I also have another importer for, say, articles. In the articles csv, there is ...
1
vote
1answer
22 views

How to group uploaded documents into folders?

I want to group my documents in sub folders... when i upload the document using core upload module, i want that those modules get categorised under different section and a user can see those and when ...
0
votes
2answers
31 views

How to link the file icon to the file and to hide the filename?

I have uploaded files to be displayed in a table together with some other informations (title, tags etc). One row of this table the filename which links to the downloadable file. Next to the filename ...
0
votes
1answer
19 views

Render a file in a specific view mode

Which is the right way to render a file in a custom view mode? I'm using Media, 7.2 branch, I've custom view modes and I want to print in a tpl a file (based on fid) in the view mode "header_image".
3
votes
1answer
22 views

Managing multiple versions of files on nodes

The client needs to be able to upload numerous files to each node. They would like only the new versions of files to be searchable/in the search results and for the previous document versions to be ...
0
votes
0answers
14 views

Changing files privacy settings

One of the content types I have defined has a file-field set up with a destination to public folder. The field is supposed to have private settings, but as some data has been saved on the server I ...
1
vote
0answers
24 views

Restricting certain files from appearing in search results in Drupal 7

I would like to upload multiple revisions of documents, but only for the Latest ones to be displayed in the search results. For example. I will have the following pages and policies on each: Apples ...
1
vote
2answers
24 views

Mapping existing file against a new content type

I am facing a situation here. I have a content type A with an image field(field_upload_snaps) in it. There is another content type B which also contains an image field(field_valid_snaps). Now user ...
0
votes
0answers
25 views

How to make Drupal instance store the files as “public:”?

I am trying to use the http://drupal.org/project/gdoc_field module but it is not working as appearently Google can't access them... I am uploading them from my machine by using the browse ...
0
votes
1answer
32 views

Can I make a subdirectory in public:// viewable in Media module's UI?

In Drupal 7 Media module (admin/content/media) is it possible to view subdirectories in my public:// domain? I have images and files from legacy site that were uploaded in a variety of subdirectories, ...
0
votes
1answer
67 views

Problem setting a private directory

I have problems establishing a private files directory (D7.22) I started at reading this article: http://drupal.org/documentation/modules/file. I then created a private folder above the Drupal root, ...
1
vote
1answer
16 views

Module to display file from an SVN repo?

Looking for a way to display text files that are stored in an SVN repo or local filesystem. Exactly like http://www.mediawiki.org/wiki/Extension:Include works for mediawiki. Thanks a lot
0
votes
0answers
29 views

Download file only after captcha

I have a content type called "Downloads" with a file field; I don't want to display the file link in node view page, but a captcha request; in this way I can know if the request arrive from a person ...
1
vote
0answers
26 views

D7 Ubercart 3.4 not displaying uploaded file

I'm using ubercart for a poster printing process. It allows users to upload files for poster printing. But in the order page where I can see the summary of the order, the section for Upload File ...
0
votes
0answers
69 views

How can I control file renaming behavior of Drupal 7 Webform file uploads?

I'm a drupal newbie so excuse me if I'm using the incorrect terminology or my description is not very clear. I have a webform with a file upload field using the File widget. I upload files for users ...
0
votes
1answer
28 views

How to assign value from one file field to another programmatically?

I have a webform which have a file field. In the user profile I have also created a file field. I am using the webform for user registration So I am assigning the values from the webform to the user ...
0
votes
0answers
23 views

Create directory in file system per organic group

I am using Drupal 7 and I am creating a content type which is a content of an Organic Group. This content type has a file field and all the Organic Group Members can create a node of that. I want to ...
0
votes
1answer
28 views

How to save an uploaded image in an admin form?

I wrote the following module to upload a background image. My problem is, that my submit function is not called, though the pic is uploaded and showed in the block until the next cleanup is coming.The ...
0
votes
1answer
33 views

Transliteration- Is it possible to transliterate filenames (and update the DB) after files have been uploaded?

I have a website that allows users to upload pictures. To reduce the amount of space used by pictures files on my site, I attempted to use a script to remove orphaned files. However, this script ...
0
votes
1answer
25 views

Appending output to a file?

I am developing a custom module and I want to write debugging output to a log file so I can monitor it in real time, and not wait to navigate to watchdog. I was using file_save_data() to write to ...
0
votes
0answers
22 views

Change upload action for file field

I am developing a custom form that will upload a file to a .aspx file, which will then run a process on it. From looking at the default Drupal form, there is a 'submit' input type which is next to the ...
1
vote
1answer
30 views

Make download available after purchase of a physical good

I am running a UC Shop with Drupal which sells CDs and LPs and most of the time everything works like it should do. Now I want to improve the service for our customers. For this reason, I want to ...
2
votes
1answer
32 views

audiofile throwing error on file size even though settings changed

An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (2 MB) that this server supports. Every time try to upload 8mb mp3 I get the above error even though have ...
0
votes
0answers
45 views

Migrate d2d picture migration destination path incorrect

I'm in the process of building a migration module for a d6 to d7 migration using the d2d module. I'm almost there, but one thing that's holding me back is the DrupalPicture6Migration. After trial and ...
1
vote
3answers
150 views

How to get images into a slideshow via json javascript with new itok

I have just updated to drupal 7.21, and I have massive errors with the new itok suff: Right now I use json_encode(views_get_view_result('viewsitem')), and decode the result with JSON and JavaScript. ...
0
votes
0answers
21 views

Large number of orphaned records in image_dimensions table in Drupal 7

I have over 40k worth of orphaned records in the image_dimensions table in my drupal 7 installation. i cross referenced alot of these records to see if they exist in my files folder and many of them ...
0
votes
0answers
42 views

D7 Organic groups and securing private files

I'm looking for a current solution for private file protection in D7 (so files uploaded without a node can be hidden from unauthorized users). I saw this question, organic groups and private files, ...
0
votes
1answer
38 views

Validating extensions in file uploads

I am trying to create a file validator for .csv uploads. This is my code that works at allowing csv uploads (which are disallowed by default): $validators['file_validate_extensions'] = array('csv'); ...
0
votes
0answers
47 views

How to use PDFPreview in Media's File Type display settings?

I'm using the PDFPreview module (slightly hacked, see this issue) to display thumbnails of PDFs uploaded to a filefield. However, that same filefield can hold other kinds of files (images, embedded ...
0
votes
1answer
66 views

How to make the pdf files downloadable?

I am able to display file with url: For example echo '<a href="'.$file_url.'" target="_blank">'.$path_parts['basename'].'</a>'; How can I make this file downloadable? In case of pdf ...
0
votes
0answers
54 views

Drupal 7 Images in Views break after migration

after migrated to the server, the images in views all break. I use inspect element tool to examine the images, they all say: Failed to load resource: the server responded with a status of 500 ...
0
votes
1answer
25 views

Disallow access to member files when they are in public file system

I have case where I want to make it impossible for the users to access file directly (http://www.mydomain.com/members/file.pdf), but want to allow downloading this file only if link is displayed on ...
1
vote
2answers
103 views

Integrating file management with Organic Groups

Using Drupal 7 and OG 2.x. I'm looking for a file manager to use so that each group has a files tab with the ability to create, move, delete files/folders for their group and read/write permission is ...
1
vote
1answer
46 views

How does the tmp folder work? It stores lots of junk files and takes space

My tmp folder is set to /sites/default/files/tmp/ and I checked what's inside and for example there is folder inside called /update-cache-b2903cc4/ it keeps all modules in .zip that I installed via ...
2
votes
0answers
81 views

How to serve files from a second server in Drupal 6? [closed]

I have bandwidth limitations for a busy and image-heavy D6 site so I decided to outsource my /webroot/site/default/files to my second server which is almost idle. I tried to do so using CDN module, ...
0
votes
0answers
83 views

What alternatives are there to files storage in Drupal 7 besides S3? [closed]

I have relatively large site with alot of image galleries (9GB worth) and i want to use Pantheon for hosting, but they don't give enough space. What alternatives are there to hosting these image files ...
3
votes
1answer
71 views

how to delete the files uploaded in the file field?

if i remove the files that were uploaded in a File field,and then upload a same name file, the file removed just now is still present in the server and the new uploaded file gets renamed to a name ...
0
votes
1answer
65 views

The file names are not transliterated on upload

I am using Drupal 7 and have transliteration module enabled. I have a file field and I want to have the names of the uploaded files to be transliterated on upload. The url alias for the nodes are ...
0
votes
1answer
23 views

How to map a URL to an attachment

I'd like to have a simple and clean URL for a PDF file, such as http://www.examples/file1 that maps to an attachment in a Drupal node, rather than using something like ...
0
votes
1answer
47 views

organic groups and private files

Hi everyone I was wondering if it's possible to have directories of files attached to an organic group so that only group members and admins can access those files. If so whats the easiest way to ...
0
votes
1answer
169 views

“Filename cannot be empty in file_unmanaged_save_data()”

We're using Drupal 7.20 and this error message started appearing after trying to add a new context. I removed the context condition, and even restored drush arr from a dump from Friday. All files ...
0
votes
0answers
88 views

Drupal 6 alternative to Drupal 7's managed_file Field API type

Is there a Drupal 6 alternative to the Drupal 7 managed_file field type? I have an configuration form using multiple image fields, and I'm using managed_file field type in Drupal 7 which works ...
1
vote
0answers
63 views

Filefield source “Remote URL” doesn't upload file when there is space in the file name [closed]

I am using File Field Source module to attach the file from the Remote location. Now while attaching the file from other site if there is space in file name then it creates the problem and doesn't ...
0
votes
1answer
28 views

Get file or image path as string from uid

I need to get the relative path to a file, in this case, what i need is: /sites/default/files/pics/DSC00873_39.JPG But all I seem to be able to get is the following: $file = file_load($pic); ...
0
votes
0answers
24 views

Inserting “files” directory causes theme/css to not display

0 down vote favorite I have a Drupal site that I upgraded from Drupal 5 to Drupal 6. The users' profile pictures no longer display because they were contained under sites/default/files, and there is ...
0
votes
1answer
53 views

Get default image directory with styles large?

My images are saved in folder sites/all/default/files/styles/large/public/field/image But to make this future save i dont want to hardwire the path? Is there a drupal function to get the images in ...
0
votes
1answer
28 views

Migrate doesn't update destination files if source files have changed content

I'm using Migrate 7.x-2.5 to keep Commerce products synchronized between a legacy system and a Drupal ecommerce website. I setup two migration methods, one for Commerce Products entities and one to ...

1 2 3 4 5 6