hi everybody,

i want to access the images stored in /public/images folder through url,

means if my application is running on port-3000,than i want to access the images folder
using localhost with this port in url.so that i can see any image in that folder just by changing name in url

i tried this(http://localhost:3000/public/images/cap.JPG) but it wont work out for me.

can anybody help me regarding this issue.

thanx in advance,

hi everybody,

i want to access the images stored in /public/images folder through url,

means if my application is running on port-3000,than i want to access the images folder
using localhost with this port in url.so that i can see any image in that folder just by changing name in url

i tried this(http://localhost:3000/public/images/cap.JPG) but it wont work out for me.

can anybody help me regarding this issue.

thanx in advance,

I am sure you have figured this out already, but in case you have not. Simply remove the /public from your url. http://localhost:3000/images/cap.JPG
That should work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.