Questions tagged [upload]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
1k views

Asset Uploading via Assets Field Broken, please help

*Update: Installed MAMP Pro, reinstalled Craft, asset upload is working now. Not exactly a fix, but seemed like the simplest route of action due to my unfamiliarity with PHP. Thanks to those who ...
1
vote
1answer
434 views

How does Craft handle uploading assets to AWS?

When users upload assets to a Craft CMS site setup to use AWS, do the assets go directly to AWS or are they uploaded to the Craft server first? The reason I ask is I'm building an area where users ...
1
vote
1answer
1k views

Issue uploading files

I have completed a website for a school who can't upload files when in school. When they upload a file the status bar loads the full way across the screen but at the top right it just keeps spinning. ...
1
vote
1answer
935 views

Upload images bigger than 1MB not working

I am trying to upload jpg assets to Craft. As long as the files are smaller than approx. 1MB it's working, even in bulk upload. As soon as there's a file bigger than 1MB Craft gets stuck like this: ...
1
vote
1answer
1k views

Why does asset uploading fail with the error “Uploaded file was empty”?

Recently I've noticed that file uploads through the Craft admin panel have started to fail with the response "Error uploading the file: Uploaded file was empty". This error occurs when trying to ...
1
vote
1answer
311 views

Images containing EXIF orientation tag are not rotated on upload

The Craft CMS instance where I noticed this is running version 2.6, but I updated it last month from version 2.2. While we did not notice any problem, according to the client, they were able to ...
0
votes
1answer
535 views

Craft 2.6 Asset Upload 500 Error (EC2 and Amazon S3) [closed]

Our site is hosted on AWS with assets uploading to an S3. Everything has worked great until the last update. Locally, I can upload assets without issue, but on the stage we're receiving an error /...
1
vote
0answers
276 views

Upload assets manually: replace existing files

Context: For a redesign and port to CraftCMS, I need to import the content from a blog hosted on another platform with a lot of content (over 500 posts and over 3000 images). Strategy: To import the ...
1
vote
1answer
156 views

Uploading to a date subfolder within a Matrix

I'm working on a site that will have lots of content. Our customer now asked to have their images upload into a different subfolder, by date. I can get it done in a "normal" Assets field, but in a ...
1
vote
1answer
129 views

Adding images directly to public folder

I have over 9000 photos that I need to add to my site however using the upload feature in assets is taking an extremely long time. I have tried to just simply add the images to the correct folder in ...
1
vote
2answers
825 views

Uploaded image not appearing

I'm having an issue where a user is uploading images but they're not showing up correctly. The photo is listed in /admin/assets and shows the correct file size, kind, dimensions, etc but I'm getting a ...
0
votes
1answer
325 views

Uploaded .gif only loops once instead of infinitely [closed]

Having a problem where uploading an infinitely looping gif only loops once. I've tested it with and without image transforms and get the same issue. I know there there was an issue previously stated ...
1
vote
0answers
89 views

How may I restrict uploads to a single folder with variables within a Rich Text Field?

Craft's Asset Fields allow you to restrict uploads to a single folder—and even pass through a variable to create a dynamic path. How may I restrict uploads to a single folder with variables like this ...
1
vote
1answer
159 views

Error uploading .bmp file format - gets rejected

I'm doing some testing on file uploads and discovered that the .bmp file format gets rejected even though defined in my config file as an allowed file extension. I have added the following to my ...
1
vote
2answers
412 views

Craft Commerce: Upload File Field in Order?

I'm looking at Craft Commerce as a possible solution. In the order process we want customers to be able to upload a file against their order which can then be accessed by the shop administrators. Is ...
1
vote
1answer
1k views

Upload failed for filename. The path doesn't exist

I have an issue with uploading files. I got an error message: Upload failed for filename. Path directory structure "/public_html/assets/images /" set for this resource doesn't exist. The Path ...
2
votes
1answer
556 views

JPG upload not completing in Craft 2.6.2789

