Questions tagged [image-upload]

Denotes question related to Image upload

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Magento2: How to show multiple image upload validation?

I want to show multiple image validation as the field need to upload max one image. My code: <input id="fileupload" type="file" class="form-control input-text" name="image" ...
0
votes
0answers
11 views

Magento Reg: Image Repeated updated on automated upload

we automated the uploaded 100 products in magento, after uploaded the files we reviewed the images are shown two times. Kindly help us with how to remove it via automated upload. and guide me on how ...
0
votes
0answers
18 views

How can I link images that are already on the server to a new product uploaded via api with only one call?

I uploaded about 12000 products to pub/media/<custom-dir-name> I now want to link them to products as I upload them using the API. The product creates just fine, but no images are linked. { ...
0
votes
1answer
31 views

Image Uploader in Dynamic Rows Ui Component not saved since Magento 2.3.3

I made a module using dynamic rows component with imageUploader field inside. I was able to upload my image on the Magento 2.3.2, but since the new release (2.3.3), I can't pass the valideFileId() ...
2
votes
1answer
53 views

In magento 2, Edit the image uploaded image field works in localhost but not works in server

In magento 2, Edit the image uploaded image field works in localhost but not works in server I follow this blog https://blog.qaisarsatti.com/magento_2/magento-2-ui-component-image-upload/ Before ...
0
votes
0answers
11 views

Magento Not Upload Product Image

I try to upload the product image but it give error {"error":"$_FILES array is empty","errorcode":666}
0
votes
0answers
26 views

Magento 2.3.2 - SVG Logo not supported

I have tried to upload SVG logo in Magento 2.3.2 but its shows error "We don't recognize or support this file extension type"
1
vote
1answer
40 views

How to edit the image field in admin [duplicate]

I use this blog ui-component <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
1
vote
1answer
25 views

Error in custom option file upload on magento 2.3.x

A few weeks ago some clients were uploading pdf files, and when they added to the cart, showed them an error the file is invalid,this is a lie, because it was upload a file with pdf extension. here a ...
0
votes
0answers
38 views

Magento2.3.2: A technical problem with the server created an error

I am getting below error while upload image to static block or static pages. A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, ...
1
vote
2answers
35 views

How can I send Image attachment in custom email from controller in Magento 2.3.0

I have created custom module for quotation in Magento2.3.0. Module is working as per requirement but I want to send an attachment also in the email which is not working. I am sending email from ...
0
votes
1answer
40 views

The image file was not uploaded error in Magento 2 while editing the grid form

I am getting the file was not uploaded error in Magento 2 when I edit the form in the Magento 2 backend. When I try to save the form it shows an error. The problem is that it requires me to choose ...
0
votes
1answer
34 views

Saved image in the admin grid is not fetching while editing the grid Magento 2

The image is already saved in the uploaded image. But when editing the form it shows No file Chosen. How can I fetch the previously save the image? Here is the save.php code: <?php ...
0
votes
1answer
10 views

Magento2.1 image importer

I want to import images into magento2.1 with default importer. My problem is that I added image folder into pub like this: pub/media/catelectronicpic/mobile/1.jpg pub/media/catelectronicpic/...
1
vote
0answers
46 views

Upload image equal media gallery Magento 2

$fieldset->addField('media_gallery', 'note', [ 'label' => '', 'title' => __('Media Gallery'), 'name' => 'media_gallery', // '...
1
vote
0answers
33 views

Magento 2: Upload image without Ui component

how can I upload an image by this way, please help me, thank you $fieldset->addField( 'image_field_name', 'image', [ 'name' => 'image_field_name',...
0
votes
0answers
7 views

Images in Imagebrowser not shown in Magento 1.9.4?

When I open the image in browser on a CMS page for example, the existing or uploaded images are not shown. They are uploaded correctly and are also shown in the editor and on frontend, its just the ...
1
vote
2answers
217 views

In magento 2, how to edit the uploaded image field

In magento 2, how to edit the uploaded image field I follow this blog https://blog.qaisarsatti.com/magento_2/magento-2-ui-component-image-upload/ ui-component <field name="promo_image"> ...
0
votes
1answer
42 views

Upload Product Images By CSV

I want to upload small, thumbnail and swatch image to many products by CSV. Images will be the same. When I import csv, the process is showing success and I can see those images are uploaded at the ...
0
votes
1answer
50 views

Getting Fatal error: Call to a member function setUrl() on null in Magento 1.9

Fatal error: Call to a member function setUrl() on null in /app/code/local/Ced/CsProduct/Block/Media/Uploader.php on line 37 I'm using the below code $this->getConfig()->setUrl(Mage::...
4
votes
1answer
35 views

Magento 1.7 product images issue

I am facing a strange problem with my magento 1.7 installation. If I upload images for any product, save and check the product on the frontend, facing this error a:5:{i:0;s:1203:"Invalid method ...
0
votes
0answers
17 views

Magmi With S3 Bucket

I'm uploading product images to s3 bucket and import products from csv using Magmi. We access the image in CSV via remote link but i cannot upload it to s3. How i can using Magmi with S3 Bucket to ...
2
votes
0answers
32 views

Magento 2: How to implement multiple image uploader in admin form using UI component

I'm using UI component for building admin form. In the form, I have an image uploader field. Using this uploader, I'm able to select only one image to upload. But I need to upload multiple images. ...
2
votes
2answers
69 views

Magento1.9.4: Images Not Uploading in Admin – JSON in Syntax Error

I am trying to upload an image - something which I have done a hundred times. Now it gets stuck with "uploading..." showing. I have tried disabling extensions. I haven't made any changes. There have ...
4
votes
2answers
163 views

Magento 2: Getting error Unsupported image format. File: /var/www/mysite/pub/media//Meeting_notes_2__1.docx

I am getting an error in admin editor: Unsupported image format. File: /var/www/clients/mysite/pub/media//Meeting_notes_2__1.docx My Code is <type name="Magento\Cms\Model\Wysiwyg\Images\...
0
votes
3answers
30 views

Wysiwyg image upload button not there - Magento 1

The image upload button on the Wysiwyg is not there on my Magento 1 site.
0
votes
1answer
41 views

Magento 1.94 image upload - exif missing

After upgrade to 1.94 I realized that image upload is removing all Exif data from uploaded images. I tried to search for any '->stripImage()' string in the project but no success.
0
votes
0answers
92 views

Adding 'insert images' button to WYSIWYG editor for category default attribute 'description' / remove setting from ui xml file

Is there any chance to add the image button to the WYSIWYG editor for the category description? The button is remove by the ui category_form.xml setting files_browser_window_url = false. magento/...
9
votes
5answers
538 views

File type .svg Error in image upload Magento 2.3.1

How to Allowed file types svg image upload magento 2 Show in system.log main.ERROR: Unsupported image format. File: /var/www/html/pub/media//logos_1.svg
0
votes
1answer
119 views

Magento 2 : Added field for video, music ( mp4 , mp3) upload in admin form

I try to upload image, video or music player, for that I use $uploader->setAllowedExtensions(['mp4', 'mp3', 'jpg', 'jpeg', 'gif', 'png' ]); , but it doesn't work. Anyone have idea about this problem? ...
0
votes
0answers
92 views

Some Images could not be resized. See log file for details

Some Images could not be resized. See log file for details I use Magento 2.2.6. I use allways the same picture only name change! 5781-R101.png do not work ABCDEFG.jpg work fine picture has only ...
2
votes
2answers
54 views

Product Gallery Image Upload Issue in Magento 2.1.4

While uploading an image to the product gallery in magento backend product edit, I am getting the below error. "We Dont Recognize or Support this File Extension type" For all extension types i am ...
0
votes
0answers
116 views

Magento 2: Image not uploading in UI form "Attention: File was not uploaded”

I have created a custom form using Ui_Component,facing problem during image upload. I am using 2 column left layout ie, tab structure. https://prnt.sc/nouwe5 When I try to upload the image it shows ...
1
vote
0answers
35 views

Cannot upload images on Magento 2.3.0 in Xampp

I have freshly installed Magento 2.3.0 successfully in Xampp. After installing, I have tried to upload logo image but couldn't and it says as in the below image What could be the problem and why am I ...
2
votes
1answer
37 views

Add UI component Field in Block form

I want to add an image field of UI component on traditional block form. I want to replace only this field with UI component. The reset field should be in Block class form. $fieldset->addField( ...
1
vote
1answer
74 views

Magento 2: Image Field Checkbox Not Working

I'm new to Magento, i have a image field, when i upload image and edit it, like next time i want to remove the uploaded image, i checked the checkbox and hit the save button, but image do not delete, ...
2
votes
3answers
476 views

Magento 2.3 Image upload field on CMS Page

I followed the steps from the following post (Magento 2 : Add Hero Image Upload Field on CMS page) to create an image upload field on the CMS page. I managed to create the field on the CMS page, as ...
5
votes
2answers
143 views

In admin form after edit and save a form in db, already stored image save as blank in db in magento 2

when a edit admin form, Previously saved image path become blank in db how to solve this problem in magento 2 I m done a image upload and save into db by using this code In form upload and save a ...
3
votes
2answers
699 views

Magento 2 stop (or) avoid resize product image at admin end?

In Magento 2.2.3 CE, Is it possible to get default maximum image dimensions in Magento when uploading images at admin end? For example, I uploaded some images to a product that were 2400x2400 and ...
0
votes
0answers
166 views

Magento 2.3.0 Custom UI Component custom admin form How to Upload image?

In Magento 2.3.0 How to Upload the image into the custom admin ui component form ? I have tried many codes but "The file was not uploaded" error occured into the uploading My Code: adminhtml/...
3
votes
3answers
317 views

Magento 2: Static block image upload not working

I am using Magento 2.3 I am unable to upload image static block. It will show insert file instead of image. I don't know what is the problem here
1
vote
1answer
23 views

1.9.2 image issue - have buttons, uploads successfully, does not attach to product

I have the upload buttons, the file uploads successfully, but it does not attach to product Magento 1.9.2.4 I have done the following Ensure that the app/design/adminhtml/default/default/template/...
1
vote
1answer
145 views

Save Image Using Observer Or Model

I want to upload and save image using observer or model. How can I do that? $imageAdapter = $objectManager->get('Magento\Framework\Image\AdapterFactory')->create(); $uploader->...
2
votes
0answers
40 views

Image not uploading

It is when I select the upload files button that the file goes red and doesn’t upload.
2
votes
1answer
387 views

Magento 2 : Missing required argument $baseTmpPath

I used image uploader in ui form. But, when I save image not saved in main folder and return error Missing required argument $baseTmpPath of Vendor\Module\Model\ImageUploader. My Files code : di....
1
vote
0answers
75 views

Insert image in Magento CMS error

When we try to insert the image in cms page or cms block the popup not showing any images which we have uploaded as well as no button for upload image. Please check below image:
2
votes
1answer
639 views

Magento 2 : How to add image upload in ui form

How to add image uploader as like in the category?
0
votes
1answer
71 views

Image Uploader throws Uncaught type Error in Ui Component

I'm Using UI component to upload an image but it throws this error Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Framework\View\Element\UiComponentFactory::argumentsResolver() must ...
1
vote
1answer
52 views

magento 2 logo image cant upload

Hi I'm facing trouble in uploading the logo image in the transaction email section using admin back-end, it is still showing the previous one but with some block and the resolution showed "x". May I ...
4
votes
0answers
157 views

Magento 2.3: category image gets overwritten

I came across an unexpected behaviour in Magento 2.3 Adminhtml area. Uploading an image with the same name of another already present in the upload category folder replaces the old the one with new ...