Can Not Upload Video From My Server in Mangto 230

To begin with, information technology's central to know how to upload as well equally optimize images and videos for products in Magento 2. Most of Magento 2 stores have a wide range of products and related images and videos; if they don't know how to employ their resources effectively, the site performance will be negatively affected. As the result, your customers might have a bad shopping experience with your store.

Therefore, in this post, nosotros will show how to upload the images/ videos on your site step-past-step and also give you some useful tips to optimize your resources and get the best performance. Let's get started!

1. Upload and Optimize Images In Magento 2

Here are 3 easy steps to upload product images in Magento 2 backend:

Firstly, navigate to the product you want to add images for. Open your admin panel, navigate to CATALOG, and choose Products.

how to upload product image magento 2

And so, you tin select a product that you want to add/change images or create a new product and upload its images:

magento 2 upload image

In the product particular configuration page, expand the Images And Videos section. Click on the Scan to find or drag image here to upload a product paradigm from your calculator.

upload images in product detail m2

Next, click on the image y'all have uploaded to add epitome detail. Retrieve to add together the Alt Text that is adept for SEO, select the Role (Base/ Small/ Swatch/ Thumbnail) that will decide the display position of the image on the site. It'south worth noting that an paradigm can have multiple roles at the same time.

magento 2 product images

Save the config to complete.

Apart from that, hither are some useful communication for you to optimize images of the products in Magento 2:

  • Prepare your images in the right format: PNG is the all-time and common format for transparent and loftier-quality images. However, if your site is highly dependent on images, y'all can combine both PNG and JPEG formats do not have a negative impact on website functioning.
  • Get a balance betwixt image size and resolution: The resolution of an image must be corresponding to the size of its display on the web. For example, yous don't need to utilise a high-solution for just a modest thumbnail.
  • Utilise a professional tool to handle the images: Now there are many tools (both costless and paid) that allow us to shrink and optimize images to decrease the files' size while the quality is not afflicted significantly.
  • Inquire your developers/ designers to requite a standard paradigm size for each image/banner on the site: If you plough to a professional Magento development company to build your website, they can assistance you to ascertain specific sizes for all images on your site. With their experience, they could evidence you the optimal sizes to display the images at the highest quality while nevertheless assuring loftier website speed.

optimal image size magento 2

ii. Upload and Optimize Videos In Magento ii

In Magento one, it's quite complicated to upload videos merely if your site is based on Magento 2, it's much easier. Magento 2 allows us to embed videos from Youtube or Vimeo on the product pages by default. Here are several steps to upload your videos to Magento 2 product page:

  • Step one: Create Youtube API Fundamental
how to upload video magento 2

Firstly, you have to go to the Google Developers Console: https://console.developers.google.com/ and log in to your account. Then, search for "Youtube Data API v3".

On the adjacent page, click on ENABLE.

magento 2 upload video
product video magento 2

And so, choose Credentials on the left card and click on + CREATE CREDENTIAL.

embed youtube video magento 2

Here, you have to cull where API is chosen from and how your data is accessed.

get youtube api key for magento 2

After that, click on theWhat credentials practice I need? button to become your API Key. Re-create the key to configure in the backend.

  • Stride 2: Keep with the configuration in Magento 2 backend

Firstly, open your admin panel, navigate to STORES, choose Configuration under Settings.

video configuration magento 2

In the left menu, expand CATALOG and choose Catalog. Then, expand the Product Video section and enter your copied Youtube API Key in the first footstep.

add youtube api key in magento 2

Afterwards that, navigate toCATALOG, and chooseProducts.

how to upload product image magento 2

So, yous can select a product that you want to add/change videos or create a new product and upload its videos:

magento 2 upload image

In the product item configuration page, aggrandize theImages And Videos section. Click on theAdd Video push button.

upload images in product detail m2

Here, yous accept to enter the URL of the Youtube video you want to embed on the site. Once the URL is entered, the Video'due south Title, Description, and Preview Epitome volition exist automatically filled (but you tin edit). Moreover, you can choose the Role of the video (similar to the images).

upload new video magento 2

Save the config and articulate cache to complete.

Notes: It would be more complicated if you want to upload a video from your computer (not via Youtube). What y'all need to practise is use a third-party extension that allows you to upload different video formats, and so you can upload the video to the media folder and attach it to a special product.

Besides, here are some advice for optimizing Magento 2 product videos:

  • Embedded videos are highly suggested: It'south not but easier to embed videos from Youtube/Vimeo merely also beneficial to your website performance. If you upload a video to your media (fifty-fifty a short one) can contribute to slowing downward your page speed.  If you don't desire people to see your videos on Youtube, just prepare information technology equally personal and hide them from others.
  • Optimize your cocky-hosted videos: In case that you still want to use the cocky-hosted videos, information technology's essential to optimize them before uploading. Information technology's non recommended to upload videos that are longer than i minute.

We have shown you how to upload too every bit optimize images and videos in Magento two websites. Hope you find it useful!

Read More:

Magento Migration Essentials – 5 Crucial Phases [Infographic]

How To Drift Magento 1 To ii With 100% Success Charge per unit?

Migration To Magento 2: Hidden Costs

[Hot Release] Accost Autocomplete Extension For Magento 2

v Reasons Why Many Merchants Don't Want Magento Migrations


1 Star 2 Stars 3 Stars 4 Stars 5 Stars (10 votes, average: v.00 out of five)
Loading...

smithyounemeen.blogspot.com

Source: https://www.tigren.com/optimize-images-video-magento-2/

0 Response to "Can Not Upload Video From My Server in Mangto 230"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel