Magento2 PWA images missing - development environment Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Checkout 'hanging' in Magento 2How to use PWA in Magento2?Magento 2 - which folder the installed extension will bePWA Studio 2.0 and magento 2.3How to change URL of PWA in Magento 2.3?PWA setup with magento2.3Magento2 PWA - make live?Product images not load PWA setup magento 2.3PWA Setup in Magento 2.3.0 on Windows 7Magento PWA: issue in starting development server

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

The test team as an enemy of development? And how can this be avoided?

Asymptotics question

two integers one line calculator

Delete free apps from library

What is a more techy Technical Writer job title that isn't cutesy or confusing?

New Order #6: Easter Egg

How to ternary Plot3D a function

Can an iPhone 7 be made to function as a NFC Tag?

Does the Black Tentacles spell do damage twice at the start of turn to an already restrained creature?

Why is a lens darker than other ones when applying the same settings?

What are the main differences between Stargate SG-1 cuts?

Co-worker has annoying ringtone

Trying to understand entropy as a novice in thermodynamics

How to write capital alpha?

Is there hard evidence that the grant peer review system performs significantly better than random?

Monty Hall Problem-Probability Paradox

Why not send Voyager 3 and 4 following up the paths taken by Voyager 1 and 2 to re-transmit signals of later as they fly away from Earth?

Does silver oxide react with hydrogen sulfide?

Can two person see the same photon?

Can you force honesty by using the Speak with Dead and Zone of Truth spells together?

I can't produce songs

One-one communication

Sally's older brother



Magento2 PWA images missing - development environment



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Checkout 'hanging' in Magento 2How to use PWA in Magento2?Magento 2 - which folder the installed extension will bePWA Studio 2.0 and magento 2.3How to change URL of PWA in Magento 2.3?PWA setup with magento2.3Magento2 PWA - make live?Product images not load PWA setup magento 2.3PWA Setup in Magento 2.3.0 on Windows 7Magento PWA: issue in starting development server



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I have followed below URL.




https://webkul.com/blog/magento2-3-pwa-studio-setup/




Setup is successfully installed and my local environment is connected to PWA application, but all of my images went missing while browsing PWA. as it is taking images url something like below




https://my-pwa.com:8477/media/catalog/category/timeless.jpg




Any Configuration for changing this or any workaround.










share|improve this question
























  • Can you please share your virtual host file?

    – Ashish Viradiya
    Apr 16 at 8:19











  • I haven't created any, I have just changed the .env file for the custom domain.

    – Rizwan
    Apr 16 at 9:45






  • 1





    Go to packages/venia-concept/.env and add pub MAGENTO_BACKEND_MEDIA_PATH_PRODUCT=" /pub/media/catalog/product" MAGENTO_BACKEND_MEDIA_PATH_CATEGORY=" /pub/media/catalog/category"

    – Ashish Viradiya
    Apr 16 at 10:52











  • Thanks, it helps me, i have also added project name before /pub

    – Rizwan
    Apr 16 at 11:40

















2















I have followed below URL.




https://webkul.com/blog/magento2-3-pwa-studio-setup/




Setup is successfully installed and my local environment is connected to PWA application, but all of my images went missing while browsing PWA. as it is taking images url something like below




https://my-pwa.com:8477/media/catalog/category/timeless.jpg




Any Configuration for changing this or any workaround.










share|improve this question
























  • Can you please share your virtual host file?

    – Ashish Viradiya
    Apr 16 at 8:19











  • I haven't created any, I have just changed the .env file for the custom domain.

    – Rizwan
    Apr 16 at 9:45






  • 1





    Go to packages/venia-concept/.env and add pub MAGENTO_BACKEND_MEDIA_PATH_PRODUCT=" /pub/media/catalog/product" MAGENTO_BACKEND_MEDIA_PATH_CATEGORY=" /pub/media/catalog/category"

    – Ashish Viradiya
    Apr 16 at 10:52











  • Thanks, it helps me, i have also added project name before /pub

    – Rizwan
    Apr 16 at 11:40













2












2








2


1






I have followed below URL.




https://webkul.com/blog/magento2-3-pwa-studio-setup/




Setup is successfully installed and my local environment is connected to PWA application, but all of my images went missing while browsing PWA. as it is taking images url something like below




https://my-pwa.com:8477/media/catalog/category/timeless.jpg




Any Configuration for changing this or any workaround.










share|improve this question
















I have followed below URL.




https://webkul.com/blog/magento2-3-pwa-studio-setup/




Setup is successfully installed and my local environment is connected to PWA application, but all of my images went missing while browsing PWA. as it is taking images url something like below




https://my-pwa.com:8477/media/catalog/category/timeless.jpg




Any Configuration for changing this or any workaround.







magento2 product-images pwa category-image






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 16 at 11:43







Rizwan

















asked Apr 16 at 8:00









RizwanRizwan

951526




951526












  • Can you please share your virtual host file?

    – Ashish Viradiya
    Apr 16 at 8:19











  • I haven't created any, I have just changed the .env file for the custom domain.

    – Rizwan
    Apr 16 at 9:45






  • 1





    Go to packages/venia-concept/.env and add pub MAGENTO_BACKEND_MEDIA_PATH_PRODUCT=" /pub/media/catalog/product" MAGENTO_BACKEND_MEDIA_PATH_CATEGORY=" /pub/media/catalog/category"

    – Ashish Viradiya
    Apr 16 at 10:52











  • Thanks, it helps me, i have also added project name before /pub

    – Rizwan
    Apr 16 at 11:40

















  • Can you please share your virtual host file?

    – Ashish Viradiya
    Apr 16 at 8:19











  • I haven't created any, I have just changed the .env file for the custom domain.

    – Rizwan
    Apr 16 at 9:45






  • 1





    Go to packages/venia-concept/.env and add pub MAGENTO_BACKEND_MEDIA_PATH_PRODUCT=" /pub/media/catalog/product" MAGENTO_BACKEND_MEDIA_PATH_CATEGORY=" /pub/media/catalog/category"

    – Ashish Viradiya
    Apr 16 at 10:52











  • Thanks, it helps me, i have also added project name before /pub

    – Rizwan
    Apr 16 at 11:40
















