-
|
Adding an image to a blog post is an arduous process in my Craft CMS installation: I add a custom block, I am presented with a drawer, then a dialog, then a way to upload files, then editing the metadata, and then adding it to the entry. In this video, you can see this process takes 34 seconds: image.mp4In Wordpress, this all but takes 3 seconds, and I can keep working on my blog post: CleanShot.2025-11-11.at.08.26.02.mp4With image-heavy blog posts, this process gets annoying. What I would like is to be able to drag and drop images, or paste images from my clipboard, straight into CKEditor. In the background, the image then gets uploaded. Editing the metadata I would do as a separate step (for adding captions, changing the presentation style or editing alt text) I am new to Craft CMS, maybe there is way to enable drag and drop. I think transforms are being added while saving the image (hence the long progress bar), but Wordpress does just the same - just in the background, not in the foreground. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Hello @Wolfr and welcome to Craft! A tip to speed-up the uploading of assets is to drag-and-drop them on the actual asset field, which is not immediately obvious but works great, and can even upload images in a predefined folder (By the way, you could use the "Upload file" button instead of first opening the selection modal as you do in the video, but drag-and-drop is faster still). Other than that you don't have to actually mess with "meta data" at the time of uploading the image, if you don't want to, unless you have specified the fields as required. So, that leaves us with the actual opening of the drawer, the upload of the image and saving the nested entry. From these 3 actions the slowest and most crucial is indeed the upload. I'm not sure why in your case this appears to be so slow, but it's worth noting that Craft, depending on your config, may perform sanitization, striping of metadata, uploading to a remote volume etc. Are you using any image optimization plugins perhaps, that might do some additional processing on upload? Having said that, being able to upload images asynchronously, that is without blocking the rest of the workflow, would surely be a nice enhancement. FR idea! Also, one aspect that complicates things is that Craft, by design, does not have "default" or "native" blocks, like Gutenberg does, so if you should drop an image in CKEditor it would not know what kind of (nested) entry to create. A solution to that would be if we were given the option to define a default entry type (and a field within that entry type) for images that are dragged into a CKEditor field. Another FR idea maybe? 🙂 |
Beta Was this translation helpful? Give feedback.
Hello @Wolfr and welcome to Craft! A tip to speed-up the uploading of assets is to drag-and-drop them on the actual asset field, which is not immediately obvious but works great, and can even upload images in a predefined folder (By the way, you could use the "Upload file" button instead of first opening the selection modal as you do in the video, but drag-and-drop is faster still).
Other than that you don't have to actually mess with "meta data" at the time of uploading the image, if you don't want to, unless you have specified the fields as required.
So, that leaves us with the actual opening of the drawer, the upload of the image and saving the nested entry. From these 3 actions the sl…