Is there anyway I can put a "Download original link" on the picture view page? Or when a visitor click on the picture, instead of linking to the previous picture, it links directly to the original?
Download original
(3 posts) (2 voices)-
Posted 2 years ago #
-
I've tried echo get_post_meta($post->ID, 'photoQPath', true); but it returns the wrong path. Any advice for this problem?
Posted 2 years ago # -
$sizes = get_post_meta($post->ID, 'photoQImageSizes', true); echo $sizes['original']['imgUrl'];gives you the url of the original photo. you can construct the download link from this.
Posted 2 years ago #
Reply
You must log in to post.
resolved