Allow download of video or image files

Is an end user able to download a video or image file from Zenphoto? How?

Comments

  • acrylian Administrator, Developer

    Depends on the theme you are using. On official themes the full image (video, whatever file format) is linked on the single image page. There are backend option to either allow this to open directly, to download or to block. Third party themes may do things differently.

    You can also modify the theme to include an unprotected full image link.

    There is also a downloadlist plugin to allow download statistics but this requires built in theme support or theme modifications.

    Also see: https://forum.zenphoto.org/discussion/comment/1981501#Comment_1981501

  • Thanks for this acrylian. Can you recommend any theme that would allow me to do this?

  • acrylian Administrator, Developer

    As I said already:

    On official themes the full image (video, whatever file format) is linked on the single image page. There are backend option to either allow this to open directly, to download or to block. Third party themes may do things differently.

    I can't speak for third party themes but I am sure the themes zpArdoise and zpBootstrapby by @vincent3569 do as well. As might the three third party themes zpBase, libratus and zenji we host on GitHub but I am not sure right now.

  • Thanks for the theme advise above.

    And sorry to make yourself repeat yourself, but:
    "On official themes the full image (video, whatever file format) is linked on the single image page" I don't see this link. Is it because of the below:

    "There are backend option to either allow this to open directly, to download or to block. " I'm pretty sure I looked pretty thoroughly, but I can't find these either.

  • acrylian Administrator, Developer

    No problem!

    "On official themes the full image (video, whatever file format) is linked on the single image page"

    The image itself is linked: https://demo.zenphoto.org/album1/Cosmos01.jpg.html

    "There are backend option to either allow this to open directly, to download or to block. "

    Sorry, those are on Options > Image > Full image protection (drop down selector).

    Hope this helps. Otherwise feel free to ask further ;)

  • Ok. I must be dumb, but I will want to share (allow downloads) of my videos and images with my family members, and if I can't make it work they certainly won't lol.

    "The image itself is linked:" When i click your link there is still nothing there that implies "download this file". If you mean: right click on the image and "Save Image" that works, but just for a thumbnail/much-smaller version of the image. Not the full sized image.

    Updated the backend to "Download" but no joy!?!?

  • acrylian Administrator, Developer
    edited April 2019

    On the page I linked you can click on the image and get the full (original) image.

    Click on the large image:
    https://demo.zenphoto.org/album1/Cosmos01.jpg.html

    and you end up with
    https://demo.zenphoto.org/albums/album1/Cosmos01.jpg
    Of course right click + save as will also work.

    If you set it to download any normal browser will download the file instead of displaying it directly in a new tab/window. I just did that on the demo page.

  • Ok. Clicking on it allows to save the file, but is it only @90kb large? This seems small.

    Using zpArdoise, "download" checked. Clicking on an image just moves me to the next image. Try it here:

    http://vacationhomerent.com/MPC

  • acrylian Administrator, Developer

    Well, zpArdoise is a third party theme I am not in detail familar with. You are apparenty using a slideshow display variant which does not cover what I described. The theme's author @vincent3569 will surely be able to tell more.

  • Ok. Switched back to Basic theme and still no download capability.

    Try my site again please.

  • acrylian Administrator, Developer
    edited April 2019

    You have the colorbox plugin enabled which opens the full image and therefore collides with that behaviour.

    If you need a separate download link there is no other way than modify the theme. Depends on your knowledge how easy that is for you. General guide: https://www.zenphoto.org/news/theming-tutorial/

  • Yes, read the tutorial. Unfortunately I don't have enough technical knowledge.

    Diabled colorbox plugin, and still doesn't work. If I could get it to work like: I would be happy.
    https://demo.zenphoto.org/album1/Cosmos01.jpg.html

  • Ok. Got it to work. Had to deselect "Colorbox" option in the theme.

    Thanks for all your help.

    However, still can't download the video file. I guess this is not doable, correct?

  • acrylian Administrator, Developer

    The automatic download might only work with image files. But right click and save as should work.

    Sorry forgot to ask: Do you have a video player plugin enabled? The jPlayer plugin has an option to enable a separate download link below the player.

  • Yep. Had jPlayer installed, but had to enable download and it works with right click and "Save Video As". Thanks again. Very helpful.

    On another note: Is there a way/theme with all the above available, PLUS let end users either loged in or not to add comments?

  • Actually changed my mind about access. What I would like to do is only allow a user with an Id and password to view/download any of the files. Is this possible with "Zenpage" theme?

  • acrylian Administrator, Developer

    You find a general overview about rights you can set for users here:
    https://www.zenphoto.org/news/an-overview-of-zenphoto-users/

    You can password protect top level albums or the whole gallery (site) via individual passwords or users with appropiate rights could as well.

    Note that the albums folder may be directly be accessible as Zenphoto cannot control that. In case it should really be private further actions would be necessary like an extra htaccess file or configuring it to be outside the webroot.

  • Excellent. Thanks for all your help today.

  • acrylian Administrator, Developer

    I hope I could help.

    One specification here:

    You can password protect top level albums or the whole gallery (site) via individual passwords or users with appropiate rights could as well.

    That should read something like "or users with appropiate rights can also log in with their password."

Sign In or Register to comment.