If image location is themefolder/image/image.jpg
then path will be src="<?php echo get_template_directory_uri(); ?>/image/image.jpg"
.
But how do I give a path to an image in WordPress if its location is wp-content/uploads/2022/12/image.jpg
?
NOTE: I am converting my website from HTML to WordPress.