Questions tagged [media]

The tag has no usage guidance.

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

Youtube Video Added in Product Gallery - Magento 2

I am getting error when i am trying to add Youtube link in product media gallery. Youtube API is already added. But still i am getting error. can you please describe me, How to i can fix this error ? ...
0
votes
0answers
9 views

unable to load image in pub/media/customer

I have images in pub/media/customer directory but when i tried to access the image by load it using browser, i got file not found response. I have commented this line in nginx.conf.sample #location /...
0
votes
0answers
18 views

magento 2 system configuration table feilds(file)

protected function _prepareToRender() { $fileInputRenderer = $this->getLayout()->createBlock(CustomShippingFile::class); $this->addColumn( 'shippingLogo', ...
1
vote
0answers
11 views

Exclude specific directory for take base_media_url value? (Tainted canvases may not be exported)

I configured a CDN on my Magento site, and on admin, I configured the base_static_url and the base_media_url with the CDN Url on Stores > Configuration > General > Web > Base URLs. These ...
0
votes
2answers
30 views

Magento 2: I want to clone the Media folder as well while cloning the Magento 2 GIT repository

How can I clone the Media folder while cloning the Magento 2 GIT repository?
0
votes
0answers
38 views

How to dynamically add MediabrowserUtility fields to widget in Magento 2?

I am trying to make a widget that allows creating a banner with multiple images and the number of images dynamic. This ideally would be with the Media browser utility. What I have so far is a single ...
0
votes
1answer
25 views

Cached images are missing from frontend and product pages

Certain images are missing from my frontend. The cached image location seems to be wrong however all the rest of the images are there and intact. I am just wondering why those images are not ...
0
votes
0answers
73 views

Mobile theme is not getting refelected after merge CSS in desktop

I created separate theme for the mobile and the desktop.But in the Mobile string name it is causing an issue at admin in the directory Content->Configuration->Custom theme->edit->Add new user agent ...
0
votes
1answer
37 views

Magento2 images not loading

I am new to magento, I am building a store in this I have deployed the site in the domain.com/shop subfolder, now the problem is that the images are not loading in my site, I think it is due to ....
0
votes
1answer
23 views

Magento2: Media image type attribue not visible in product add/edit section

I have created a Media image type product attribute section and assign this attribute in default attribute set. But attribute not visible in product add/edit section. Attribute created: Assigned in ...
0
votes
0answers
46 views

Alternative to Thai's S3 Extension for Magento 2

I've noticed Thai's S3 Extension for Magento 2 (link) is now archived and has some issues with 2.3. Is anyone aware of a module with similar or better functionality to Thai's S3 Extension? What I am ...
1
vote
1answer
82 views

Custom Attribute for Product Image Not Showing Saved Values in Admin Form (Media Gallery Attribute)

Similar to below: how to save image custom attribute in magento 2 Have followed above question and added a custom text area attribute. So far the field shows for me under "Alt Text" and then ...
1
vote
1answer
180 views

Magento2 3 2 : How to Upload Product images To Amazon S3 Server After Product Save

Does anyone know how can we upload product images to amazon s3 server after Product save?
0
votes
0answers
119 views

Magento 2 How to change media base url programatically

Does anyone know how we can change magento 2 media base url programatically ?
0
votes
0answers
43 views

External (CDN) location images only for multiple domain stores

I have multiple stores on multiple domains (all single store magento installs) that use a lot of the same product images. I want to store all the images in a single location and let the different ...
4
votes
0answers
41 views

Magento2 After Sync Images To Amazon S3 All Images from Magento are Deleted

I have create one module to sync all magento2 media to amazon s3 but after sync to amazon s3 server my all magento media's are deleted from my local system. and i don't want to remove that media. ...
0
votes
0answers
25 views

Magento 2 - Load all cms page media

I'm working in Magento 2.3.3 and doing admin work and need to get information from the media that's available. So, for instance, I want to loop through the data and the media uploaded into the cms ...
0
votes
0answers
14 views

M2 - Weird images duplicates

Yesterday I was looking at the disk usage of a Magento store and it was using 51GB of storage, today I looked again and now it was 75GB... Then I began to think, that's not good. So I started looking ...
0
votes
0answers
21 views

Localization of media assets in pub/media folder in Magento 2

I'm creating translations for spanish locale of a US store. The issue are media assets, specifically images with embedded text (technical diagrams). I'm able to substitute media located in the theme ...
2
votes
1answer
308 views

Moving Media files to S3 bucket

I want AWS CloudFront to be implemented in production for a Magento 2 site. I would like to know what changes are required to change the path of images and audio/ video files, to set up on S3 bucket. ...
3
votes
0answers
96 views

{{media url=“…”}} doesn't work on product attributes

After magento update to version 2.3.2 i noticed that {{media url="..."}} is not working on product attributes like 'description' attribute. In backend the url is resolved correctly and i can see the ...
0
votes
1answer
85 views

Magento 2 - Possible Image Corruption

I have a pair of clients who are both Magento 1 to Magento 2 conversions. After going to Magento 2 and dropping their media in place, if they're running 2.2.7 or 2.2.8, the images look like they've ...
0
votes
1answer
36 views

Magento 2.2.8 - Error Creating Product Through API with Images

I have a Java desktop app that has the ability to link directly with Magento 2. I migrated a client from Magento 1.7.0.2 to Magento 2.1 then upgraded them from that to 2.2.8. Afterwards, I performed a ...
1
vote
1answer
211 views

Wrong media URL in WYSIWYG editor when adding images in various Magento store views

I will try to explain a strange behavior (maybe bug) when using WYSIWYG editor in Magento 1.9. Magento setup One website with three store views. Each store view is on different domains. For this ...
0
votes
0answers
51 views

When creating products with POST, images Roles are not enabled (base/small/thumb/swatch), even after a following PUT

When I add a product via the Magento 2 API and then add an image, the image is added and shows up under the "Images and Videos" tab, associated with the correct product. However, none of the Image ...
1
vote
1answer
138 views

Magento 2.3.1 media urls in custom attribute of text editor type displaying as text

I've created a product attribute to display content in the product tabs which is specifically for technical drawings. The attribute is set as text editor type. When I add an image using the "insert ...
0
votes
1answer
37 views

How to change “input file” storage location in customer account edit form

I have added a customer attribute called "My File". It gets added in customer account edit form. By default, the selected file(My File) is saved under "pub/media/customer" directory. In my case, I ...
0
votes
1answer
217 views

Create symlink of magento 1 “media” folder

I need to create a symlink of my magento1 "media" folder on another disk of my server because I need to make space on current disk. In which way can I do this?
2
votes
0answers
150 views

Magento 2.3.0 unable to insert images in tinymce content

I notice that I couldn't insert images when adding products in tinymce content part. When I click on Insert Image button, I saw error as image below I granted access to /media directory 777. I ...
0
votes
1answer
27 views

looking for 'Search & Download' extension for Magento 2

Is there any extension available for Magento 2 that offers the ability to search for a SKU/ProductName and return result download links for related files ( such as driver firmware, user manual,etc)... ...
2
votes
0answers
35 views

Transfer to other server

I want to transfer to other server my store (new server have plesk panel ). I wrote command in cli bin/magento setup:backup --code --media --db from old server with this method can i take those ...
1
vote
0answers
97 views

Can you rename product image filename via Rest Api?

I'm trying to rename product image via rest API. So far I got the error Cannot save product on PUT /V1/products/{sku}/media/{entryId} Here is roughly the last thing i tried { "entry": { "...
1
vote
0answers
37 views

WYSWYG Using media browser on frontend

Is possibile to use media browser of admin on frontend? I am meaning the pop up window when clicking browse server of wyswyg, the pop up is this image I am using the webkul marketplace extension, it'...
0
votes
1answer
603 views

Upload Videos in media storage

I want to be able to upload videos in the media storage and embed them in Blocks. Is and how is this possible? I could not find any informations about this.
1
vote
0answers
35 views

Change label and position of media in store views via API

I encountered a problem today while saving images via the API: catalogProductAttributeMediaGalleryManagementV1. The label and position of the image for all the store views except the default one are ...
2
votes
1answer
945 views

%fieldname is a required field for entry in post media gallery

I'm pretty new to Magento and I was trying to add a media to a existing product. From code I am able to do that as the following: $entry = ['entry' => [ 'media_type' => ---, ...
3
votes
0answers
514 views

Magento2, add custom module files to pub/media directory [closed]

If we include files in our Magento2 custom module, that should be added to the pub/media directory...how do we go about ensuring they are added? Ive created the required media dir sub-directory via ...
3
votes
2answers
58 views

How do you get all the media info for the products?

I'm pretty new to magento so i'm not sure how to make the call to get all the media info for each product. I currently have this call that gets all the products and the data on the product model, but ...
2
votes
0answers
766 views

How to Change Magento Media Path?

Is it possible to change the image source path in the media folder: From: www.example.com/media/catalog/category/apple-iphonex.jpg To: www.example.com/apple/media/apple-iphonex.jpg
2
votes
4answers
8k views

Magento 2.2.4 : Image not displaying in product page

In a custom theme, my image isn't displaying on my product page. However, if I look in my source code, the image is indeed loaded. But the image is displayed on the category list item. Maybe it's ...
0
votes
2answers
325 views

Calling setMediaGalleryEntries - get Fatal error on “Call to a member function getMediaType()”

What I want to do: Set image to the product. The image comes from the base64 string. How I do: public function __construct ( ProductInterfaceFactory $productInterfaceFactory, ...
0
votes
2answers
7k views

How to create directory and text file and write content in file in media folder programmatically in Magento 2?

I tried to create directory and file and then put content in file programmatically but it does not work. Here is my code in sample.phtml <?php $om = \Magento\Framework\App\ObjectManager::...
0
votes
2answers
485 views

Magento 2.2: How to apply breakpoints in custom .less files

Magento 2.2.3 Ubuntu 16.04 Server VM using VirtualBox with icewm window manager Apache 2.4 MySQL 14.14 PHP 7.0 Custom theme which inherits from Magento/blank I have a custom .phtml file: Vendor/...
1
vote
2answers
6k views

Magento2 category images not showing and not changing

I have a strange problem with Magento 2.2.3. A few month ago we added some category images and they were shown correctly. Today we added some new category images and changes some of the old ones. But ...
0
votes
0answers
387 views

Image “Browse file” and “Upload” button are missing problem

I am using magento 1.9.2.2 version, but product image "Browse button" and "Upload button" are missing from admin. I have checked all media for in Adminhtml and Skin folder all are there. Please help ...
0
votes
1answer
366 views

Magento 2.1.7, 2.2.3 : wrong placeholder image url

I try created new product without image after that view in frontend the image url not true. I inspect element the url of image not true. .../media/product/placeholder/default/image.jpg lost catalog ...
2
votes
0answers
286 views

Media Storage System Message on Magento 2.2

We are utilizing the database media storage feature on our Magento 2.2 site. We ran the synchronization and got the following system message. We were unable to synchronize one or more media files. ...
0
votes
1answer
265 views

1.9 - Adding Image To Media Gallery Using Import Behavior

I'm currently writing a module which in its essence applies a pre-defined set of images to a product media gallery. It basically loops through a delimited list of filenames and uses ...
1
vote
1answer
2k views

Magento Static and Media url's redirect

So what i want to do is have domain.com as a main domain. static.domain.com (that uses the files of domain.com) as my static view url and media.domain.com (that also uses the files of domain.com) for ...
2
votes
0answers
312 views

Magento 2 - media URL

I have recently migrated a Magento 1.9.x site to Magento 2.2.2. On my product pages, I have noticed that one attribute (which is Text Area), whenever I used Magento directives such as {{media url=...}...