A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [image-upload]

Denotes question related to Image upload

Filter by
Sorted by
Tagged with
2
votes
1answer
262 views

Upload HTTP error frequently after patch 9767 v2

After applying patch SUPEE-9767 v2, i've often got an error like this but sometimes the uploading process works fine, but for some images when i try to upload it, it shows http error after doing ...
2
votes
0answers
571 views

Magento 2: Add drag and drop image upload in custom module [closed]

How can I add drag and drop image upload same as edit product page in custom module admin edit form instead of normal upload field.
2
votes
0answers
339 views

AbstractFieldArray with Image Upload

I have an issue with getting the AbstractFieldArray class to work with an image upload for Magento Backend. Basically I have a settings grid with 4 columns. 1 of them contains a dropdown field, the ...
2
votes
0answers
133 views

Image upload - JavaScript error TypeError: this.elements.container is null

I've looked through several posts and haven't found anything that has worked. This is a Magento 1.7.0.2 install. Has had all patches. The problem is that when I browse for and select an image file to ...
2
votes
0answers
304 views

Magento 2.1 : Multiple Image Uploader in Ui Component Form

I am getting this error <div class="row"> <div class="add-video-button-container"> <button id="add_video_button" title="Add Video" data-...
2
votes
1answer
85 views

Image not uploading 2nd time - Something went wrong

We are Providing product personalization feature [ users can upload image from product view page & buy the product]. here user can upload any number of images by clicking upload image button here ...
2
votes
0answers
686 views

Image Thumbnail not showing in Magento 2.1 admin panel

Im working on a custom module in magento 2.1 which has category attribute to upload thumbnail image from Dashboard>Products>Categories . When i try to upload an image, the preview is shown and the ...
2
votes
0answers
217 views

How to use same image for configurable and simple product?

When a image is selected to be displayed for configurable product it is saved (xyz.png) in the media. Now when I select the same image for another simple product It is getting saved in media with ...
2
votes
0answers
447 views

How to build a custom image gallery in an admin form in magento2? [closed]

I'm in the process of building a custom module to best implement the image management portion.What I want is this:
2
votes
1answer
1k views

Upload Image not working in firefox (Magento 1.9) frontend

I tried to upload some image product in frontend. Before, button browse and upload were missing, then I have upgraded the latest flash mozila (firefox) and then browse and upload button were there but ...
2
votes
1answer
160 views

Impossible to upload new products picture

I have an issue when I try to upload a new picture. I upload the new picture then select Thumbnail, Small image, Base Image for this mew picture. Then I select Remove for the old picture. Then I click ...
2
votes
0answers
49 views

The picture does not appear after the save [closed]

why after I save, the picture does not appear?
2
votes
0answers
571 views

How to build a custom image gallery in an admin form?

I'm in the process of building a custom module to handle our customer's submitted product testimonials. I'm mostly done with the admin management portion of the module but am hitting a major stumbling ...
2
votes
0answers
358 views

Having problem with product images, Magento is adding a faint pattern over images

I'm fairly new to Magento. My problem is that when uploading images to Magento, it's adding a very light square pattern over the images. It's as if it's trying to apply a watermark that doesn't exist ...
1
vote
2answers
7k views

Magento 2 : How to upload image from frontend

I want to add a feedback form in frontend, with an image upload field, How to save form data and images in database?
1
vote
2answers
5k views

How to Resolve File Uploading Error?

I have a module using which I need to upload an image. However Magento does not allow that.This is the stack trace that I have obtained Unable to create directory 'http://localhost/rajeev/magento/...
1
vote
5answers
9k views

product page image upload shows “Upload HTTP Error”

whenever i try to upload an image on product page it gives this error: Upload HTTP Error Given all permissions to all the required folders and cleared cache. Any solution?
1
vote
2answers
505 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 ...
1
vote
4answers
1k views

Magento unable to add webp images to category thubmnail

I want to add webp images to category thumbnail, how can we do this, it gives below error on adding webp images "File validation failed."
1
vote
6answers
2k views

Can't upload product placeholder images in Magento 2

I'm trying to replace the Magento placeholder image with a custom one. Everything I browse to select the file and hit Save, nothing gets saved. Is there an issue with this in v2.2.6? What can I do ...
1
vote
1answer
680 views

How to preview uploaded image in form when edit

When I try to upload the image, it was successfully uploading the image as well as save the image name into the database but when I click on edit, it will show me the below error message in my console:...
1
vote
2answers
729 views

Flow.min.js not responding

After upgrading to Magento 1.9.3 from 1.9.2.4 the product image Uploade button is not working. When I choose the image and clicks OK the browser just freezes and crashes. I tried again on Firefox, ...
1
vote
5answers
381 views

Magento 2.2: Weird $_files array after image upload

