December 16, 2013 at 6:16 pm #55494lch503Participant
My client wishes to use the download system so that they do not need to print and post the images their customers purchase. May I have an explanation of how the pixel sizes work? I.e. If they select to use a download image that is 800×600 for instance and the source file is 1024×768, is the image cropped or shrunk?
Also, as they sell the images from their website, is there a possibility of implementing a one click download link that “expires” after the first download, so that this link cannot be distributed? I am trying to think of how this is done to try and implement this in an API like my CD implementation, but cant think of a way yet.
LeonDecember 16, 2013 at 9:52 pm #55500Xpark MediaKeymaster
Images will shrink to best fit the desired size, the image will not be cropped, but the images will not be exactly 800×600.
The links that are provided at check out and email have and expiration of 24h, but if the user has a customer account they can download the images anytime.
If you want to implement your own link see line 485 image-store/_inc/cart.php and you can use the hook ims_image_tag_meta to add your link bellow each image.
- You must be logged in to reply to this topic.