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

learn more… | top users | synonyms

0
votes
0answers
2 views

How to make blob file downloadable?

I have created a Module to make blob file available for Download in Drupal 7 . Below my code for .module file <?php function blobfile_block_info() { $blocks = array(); ...
0
votes
0answers
28 views

Absolute path to an image [duplicate]

This is a really basic question, but I haven't been able to find a clear answer on how to do this: I am designing a TWIG template and am inserting an image into it. I would like the image to have ...
0
votes
0answers
17 views

How to create a custom content type that accepts zip files and puts them in a new directory?

I want to simplify the workflow for putting an e-magazine on my D7 site. I currently have to manually upload a zip file, move it to a custom directory with in ...
-3
votes
0answers
15 views

How do I place PDF Flip flipbooks?

I'm working with a PDF Flip drupal module export file. I've followed the instructions at the software provider's website. I've uploaded the module manually to the site, enabled the module, and from ...
0
votes
0answers
7 views

Error connection reset when uploading PDF Flip module export file via web interface

I'm working with a designer using a flash based flipbook software called PDF Flip. The software has a drupal module export option which produces a zip file. The issue I'm having is that when I try ...
0
votes
0answers
23 views

Hook before the file insert, before the file come on the server?

I want alter the URI's files before they are stocked in the server. The file insert, I mean, everywhere/time a file is uploaded via Drupal (all insert file process, not only when an user add a file ...
0
votes
1answer
17 views

How to delete file using drupal_form_submit?

I'm using rest services with a custom resource on node update, i want to build the correct variable node structure to delete one of the files on a file image multiple fields. I removed the file ...
0
votes
0answers
11 views

is there any exact module for storing the files based on logged in user? [closed]

contrib module for storing the files that are created during the creation of the event based on logged in user (means only the user who has uploaded can see and for remaining users it is ...
0
votes
1answer
25 views

Video Migration from MySQL

I have a video link and the video is there in my FTP. I need to migrate videos from mysql to DRUPAL database. Video complete path is stored in mysql database at present. In this process I dont want ...
0
votes
0answers
17 views

How get a publish url for already uploaded file in azure blob storage

Hi I am using azure for Windows Azure Integration in my drupal site. Its perfectly storing store files, images and media. But after storing the the video file I need publish url for the video to be ...
1
vote
0answers
27 views

How to create private links to unmanaged files ?

I have created my own module with custom block to display private downloads to authenticated users. The downloads files are provided by 3rd-party system and stored in private folder of Drupal ...
0
votes
0answers
18 views

Drupal Caching Files

After install and setup of my Drupal site, I've noticed that Drupal has placed a few dirs/files in my file directory like css/js. Is it safe to remove these files when I move my site? What other cache ...
0
votes
0answers
10 views

Allow authors of products to download their own file [duplicate]

Is it possible to allow authors of products to download their own file and have a file license by default? Which code must be used and where? (Drupal Commerce)
3
votes
1answer
21 views

Where does Drupal set the uploaded file name syntax?

I have a file with a filename which has a double underscore in it. When Drupal saves the file, it shortens it to be only one. ie: Snapshot__john_doe_2_opt.jpg When Drupal saves the file, it ...
0
votes
0answers
9 views

Social Cards for Video content type

I'm using a content type called Video with a field from Video embed field module . I'm generating an automatic thumbnail for the video using thoses modules: Imagecache Actions Imagecache Canvas ...
0
votes
0answers
19 views

How to grant access file license to Product creator?

Is there a way to grant access file license to Product creator (maybe in Rules) in order that Product creator could view file link and he/she could download it?
0
votes
0answers
16 views

View Commerce file for Product Creator

How to show a file link to Product Creator in Views? I tried using (Commerce Product) Commerce Product: Files (Files) in Fields but only the names of files are shown and they can't be downloaded by ...
0
votes
2answers
20 views

How do I display self-hosted video content

What I am trying to do is embed a self-hosted video on a webpage. I have the video uploaded onto the web hosting in mp4, ogv and webm formats; converted where necessary using Miro Video Converter (if ...
0
votes
0answers
20 views

How do I make available blob files of custom table from database to views as downloadable files?

I created a custom table with filename, mime type, and file as blob field. How do I make available the file field to views as downloadable file in Drupal?
0
votes
0answers
13 views

Drupal 8 upload and embed a video to WYSIWYG

So what I am searching for is a module that gives us the exactly same functionality that we already have with the image tool in Drupal 8 in the WYSIWYG editor. And that should be working with just ...
2
votes
1answer
18 views

How to set file upload directory by parent node content type and node id

I am trying to set the upload directory for a file field to contain the content type (and node id) as part of the path. The desired path for my public files field is ...
0
votes
1answer
23 views

D8 doesn't create .htaccess for private file system path

Following this guide: https://www.drupal.org/documentation/modules/file it says "When you specify the private directory in admin/config/media/file-system it will automatically create the ...
0
votes
1answer
17 views

Using video module with ffmpeg to convert; how do I display converted files?

All uploaded videos on our Drupal 7 site need to be in a standard web format: MP4-H.264/AAC to assure play back by all user devices. ffmpeg is working correctly. Video upload field stores all ...
0
votes
2answers
41 views

How to delete files when the node that displayed them is deleted?

Is there a way to delete files/images from the server automatically when the main node is deleted? How do I implement this?
0
votes
0answers
27 views

Adding “Browser Server” to CKEditor iframe insert box

I have a drupal site and I want to be able to select files from the server and insert them into a iframe. I can do this with images but the button is missing for iframes, and I was hoping there was a ...
0
votes
0answers
40 views

How to rename uploaded files

Using Drupal 8, I want to rename and clean all filenames, e.g. If someone uploads file named like this Screen Shot 2016-03-29 at 1.13.21 PM.jpg, I want to clean it so that convert all spaces to dashes ...
0
votes
0answers
15 views

Commerce file description as text only

I've got a shop selling downloadable product variations. I'd like to display the Commerce Files field description to anonymous users as text only. Here's how it currently appears for registered ...
0
votes
0answers
11 views

Allow both automatic thumbnail extracts from videos and manual upload

Is there a way to allow BOTH options for the users: to manually upload a thumbnail for a video and to have thumbnails automatically extracted through Zencoder? Because currently they are mutually ...
0
votes
0answers
20 views

How to set up file system configuration to save files on another hard drive

Since users are allowed to upload large files i have setup like this: sites/dafault/files/uploadfolder/username/folder/ Shortcut to another harddrive on server is setup so files under ...
0
votes
0answers
24 views

Drupal mysteriously deleting styled image derivatives immediately after they are created causing 404s

I have here a strange problem with a Drush module I have created. The title says it all: when the code is run, the original image is placed fine and as long as it is sort of medium-sized it shows up ...
1
vote
0answers
20 views

Webform: Upload multiple files via one file dialog?

In a Webform, I want to let the user upload multiple files via one call of the file dialog. What I found Webform Multiple File Upload Webform Multiple File But with both, I cannot just open the ...
0
votes
1answer
24 views

How to upload image or video from mobile device to content [closed]

Creating node via mobile browser goes ok, but when adding image or video i can only record and upload which also works fine, but i can not access gallery and choose an image to upload. Options ...
0
votes
0answers
27 views

Rename uploaded file in hook_entity_presave()

I want to alter/rename files uploaded by CkEditor image dialog. I'm using $entity->setFilename($new_name); and $entity->setFileUri($new_uri); in hook_entity_presave(). The name of the file ...
0
votes
0answers
6 views

Get doc export file (node export in doc format) in CRON function Dynamically

I have made and an simple app which get the data from user and export it in PDF and doc format successfully Now i have to add Notification functionality which will run check for nodes which last ...
0
votes
1answer
23 views

Get real_path of a file

I am creating a excel reading module in drupal 8. I want to get the real path of a file for reading, in drupal 8. I'm having the path public://2016-03/Places.xls. Which code function need to use ...
0
votes
0answers
12 views

Advanced file handling with workflow

I have a field with type file. The whole content type follows the workflow process. As of now, when a new file is added to the new revision, it automatically gets renamed and the recent file will be ...
0
votes
1answer
10 views

Cannot find image properties when uploading

I'm building an LXC based on an existing and working well website. I've checked that all settings where the same. However, when I want to save a content after having uploaded an image on my LXC, I get ...
3
votes
2answers
78 views

How to upload a file in Drupal 8?

I'm a brand new Drupal user and I just installed and started configuring a Drupal 8 instance. I've had no problem tweaking the theme, and creating text content, but I can't seem to find the button to ...
0
votes
1answer
19 views

public file name encoding on windows

I have to deploy a drupal 7 site built on Linux on a windows machine. Some (image) files are referenced via the public file mechanism. Some of them have special characters in their names, encoded in ...
1
vote
1answer
20 views

Secure file download from other server

This is an unusual one. Let's say I have two web servers A and B. How would I go about making a link to a file from a Drupal website on server A to a file on server B such that the link is secure (the ...
4
votes
1answer
43 views

Upload File Processing Background

Is it possible when uploading a file to a node for it to upload as a background process? Ideally what I would like to do is to be able to upload files in the background while being able to continue ...
0
votes
1answer
37 views

Thumbnail preview not showing in Video Embed Field Module

I am using Video Embed Field Module for embeding videos in dupal 7 site. The thumbnail preview is not showing. I created a view block in the preview section of the view its shows the thumbnail but ...
0
votes
1answer
58 views

How to restore private file structure after major version update? [closed]

After a Drupal 6 to 7 update we are unable to use private image download, symptom is we cannot access private files via system/files, while public files can be loaded. Trying to download private file ...
0
votes
1answer
28 views

FileField Paths works bad when upload image - the wrong way comes?

I have my VPS with two sites: in first i have FileField Paths and it works bad. In second i have no FileFiled Paths and everything ok. The error is this: When I choose photo in the Image field and ...
1
vote
1answer
31 views

File upload is not working

We are using the file upload field in a custom drupal form, it was working for one (1) year but now it's not. It is working for administrators but not for anonymous users. My Code: $allowed_exts = ...
0
votes
0answers
27 views

Should I check in sites/default/files?

I installed a fresh D8 and was going for the usual setup of sending code and config to repo, and db sync (from a backup dump or sync from remote). Now when I reproduce the site given the code, config, ...
0
votes
1answer
32 views

How to use file_save to store pictures into a folder on server?

what i want to perform (globally) is to import a csv file that contains data such as book_title, author, and the cover image of the books. The csv file is loaded, book_title and author are stored in ...
-1
votes
1answer
22 views

Features doesn't recognize my drupal version

I looked in Status report: Drupal 7.41 I get this error: Please enter a valid version with core and major version number. Example: 7.x-1.0 I've tried all sorts of combinations but nothing works, ...
2
votes
1answer
38 views

How to automatically create nodes from a bulk file upload

I've got a hundred or so files (mixed types: pdf, ppt, doc, etc). I want to be able to upload these to my server, and then point my D7 site to the directory on the server that contains all of these ...
0
votes
0answers
25 views

How to use Drag & Drop dnd:removeFile event?

I'm using Drag & Drop module to let users upload an image in their profile (I'm using a custom profile tpl). In that custom profile, I'm using in-place editable fields with AngularJS, so there ...