Questions tagged [image-upload]

Denotes question related to Image upload

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

Why is there another image when uploading via REST API

I am sending a POST request to the upload an Image { "entry": { "media_type": "image", "label": " image", "position&...
0
votes
0answers
18 views

How to limit 5 maximum images each product in Magento2.3?

I want to limit 5 images per product. Admin can't able to upload more than 5 images. How can I achieve this?
1
vote
2answers
31 views

Magento 2.3.5: system.xml file upload allow types not working

system.xml <field id="upload_image_id" translate="label comment" type="image" sortOrder="50" showInDefault="1" showInWebsite="1" ...
1
vote
0answers
13 views

Thumbs not showing in 'insert file' in admin

For backend - both in the 'Media Gallery' and 'insert file' the thumbs are not being shown. Broken links are being shown. I have tried resetting all the file and folder permissions - no change I ...
0
votes
1answer
125 views

magento 2 : resize image before upload on server

I want to upload images for custom module, so before upload image on media folder I want that resize image. How can I set resize image before upload on media folder ? Here is my code: public function ...
0
votes
1answer
23 views

Custom Image upload field resulting in error

I'm using this code to upload images to a custom field in the admin panel: <item name="config" xsi:type="array"> <item name="dataType" xsi:type=&...
0
votes
0answers
40 views

How to add upload image in custom payment gateway ( Magento 2.3.5)

I'm very new to Magento. This is what is tried to achieve, an image uploader in custom checkout. But the problem is that I have no idea how to upload the image. The code below is what I had tried. I ...
0
votes
0answers
11 views

Implement multiple image upload functionality magento 2

Catalog -> Product -> Images And Videos
0
votes
0answers
17 views

How to create Multi Image Uploader in custom ui component form?

I trying to create a Multi Image Uploader field in my custom admin ui form. The multi Image uploader is need like as product form multi image uploader. If anyone good in this part, help me! Note: I ...
0
votes
0answers
7 views

Magento 1.9 return 403 error while uploading downloadable products

I am getting 403 error for downloadable products,
0
votes
0answers
26 views

How to use JPF or JPEG 200 image formate in Magento 2

I have been given image files in jpf or JPEG 2000 to upload into a Magento 2.2.4 store. But looks like this is not an image file format which is supported. Is there any way to make this work? Thank ...
0
votes
2answers
48 views

Image cache is not generated properly when importing new products - Magento 2.3.4

I have recently imported 200 products, the import went well and the images do show up on the back-end correctly, however there is no cached version available. If I look at the category page and image ...
0
votes
0answers
12 views

uploading category's images for multiple stores

I am Sharing 1 root category to multiple stores I've created (exactly 24 stores) each store have 2 store views (EN and AR) for English store views, I need to upload the images 1 time on "all stores" ...
0
votes
1answer
19 views

Magento 2.3 Cloud Enterprise - Not able to upload any picture/image at all (error messages)

I'm very new to Magento and I have a functional background. I have read and followed all Magento commerce functional manuals on how to configure the Backend (creating products, customers, adding ...
1
vote
0answers
308 views

Magento 2 file upload issue - {“error”:“The file was not uploaded.”,“errorcode”:666}

I've been fighting an issue with file/image uploading through my custom Catalog module. The upload field is in a programmatically generated UI Component form. Here is how my upload field is defined in ...
0
votes
0answers
19 views

How to customize ImageUploader component?

I am currently using an ImageUploader in a dynamic rows element. However, I have a couple of obstacles I need to overcome: 1) How to remove the "Upload" button? 2) When using the "Select from ...
0
votes
1answer
35 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
1answer
216 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
18 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
19 views

Pass params in to UI image uploader

I am building an image uploader in one of the custom forms. Everything is working, except I cannot pass the entity_id in the uploader URL. I need this url: /my-url/uploadImage/entity_id/1 What am I ...
0
votes
0answers
31 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
46 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
82 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
29 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
23 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
50 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
16 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
43 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
71 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
253 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
43 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
20 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
41 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
25 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
142 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
51 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
2k 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
16 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
24 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
241 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
64 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
29 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
166 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
87 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
55 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
167 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
225 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 ...

1
2 3 4 5
8