Questions tagged [image-upload]

Denotes question related to Image upload

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

The file was not uploaded. Magento 2 custom module

I'm trying to upload image in my custom module but I always getting the "The file was not uploaded." error. I trace the code and all I can say is the $this->uploader->create() is not working. Here my ...
0
votes
0answers
14 views

Magento 2 image filesize() warning

I'm using the third party marketplace module Aptha. when I tried to save the image i get the following issue. Exception #0 (Exception): Warning: filesize(): stat failed for http://192.168.43.35/b2b/...
0
votes
0answers
15 views

Issue while adding image in the custom attrbute

I upgraded Magneto version from 2.2.5 to 2.3.3.Then I created custom product attribute at admin back-end. When I try to Insert Image using text edit it show the error Please tell me how can I fix ...
0
votes
0answers
12 views

Pass params in to UI image uploader

I am building a image uploader in one of the custom form. Everything is working, except I cannot pass the entity_id in the uploader url. I need this url: /my-url/uploadImage/entity_id/1/...
0
votes
0answers
26 views

Magento2 - I want to upload SVG Image for product

I want to upload SVG Image for product from Magento2 Admin. I have also used IMI_SVG Product Images But Image is not visible on front-end & admin grid.
0
votes
0answers
18 views

Multiple Images for categories in magento 2

I need to upload multiple images for categories like in products in Magento 2. How can I do this? Any help is appreciated. Thank you
1
vote
1answer
73 views

How to set UiComponent imageUploader Width and Height in Magento 2.3.4?

I'm using Magento 2.3.4, and now I'm extending the category form to add new field input image like this: app/code/Vendor/Module/view/adminhtml/ui_component/category_form.xml <field name="...
0
votes
1answer
26 views

How To Upload Images and Show Their Thumbnails From Custom Module Admin Form

I have a custom grid. Need to upload product images from admin form of the custom module. Here is the grid Edit file at: app\code\local\Crud\Banner\Block\Adminhtml\Banner\Edit\Form.php $...
0
votes
1answer
19 views

How to provide provision to upload a pic during checkout in Magento 2

Here I want to add a functionality in checkout. where the user can upload a logo or picture during checkout and I want to use that pic afterward. for eg: If a customer uploads his logo or picture ...
0
votes
0answers
24 views

Magento-2.2.5 GIF Images uploaded for product not working in frontend

I am trying to upload .gif image in backend in magento2.2.5 for downloadable product but it is not displaying properly in frontend. product image save in below path: catalog/product\cache\960x720//...
0
votes
0answers
13 views

Underscores in Media URLs - can't change to dashes, won't upload!

We have just had a brand new updated Magento 1 website and had to re-upload all our images/pdfs. Usually, in the past we label these how we want the URL to show however: URLs / file names have ...
2
votes
1answer
22 views

Help! image appearing twice on product page

we have had our website developed with an offshore team located in India and it to see I would be putting it lightly if I said it has been frustrating. I have no idea about coding and pretty much ...
0
votes
0answers
15 views

Image is not saving when upload it from frontend custom phtml file

Images are not saving when upload it from frontend custom phtml file, image names are adding in database but it is not saving in media folder Here is my Controller $path = Mage::getBaseDir('...
0
votes
0answers
26 views

how to pass the upload file values to magento 2 uploader?

I have a custom checkout, I have created a custom image up-loader in my checkout file in shipping section. I want to pass the upload file to controller using ajax. <script type="text/javascript"&...
0
votes
0answers
61 views

Magento 2 Add Image Upload in Configuration issue “The base directory to upload file is not specified”

I am new in MAgento2, and I installed custom module of Magento 2.3 to add image file upload configuration in system.xml. But i encountred this isuue when i try to save the config : system.xml <?...
0
votes
0answers
32 views

Magento2 need to write a images script

We need to write a script run to determine which images are in use by catalog Magento (in the database), and which ones are not? If they are not referenced (uploaded before, but not in use now), we ...
1
vote
1answer
34 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
18 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
33 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
14 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
74 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
38 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
1k 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
142 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
61 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
19 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
96 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
53 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
46 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
88 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
120 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
46 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
49 views

Upload image equal media gallery Magento 2

$fieldset->addField('media_gallery', 'note', [ 'label' => '', 'title' => __('Media Gallery'), 'name' => 'media_gallery', // '...
1
vote
0answers
36 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
242 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
48 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
131 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
44 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
20 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
49 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
122 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
514 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
50 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
146 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/...

1
2 3 4 5
7