Generate Download Link

Larupload provides two methods to generate download links for attachments: url and urls.

The url method generates a URL for a specific style of the attachment. This can be useful when you only need to provide a download link for a particular style of the attachment. For example, if you only want to provide a download link for the original version of the attachment.

On the other hand, the urls method generates an object of URLs for all styles of the attachment. This can be useful when you want to provide download links for all styles of an attachment, such as original, cover, thumbnail, and ...

Last updated