Questions tagged [image-upload]

Denotes question related to Image upload

Filter by
Sorted by
Tagged with
3
votes
2answers
1k views

Is it possible to hook into the image upload function on the wysiwyg editor?

I'm trying to trigger a function after an image has been uploaded using the wysiwyg editor but I don't think an events is fired after this operation. I know it's relatively easy to do so when you ...
3
votes
2answers
99 views

Does Magento have an image gallery like wordpress?

I want to bulk upload images to be used later. Is that default in Magento?
3
votes
2answers
148 views

Can't upload product images on Magento 2 Xampp

I cannot upload product images on Magento 2 in Xampp. When I try to upload the product image, it gives me an error. Please see the following image: I have also tried it again but the same error ...
3
votes
1answer
708 views

addJs with name vs script: Image Uploader not working after SUPEE-8788 on 1.9.1.0

I'm having an Issue with SUPEE-8788 and the new uploader feature on a 1.9.1.0 magento. The patch originally created the files in the wrong parent directory (don't know why for now, looks like the root ...
3
votes
1answer
4k views

“File Was Not Uploaded”

I am attempting to upload images to my products on a Magento site. It is a fresh install of Magento, running on a GoDaddy shared hosting server. It has been previously running on this server, set up ...
3
votes
3answers
333 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
3
votes
1answer
812 views

Magento 2.2 : Multiple Image Uploader In Ui Component Form

In Magento 2.2 the multiple product image up-loader block has been moved from layout to UI component form. To make it compatible with Magento-2.2 I made the required changes in my custom module and it ...
3
votes
0answers
1k views

How to upload multiple images/files in magento2 custom module backend?

I have uploaded single image successfully by below code. $uploader = $this->_objectManager->create('\Magento\MediaStorage\Model\File\Uploader',['fileId'=>'image_photo']); ...
3
votes
1answer
883 views

Magento 2 : remove delete image checkbox from admin edit form

