Questions tagged [image-upload]

Denotes question related to Image upload

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Magento2 image name doesn't save in Custom db

Here I am trying to save the image name which will be stored in the URl_TYPE_Media banner/Banner/image , but image name is not saving in DB. below code is what i have done so far. I am new to magento2 ...
0
votes
0answers
11 views

Unable to get only Image URl in Magento2 Custom Widget

I have requirement of Image in the widget and i have using Wyswigy editor to add image, but i Image url to be wysiwyg/pic 01.jpg but i am getting <img src="{{media url=&quot;wysiwyg/pic 01....
0
votes
0answers
29 views

Magento 2 : Set default image in image uploader field in system configuration

I want to set default image when user save configuration empty records. For eg : when user delete image and don't upload new image at that time, default image should be available in database/image ...
0
votes
0answers
11 views

Import Product Images Zip from Admin Panel in Magento 2

I need to make a panel in Magento 2 admin panel where i can upload a Product Images zip file which will extracted in pub/media folder. How can i do this? what approach should i follow to do this? ...
0
votes
1answer
42 views

Magento 2 upload image not showing in post form data

I have created a custom module and in the admin New/Edit form I added the image field but when I submit the form with uploading image, it won't show the image in save controller. I used to add below ...
0
votes
1answer
25 views

Email With Multiple Images Not Sending ? Magento 2.3

I made a Module which has a form for customer to send his/her info with multiple images, Images saved to media folder on Submit also I get success message, but the Store Owner don't receive mail ...
1
vote
2answers
475 views

Invalid parameter given. A valid $fileId[tmp_name] is expected

I am trying to use an image uploader but it is generating error Invalid parameter given. A valid $fileId[tmp_name] is expected. I debugged and find out that the problem is in image uploader class ...
0
votes
0answers
15 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
1answer
23 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
2answers
97 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
57 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 ...
1
vote
0answers
15 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
51 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
41 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
40 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
40 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
59 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
68 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
39 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
34 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
8 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
230 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
46 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
83 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
38 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
38 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
89 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
293 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
32 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
43 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
123 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/...
10
votes
5answers
776 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
200 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
109 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
58 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
143 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
37 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
39 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
100 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
577 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
213 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
823 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
196 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
349 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
185 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.