Plugin Example for Uploading an image
Posted: Mon Mar 09, 2020 8:46 pm
I was thinking of building a plugin that allowed users to upload an image that would be used to customize certain portions of the theme. However, after looking around, I do not see any other plugins that allow a user to upload images that the theme would utilize.
Example:
I want to allow the user to use a custom image for a banner or background. So I would need a plugin that lets the user select an image with the proper dimensions and name and upload it to a designated folder.
Does something like this already exist or is there a hook that I can use to build such a plugin?
Example:
I want to allow the user to use a custom image for a banner or background. So I would need a plugin that lets the user select an image with the proper dimensions and name and upload it to a designated folder.
Does something like this already exist or is there a hook that I can use to build such a plugin?