currently I'm trying to develop an image upload in the Magento admin area with ui components. My fieldset declarations looks like this: <fieldset name="slide"> <argument name="data" ...
1
vote
2answers
2k views

Is it possible to serve images from Magento 2 using a URL reference?

I want to serve images from an external CDN. This means: I don't want to store images on Magento's server or use its image cache I want to store image URLs in the database and use them to serve ...
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"> ...
1
vote
2answers
2k views

Custom image upload attribute for category not working in Magento 2.2.3

I have upgraded magento 2.1.7 to 2.2.3. I have some custom image attribute in category. It was working fine in magento 2.1.7 but not working in upgraded magento 2.2.3
1
vote
2answers
3k views

How to create more than one custom image uploader form in magento?

Here, I customized Magentostudy_news extension and create custom form in admin panel.When i create simple single image upload it working fine.but i need to add more then one image upload in custom ...
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 ...
1
vote
1answer
3k views

I just want a file upload code in magento 2

I already sent the file from phtml to controller and in the controller, I need to save that file into a directory here are HTML and PHP code <form class="myformdynamic" onsubmit="return ...
1
vote
1answer
246 views

Admin user save controller not called

I am trying to add an image to each admin user. I have added a form field with a plugin: namespace Vendor\UserImage\Plugin\Block\Adminhtml\User\Edit\Tab; class Main { /** * Get form HTML * ...
1
vote
2answers
4k views

Magento2: How can we implement multiple image upload functionality [duplicate]

Anybody please help me to implement the current product image upload functionality used in Magento2 for my custom module. I tried different ideas posted in different websites. But not getting the ...
1
vote
1answer
557 views

Magento 2 : How to change default path of a Field of type “image”?

How to change image path of a Field of type "image" ? In my custom module adminhtml form I am using field as type "image" to show thum image. I want to change the default path of this thum and want ...
1
vote
4answers
2k views

Can Magento 1.9 be configured to load product images directly from an external URL:

Is there any way to load images directly from external url, instead of importing images in to the server?
1
vote
2answers
3k views

image frontend_type field in system.xml does not upload, gives error

i made a custom module and in system.xml i have defined an image field like so: <banner_image translate="label" module="my_theme"> <label>Banner Image</label> <...
1
vote
1answer
341 views

Automatically add my logo in products images

is there a way to add automatically my logo in the bottom right(whatever) position of my product images? Thanks.
1
vote
1answer
2k views

Import Product Image Sort Order Value Using Magmi Or Other Import Tool

I am looking to import multiple product images into Magento using Magmi, however I cant seem to find a way to import the product image sort order attribute along with the image. Does anybody know the ...
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
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 ...
1
vote
1answer
103 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, ...
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->...
1
vote
1answer
357 views

form uploaded file not saved in db [duplicate]

I have created form and it has a image uploading field but the image is not saved in db app/code/Dyode/Pricebeat/Controller/User/Post.php <?php namespace Dyode\Pricebeat\Controller\User; use ...
1
vote
2answers
468 views

Upload Multiple Images on the frontend Form

I want to upload Multiple images on frontend side. i have added enctype and Input type file the field is accepting multiple images but after printing array of Data its shows only one single image....
1
vote
3answers
690 views

How to Upload image on Frontend using custom module?

I am trying to upload an image in the frontend. my controller is public function execute() { /** @var \Magento\Framework\Controller\Result\Redirect $resultRedirect */ $resultRedirect = $this-...
1
vote
2answers
80 views

How to add image to product?

I try to upload an image to my product at my fresh magento installation, but I can't find any way how to do this.
1
vote
1answer
253 views

when i have add to product error display ReferenceError: Uploader is not defined?

When click on browse Button pop up not open and Show me error in console.
1
vote
3answers
563 views

Ui form: image not saved in DB in magento 2

I need to save below fields in DB. All other fields are saved except Image.But images are saved in pub/media folder.Please suggest me a solution Here, i have mentioned my controller for save.php ...
1
vote
1answer
856 views

Unable to Upload Product Images 1.9.3.3

I am unable to find any solution that will work for my issue so I need to post the question. I recently upgraded to 1.9.3.3 and now the Browse button does nothing when clicked when trying to upload ...
1
vote
2answers
75 views

Magento: Product Catalog Images Not Upload

Magento ver. 1.9.2.0 PHP Ver. 5.6
1
vote
1answer
798 views

Function name must be a string in …/lib/Varien/File/Uploader.php:259 when I try to upload an image

I get this error: Function name must be a string in .../lib/Varien/File/Uploader.php:259 ,when I try to upload an image. The media directory has been set to writable with chmod -R 777 media . What ...
1
vote
1answer
771 views

create custom module for image uploader

I want to create custom module for "Image Uploader" , and create grid, in this grid , I want to put "Image Title","Image Path", "Image", "Status", "Dropdown (for the selecting image)". once image is ...