I have add an image upload field in my modules edit form using- $fieldset->addField( 'image', 'image', [ 'name' => 'image', 'label' => __('Image'), 'id' =...
3
votes
0answers
745 views

Magento 1 (1.9.2.1) image uploader not working after patch 8788

i've been patching a M 1.9.2.1 installation with the security patch 8788 and since then the image uploader in the catalog/product page is not working anymore THE PROBLEM browse and upload buttons DO ...
2
votes
1answer
3k views

Bug : Product image has PNG background in black on Magento 1.9.3.3 [duplicate]

I installed Magento 1.9.3.3 and get a bug, the PNG transparency doesn't work and it makes background black. How to fix it?
2
votes
3answers
543 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 ...
2
votes
4answers
4k views

MIME type not valid when uploading image using REST API

I'm trying to set a product image using the web api by POSTing to this url: http://my_magento_server/rest/V1/products/my-url-key/media With the following content: {"entry": { "media_type": "...
2
votes
1answer
5k views

Magento 2 : Added field for image upload in admin form

I have followed Magento2 : Admin module Image upload code to display form to add a field for image upload , now getting an error Fatal error: Class 'vendor\modulename\Controller\Adminhtml\...
2
votes
2answers
870 views

Product image cache resized

Where can I define the size of the product image cache? Our product-image in product image cache now automatically will be scaled down from 1900 pixels to 600 pixels. But I want to keep the original ...
2
votes
2answers
80 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 ...
2
votes
1answer
929 views

Magento 2 : Image Validation is not working in back end form

I have a custom module which manage to upload the banners. Everything working fine except image validation. Below is my code for the image in app/code/E25media/Bannersmanager/Block/Adminhtml/...
2
votes
1answer
1k views

Rename upload file Magento 2

I successfully uploaded the file using this code: public function execute() { /** @var \Magento\Framework\Controller\Result\Redirect $resultRedirect */ $resultRedirect = $this->...
2
votes
2answers
5k views

Fatal error: Call to a member function create() on null in Magento 2

I got this error while saving image Fatal error: Call to a member function create() on null in /opt/lampp/htdocs/magento/2.1/app/code/Contact/Modules/Controller/Contact/Index.php on line 85 ...
2
votes
1answer
724 views

Retrieving a deleted folder with images

Problem background At the Insert Image page I accidentally removed a folder. I was trying to delete one image. Question Is it possible to retrieve this deleted data? If so how?
2
votes
2answers
55 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 ...
2
votes
1answer
843 views

Magento 2 : How to add image upload in ui form

How to add image uploader as like in the category?
2
votes
1answer
1k views

Ui form: image field in Magento 2.2

I need to create a image upload field in my Ui form. I have created below files. But while trying to upload an image, it shows a below error. Please suggest me a solution to save a image in DB. I ...
2
votes
1answer
1k views

Issues with adding image attribute to category - Magento 2

I've added attribute to my category following this guide (https://belvg.com/blog/how-to-add-image-attribute-to-a-category-in-magento-2.html). Looks like I am on right way, but when I try to upload ...
2
votes
2answers
5k views

Magento : How to use or upload animated .GIF for products and page images?

I need to upload animated gif for the current site I am working on. But magento keeps converting it to something else. What settings are to be changed to upload animated images?
2
votes
1answer
1k views

Magento 2. How to upload images to pub/media

Problem I have a $fieldset. What arguments should I give to ->addField method to create an input field, that loads image to $_FILES? What was done For now I have an input field. Created by $...
2
votes
1answer
55 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 ...
2
votes
2answers
1k views

How to create custom product image attribute in magento2.2.5?

I want to create custom product image attribute in magento2.2.5? Created a custom product image attribute but not able to save the image /var/www/html/magento2/app/code/Amy/ImageUploader/Model/...
2
votes
2answers
2k views

Magento 2.3 : Multiple image upload in admin form ui component?

I am facing issue uploading multiple images.i have implemented single image upload in Magento 2.3 from the admin side using the UI component. Thanks for your help my code is given below. form code ...
2
votes
1answer
2k views

Using SVG logo in Magento 2.2.4

I am trying to upload an SVG logo for my Magento website, but it is not allowing me to upload an SVG file. It says that it is an unsupported file. Any idea how to resolve this? Based on internet ...
2
votes
1answer
232 views

flash flex uploader give error UPLOAD HTTP Error(Due to Redirect 302 when flash upload)

I have been using Magento native flash flex up-loader to upload image in my custom module.But when I upload image it gives me error like this Screencast Here In the console, it redirects to ...
2
votes
1answer
2k views

Magento uploaded images and 777 permissions

When I upload images from Magento 1.9 products page, they get permissions 777. I also found a few other 777 folders, such as media/catalog/product folders, and cached images. Also var/cache folders ...
2
votes
1answer
811 views

how to uncheck exclude image checkbox at mass image import

I am trying to update the images of my catalog with the following CSV: sku,image,small_image,thumbnail aaaaaa,/TP1501054_15_1.jpg,/TP1501054_15_1.jpg,/TP1501054_15_1.jpg I like to know how i can ...
2
votes
1answer
2k views

Append Complex Data (duplicate images) [duplicate]

Way the Append Complex Data keeps adding (duplicate) the pictures every time I do the import. Can this been change? All other data (attributes) are not duplicated, just the images.
2
votes
1answer
999 views

How to get different image sizes in WYSIWYG editor?

I'm trying to get some responsive images working on my store using the srcset attribute and I figured one of the simplest way to do so was getting a large and a small version of the image in the ...
2
votes
3answers
3k views

Magento Store product image another domain?

How to store the product images in another domain? for example, My site is www.mytestsite.com. We need to store the product image in subdomain as "media.mytestsite.com". Is it Possible? We also try ...
2
votes
0answers
33 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
1answer
38 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( ...
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
468 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....
2
votes
0answers
21 views

Upload Store image through Admin Control panel [closed]

How to implement store image uploading functionality in Admin panel?
2
votes
0answers
361 views

Upload image with Ajax in M2

In my custom module i am trying to upload images. I am able to upload images with the help of this link https://webkul.com/blog/how-to-upload-image-in-magento2/ But is there any way where we can ...
2
votes
0answers
133 views

How Can I insert multiple image in WYSIWYG Editor in Magento1.9.x?

Magento1.9.x version in need multiple image upload at a time in WYSIWYG Editor.
2
votes
0answers
56 views

Questions, explanation about Image uploader

I want to know where can we set the maximum image weight upload in admin ? Why don't we get the error message when we go past the allowed weight ? I noticed according to my tests that the maximum ...
2
votes
1answer
176 views

Product images are not uploading while saving

Product images are not uploading while saving the products. This happens only when I try to update the product. After trying to save the image, it throws an error and says, Update with id "0" does ...
2
votes
0answers
83 views

After applied SUPEE 8788 on CE 1.9.2.2, no catalog images in frontend

My issue seems kind of unique as I was unable to find any answers yet. I have a Magento CE 1.9.2.2 running. After applying SUPEE 8788, initially image uploader did not work. Thanks to advice on here ...
2
votes
0answers
110 views

Uploaded image blocked by client Magento 2

i created an extension to upload image, the way i save the image is like this: $uploader = $this->_uploaderFactory->create(['fileId' => 'image']); $uploader->setAllowedExtensions(['jpg', ...
2
votes
0answers
313 views

I want to upload image in each static block of magento

I have not much expertise in magento so please pardon me if i am doing pretty much wrong. I am using Magento ver. 1.9.3.2 I want to add a new image field in magento static block. I want to use this ...
2
votes
0answers
108 views

SUPEE 7405/8788 Images won't upload

I know that there are hundreds of questions about issues with SUPEE-8788 and I feel like i have been endlessly going through search results here and on Google to try and find a solution to this but ...
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 ...