When uploading a new asset the loading bar appears complete but does not actually upload the JPG. I've investigated the Craft logs and cannot find any errors regarding this. In the Javascript console ...
1
vote
1answer
50 views

UsersController's actionUploadUserPhoto and actionCropUserPhoto with Element API

Can you use the Element API plugin to utilize UsersController's actionUploadUserPhoto and actionCropUserPhoto methods?
4
votes
1answer
498 views

How to control the format of an asset's Title

Is there any way to control the formatting of an asset's title that is created from the filename on upload? At the moment, if you uploaded a file called Craft-CMS.pdf it would create the title as ...
2
votes
1answer
195 views

Upload Image Custom Field

Is there any "Upload Image" custom field in craft so that I will be able to make my images editable. Thanks for the answer.
3
votes
1answer
200 views

Dynamic Subfolders leaving empty folders behind

I have {status}/{category}/{slug} as the path for uploading photos. When the status changes on the entry, then the photos associated with that entry move to the correct folder. However, it leaves ...
1
vote
1answer
1k views

S3 Asset uploading hangs

I am having an issue with uploading assets to S3 from Craft. So far I have taken the following steps: Create permission policy and attached to group containing craft user: { "Version": "2012-10-...
3
votes
1answer
1k views

Image upload failed- file not writable

Trying to upload images and get the following error Upload failed for "filename". The error message was "Error uploading the file: The folder "/var/www/html/imgs/logos/" is not writable"
0
votes
1answer
494 views

Upload any size image into carousel

I wanted to create a php which allow admin to upload their pictures in any resolution and image file type, but it has to display into a bootstrap carousel with fixed size. Does anyone has the similar ...
1
vote
1answer
2k views

File upload - maximum upload size of 0 B

I just upgraded Craft to the latest version, and this error now shows up. The file “myfile.jpg” could not be uploaded, because it exceeds the maximum upload size of 0 B Any fix ? Everything worked ...
0
votes
0answers
158 views

PHP Warning on Asset Upload: PelInvalidDataException

I have a front-end form to upload image files, which works 100% perfectly most of the time. However, I've noticed with larger sized images, I'll get a PHP error saying: PHP warning include(...
0
votes
1answer
452 views

500 error: uploading files (duplicate primary key)

Afternoon all - odd issue where created some new asset folders and adding new files is timing out. If I view the folder in question (on the server) I can see the file has been successfully uploaded ...
1
vote
1answer
274 views

How can I get a restricted Asset Allowed File Type upload to accept RTF files

I have an Asset field for front end users to upload asset files. I prefer to use the 'Restrict allowed file types?' option. However I do not see a choice for Rich Text Format (RTF). I have 'Word' ...
3
votes
0answers
372 views

Uploaded 8-bit PNGs losing alpha transparency (using ImageMagick) [closed]

I found searching through other questions here that: Currently the images are being cleansed on upload, which means that they are being re-saved to make sure that no malicious code is injected ...
1
vote
2answers
870 views

Adding php.ini file to root crashes site

My client's site is on name.com and in order to change the upload limit, I think i need to place a php.ini file in the web root. But Craft crashes when I add it. The site is fine when I remove it. ...
4
votes
1answer
1k views

Upload file from plugin's Controller to a non-Assets folder

I have a plugin Controller that accepts a POSTed form, including an uploaded file. If I make an Assets Source I can successfully save the file into its folder like this: $file = UploadedFile::...
0
votes
0answers
249 views

upload doesn't finish

the file upload always does not finish and it shows no error alert. Also in the logs there is no error. I only find an error in the browser debugger on actions/assets/uploadFile . Maybe the error ...
1
vote
1answer
69 views

How can I add field content to an asset in code?

I'm trying to upload an asset based on this code https://gist.github.com/sathoro/8178981 which works fine, but how can I add additional content fields during the upload? I would like to set the ...
3
votes
2answers
305 views

Uploaded images stripped of EXIF data

I've got a clean install of Craft with just some initial configuration of entry types, categories, assets, etc. Any image I upload (either directly into assets or via an image field) has almost all ...
0
votes
0answers
827 views

Assets upload and Update Asset Indexes issues

There seem to be some issues with asset uploading, and i can't figure out what the problem is. Here's a summary: After uploading an asset it doesn't show up in the Assets listing If i do a 'Update ...
1
vote
1answer
2k views

Redactor upload image and file does not work

I succeeded to add the image and file upload buttons to my rich text redactor field with the fileupload param in the json config file. { buttons: ['html','formatting','bold','italic','...
3
votes
1answer
482 views

Upload and crop profile photo in frontend

When you are in the backend and go to a user > profile tab. You'll see a very nice photo upload. I want to build this for the frontend users as well. I have a basic form and I'm loading in the ...
1
vote
1answer
201 views

Get file errors after upload

Hi I have a plugin which is basically a form. This form has upload file field which I added in the backend side in Assets fields so I have something like this: <fieldset> ...
1
vote
1answer
871 views

How do I upload photos into my assets list/library?

I get the following error message when I try to upload the photo: "Upload failed. The error message was: Error uploading the file: The file system path "/home/tramweb/public_html/craft/assets/content/...
1
vote
1answer
187 views

File upload error. Cannot upload .key (keynote) files

I am trying allow users to upload keynote and powerpoint files. Powerpoint works fine. Keynote fails. I do not have any asset type restrictions in place. Why am I unable to upload asset type .key?
1
vote
1answer
660 views

Uploaded photos not showing on entry

Please refer to this thread for information leading up to this problem. I am having problems with mass file uploads, the files will upload in my CP for craft, and be present on the assets list, ...
0
votes
1answer
683 views

Multiple Photos/Assets in one upload entry [closed]

I'm having a bit of a problem with using craft currently. My site has a gallery section where I would like to mass-upload image files to an entry which is in the area: admin/entries/photos However, ...
1
vote
1answer
509 views

Server requirements for uploading large images

I'm experiencing the problem that I can't upload large images. Very similar to this problem: Craft CMS max image resolution? But I couldn't solve the problem so far. My first question is: Where do I ...
1
vote
1answer
2k views

Does Craft enforce a maximum filesize for large files?

A client we're working with has a requirement to upload one large file (about 320MB) every 2–3 months. Craft has been configured with a local asset source to handle this. I'm trying to decide the ...
1
vote
1answer
1k views

Asset uploads failing on new installation of Craft CMS

New (local) installation of Craft on Mac OSX Yosemite, working well except uploading an asset doesn't complete. The progress bar hangs and the spinner never stops spinning. Craft index.php is located ...
1
vote
1answer
290 views

Catch file-size errors in Guest Entries Form

I have a front-end entry form using the Guest Entries plugin, with a file input for the user to upload a photo. I am also using the jQuery Form plugin for AJAX submission, but the behavior is the same ...
3
votes
1answer
155 views

Prevent to upload any kind of file on Asset menu

I made two different types of Assets: one for images and one for PDF. They works in 2 differents folder to avoid to mix them. Using them inside entries it works good, if I try to upload something ...
0
votes
1answer
1k views

Unable to upload PNG images

I'm running Craft CMS on OS X Yosemite (Server.app) and cannot upload PNG images. JPG uploads are working as expected. I get a log message like the following: 2015/01/15 08:39:08 [error] [exception....
1
vote
1answer
555 views

Craft CMS max image resolution?

Is there a max image file resolution set up in Craft CMS that can be uploaded? I'm trying to upload a series of .jpg images in a Matrix to create a gallery, and I've noticed I'm not able to upload ...
1
vote
1answer
182 views

Something went wrong when processing the logo

I've just installed Craft on a new Laravel Homestead environment and all seems to be running fine, with the exception of being able to upload a logo in the General settings. The logo uploads and ...