• I found an old thread that mentions using Lightgallery if you want to provide users with the ability to download a photo. I’m trying that but I’m not seeing any download link/button/icon.

    The website is account protected and we need to be able to show images from multiple galleries and allow users to download the full-sized versions of the image. Is this possible?

    Thanks for your help with this.

Viewing 15 replies - 16 through 30 (of 42 total)
  • Thread Starter zmancrow

    (@zmancrow)

    I’ve updated it

    Plugin Author Sayontan Sinha

    (@sayontan)

    No luck.

    I have to step out now, so we might have to retry this tomorrow, if you are signing off for the day.

    Thread Starter zmancrow

    (@zmancrow)

    That is very strange. No problem. I’m close to signing off for the day so can pick this up again tomorrow. Sorry about the account issues. Not sure what could be going on there.

    Thread Starter zmancrow

    (@zmancrow)

    Please try logging in again. Same user name I gave you with the password you gave me. I think it should work now.

    Plugin Author Sayontan Sinha

    (@sayontan)

    OK, I am able to get in now.

    I took a look at your photos and it looks like SmugMug is not assigning a “download link” to them. There are some related old threads on their forum that talk of issues with the download links, but your issue is slightly different. Essentially Photonic looks for something called the “ArchivedUri” on a photo. If found, that gets assigned as the download link, and the SmugMug server subsequently returns the photo as a downloadable object as opposed to something to be displayed directly on the browser (in technical terms, the server has to return a specific Content-Type to directly trigger a download).

    In your case since the ArchivedUri is not being detected, Photonic is picking up the size that you are using for your lightbox and trying to assign that to the download button. Unfortunately this image is not returned with the right content type.

    I would suggest opening a ticket with SmugMug stating that you are not getting an ArchivedUri to associate to an image for a download.

    One possibility is that if your albums are protected SmugMug might be preventing downloadable images from showing up, or you may have prevented downloads in your album configuration.

    Thread Starter zmancrow

    (@zmancrow)

    Ah… Excellent info. Thanks so much.

    Okay I will follow up with Smugmug. These galleries are password protected so perhaps that is the issue. Might have to change things up a bit. I also needed to add the following to my .htaccess file so that files are forced to be downloaded:

    <FilesMatch “\.(jpg|png|eps|pdf|jpeg)$”>
    ForceType application/octet-stream
    Header set Content-Disposition attachment
    </FilesMatch>

    Not sure if that could cause any issues?

    Thanks for taking a look and the quick responses. Much appreciated.

    Plugin Author Sayontan Sinha

    (@sayontan)

    I don’t believe the .htaccess will affect you, as the information is being returned from SmugMug directly. It is most likely due to a SmugMug album setting that you are seeing this happen. It is also possible that I may need to change something at my end based on how SmugMug responds to you.

    Thread Starter zmancrow

    (@zmancrow)

    I confirmed the .htaccess had no affect. I have a ticket in with SmugMug and will let you know what the response is.

    Thread Starter zmancrow

    (@zmancrow)

    Here is the response from SmugMug, which was completely useless:

    Thanks for your email.

    The person who built the plugin you use may need to update their plugin. I am not sure how their plugin is supposed to work, which links it uses to post the images to WordPress, etc. So if they need help, they can email us at [email protected] and we can assist them with questions regarding our API.

    Plugin Author Sayontan Sinha

    (@sayontan)

    The person who built the plugin you use may need to update their plugin. I am not sure how their plugin is supposed to work, which links it uses to post the images to WordPress, etc.

    ??

    Did you tell them about the ArchivedUri coming up blank for all the photos? That never happens for the photos I try to pull. Is this a thread on DGrin that I can look at? I can respond directly there.

    Thread Starter zmancrow

    (@zmancrow)

    Yes. I told them that. No. This isn’t a thread on DGrin. I contacted SmugMug directly through their Contact page.

    Thread Starter zmancrow

    (@zmancrow)

    These images I’m loading are in a password protected folder. I removed the password protection and made it accessible to everyone. No changes in the behaviour. So that wasn’t it.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Hmm… In that case I am not sure as to how this can be resolved. They should have been able to address the issue about the ArchivedUri not showing up; that part is entirely in their control. Typically all they need for this is information regarding the album and the photo. All I do at my end is that if the ArchivedUri doesn’t come up I default to the image size you are showing in the lightbox, that’s all.

    BTW, I was among the very early adopters of their new API (I had provided them extensive feedback about the API at that time, primarily around authentication), and I believe Photonic is still the only free WP plugin that works with SmugMug. I can get in touch with them, but since I don’t own the albums in question, there isn’t much traction that I think I can gain.

    Thread Starter zmancrow

    (@zmancrow)

    I will try again. Thanks so much for this. Will let you know if round 2 is any more successful than round 1.

    Thread Starter zmancrow

    (@zmancrow)

    Hi again. I got in touch with the API people. They weren’t very helpful and, as expected, because I’m using a WordPress Plugin, they are pointing any problems at it, and not them. They are telling me that there is nothing at their end that would cause the ArchiveUri to be blank.

    I can see the download icon there in the lightbox but clicking on it just opens a new browser tab and shows the same image, in the same size, directly in SmugMug. But there is no download link on that page. I’ve tried turning password protection on and off and that makes no difference.

    So, not sure what to do next.

Viewing 15 replies - 16 through 30 (of 42 total)
  • The topic ‘SmugMug – download full-sized images’ is closed to new replies.