Upload an image and reference it with the same name always
I have an image embedded on a page, everytime the user wants to update this image, they are ‘manually’ uploading an image of the same file name via ftp replacing the existing one.
<img src=”<?php bloginfo(‘template_url’); ?>/images/lightbox_c.jpg” alt=”” />
Replace ‘lightbox_c.jpg’ with a variable, and allow the user to upload via the media library, but is always reference in my code template as a specific variable?
- The topic ‘Upload an image and reference it with the same name always’ is closed to new replies.