using images without user uploading images
-
Good afternoon, colleagues. Can I instead of imput
<input type="file" id="contestant-image <?php echo $id; ?>" name="contestant-image<?php echo $id; ?>" class="contestant-input" accept="image/*" />
add an already known file path that I can display in my case
<?php echo wp_get_attachment_image_url( do_shortcode('[ihc-user field="CUSTOM_FIELD_beforephoto"]'));?>
which displays the path to the picture.
Thank you for your answer and have a nice day.
- The topic ‘using images without user uploading images’ is closed to new replies.