When i selecting image name showing image

Dear Team,

When I’m selecting image name in admin panel drop down I want show that name related image in user page. how can i do this and if there any examples or templates pls. tell me.

thanking you
Best Regards.


well showing an image on your html page is just something like
<img src="/valid/path/to/image.png">

as you should know: your image must be into the webroot (sub)directory so that it will have public access.
And the absolute or relative URL to the image must be valid.

What do you mean?

What I am reading is, an admin selects an image for a user.
On the user’s page, the image selected should display.

If that is correct, then you need to store what the admin selected somewhere so that when the users page is built, it knows what image to use.

Sponsor our Newsletter | Privacy Policy | Terms of Service