Can you please share your virtual host file?

– Ashish Viradiya
Apr 16 at 8:19





Can you please share your virtual host file?

– Ashish Viradiya
Apr 16 at 8:19













I haven't created any, I have just changed the .env file for the custom domain.

– Rizwan
Apr 16 at 9:45





I haven't created any, I have just changed the .env file for the custom domain.

– Rizwan
Apr 16 at 9:45




1




1





Go to packages/venia-concept/.env and add pub MAGENTO_BACKEND_MEDIA_PATH_PRODUCT=" /pub/media/catalog/product" MAGENTO_BACKEND_MEDIA_PATH_CATEGORY=" /pub/media/catalog/category"

– Ashish Viradiya
Apr 16 at 10:52





Go to packages/venia-concept/.env and add pub MAGENTO_BACKEND_MEDIA_PATH_PRODUCT=" /pub/media/catalog/product" MAGENTO_BACKEND_MEDIA_PATH_CATEGORY=" /pub/media/catalog/category"

– Ashish Viradiya
Apr 16 at 10:52













Thanks, it helps me, i have also added project name before /pub

– Rizwan
Apr 16 at 11:40





Thanks, it helps me, i have also added project name before /pub

– Rizwan
Apr 16 at 11:40










1 Answer
1






active

oldest

votes


















1














Go to packages/venia-concept/.env and add pub directory, if still not works you can add whole project URL.



MAGENTO_BACKEND_MEDIA_PATH_PRODUCT="/pub/media/catalog/product"
MAGENTO_BACKEND_MEDIA_PATH_CATEGORY="/pub/media/catalog/category"





share|improve this answer























  • I am just wondering that what it should be done when we move to production.

    – Rizwan
    Apr 16 at 11:54











  • in my setup it's working without change in env file.

    – Ashish Viradiya
    Apr 16 at 11:55











  • what you have put there?

    – Rizwan
    Apr 16 at 12:16











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270270%2fmagento2-pwa-images-missing-development-environment%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Go to packages/venia-concept/.env and add pub directory, if still not works you can add whole project URL.



MAGENTO_BACKEND_MEDIA_PATH_PRODUCT="/pub/media/catalog/product"
MAGENTO_BACKEND_MEDIA_PATH_CATEGORY="/pub/media/catalog/category"





share|improve this answer























  • I am just wondering that what it should be done when we move to production.

    – Rizwan
    Apr 16 at 11:54











  • in my setup it's working without change in env file.

    – Ashish Viradiya
    Apr 16 at 11:55











  • what you have put there?

    – Rizwan
    Apr 16 at 12:16















1














Go to packages/venia-concept/.env and add pub directory, if still not works you can add whole project URL.



MAGENTO_BACKEND_MEDIA_PATH_PRODUCT="/pub/media/catalog/product"
MAGENTO_BACKEND_MEDIA_PATH_CATEGORY="/pub/media/catalog/category"





share|improve this answer























  • I am just wondering that what it should be done when we move to production.

    – Rizwan
    Apr 16 at 11:54











  • in my setup it's working without change in env file.

    – Ashish Viradiya
    Apr 16 at 11:55











  • what you have put there?

    – Rizwan
    Apr 16 at 12:16













1












1








1







Go to packages/venia-concept/.env and add pub directory, if still not works you can add whole project URL.



MAGENTO_BACKEND_MEDIA_PATH_PRODUCT="/pub/media/catalog/product"
MAGENTO_BACKEND_MEDIA_PATH_CATEGORY="/pub/media/catalog/category"





share|improve this answer













Go to packages/venia-concept/.env and add pub directory, if still not works you can add whole project URL.



MAGENTO_BACKEND_MEDIA_PATH_PRODUCT="/pub/media/catalog/product"
MAGENTO_BACKEND_MEDIA_PATH_CATEGORY="/pub/media/catalog/category"






share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 16 at 11:44









Ashish ViradiyaAshish Viradiya

1,2421831




1,2421831












  • I am just wondering that what it should be done when we move to production.

    – Rizwan
    Apr 16 at 11:54











  • in my setup it's working without change in env file.

    – Ashish Viradiya
    Apr 16 at 11:55











  • what you have put there?

    – Rizwan
    Apr 16 at 12:16

















  • I am just wondering that what it should be done when we move to production.

    – Rizwan
    Apr 16 at 11:54











  • in my setup it's working without change in env file.

    – Ashish Viradiya
    Apr 16 at 11:55











  • what you have put there?

    – Rizwan
    Apr 16 at 12:16
















I am just wondering that what it should be done when we move to production.

– Rizwan
Apr 16 at 11:54





I am just wondering that what it should be done when we move to production.

– Rizwan
Apr 16 at 11:54













in my setup it's working without change in env file.

– Ashish Viradiya
Apr 16 at 11:55





in my setup it's working without change in env file.

– Ashish Viradiya
Apr 16 at 11:55













what you have put there?

– Rizwan
Apr 16 at 12:16





what you have put there?

– Rizwan
Apr 16 at 12:16

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270270%2fmagento2-pwa-images-missing-development-environment%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Sum ergo cogito? 1 nng

419 nièngy_Soadمي 19bal1.5o_g

Queiggey Chernihivv 9NnOo i Zw X QqKk LpB