On my websites i like to add large images that can be used by other media. Therefore i like to upload large images, and add download buttons on my site.
but now, when i add a download button to an image i get a url that tries to resize the image to it's original size. The size is larger than the 25 mega pixels max, can we ignore the sizeing for a url using this in wordpress? Or is there a download function somewhere i have not found yet?
$attachement_url = wp_get_attachment_image_url( $attachment_id, 'full' );
Please sign in to leave a comment.