Author Topic: PM Basic Gallery - right click to download  (Read 255 times)

Offline verxion

  • Newcomer
  • *
  • Posts: 7
    • View Profile
PM Basic Gallery - right click to download
« on: April 18, 2025, 07:53:30 PM »
Even if I uncheck the checkbox, you still cannot download images (it gives you an empty “blank.png” file instead of the ACTUAL file….

How can I make it so that you can actually download images from “PM Basic Gallery” ?

Thanks,

-Verxion

Offline Jerry H

  • Camera Bits Staff
  • Full Member
  • *****
  • Posts: 238
    • View Profile
    • Camera Bits, Inc.
Re: PM Basic Gallery - right click to download
« Reply #1 on: April 21, 2025, 09:46:58 AM »
Hi Verxion,

After looking at the code it appears to be working as designed in that the image source will always be this empty.png file. We should be able to change this behavior in a future build of Photo Mechanic, but nothing can be done at this moment to allow the PM Basic Gallery to download the source file.

If you're needing source file downloads you can use a different exporter like one of the PM Classic templates.

-Jerry

Offline verxion

  • Newcomer
  • *
  • Posts: 7
    • View Profile
Re: PM Basic Gallery - right click to download
« Reply #2 on: April 21, 2025, 10:15:19 AM »
Thank you for responding.  I had taken the checkbox as a choice between either blocking right click downloads or allowing them.  It looks like it is more just a checkbox to pop up a message or not, while right clicking is intended to be disabled regardless.

If at all possible, yes, I’d like to have the ability for people to download by right clicking.

I wasn’t able to find any other gallery with a “skin” as nice as PM Basic Gallery.

-Verxion

Offline Jerry H

  • Camera Bits Staff
  • Full Member
  • *****
  • Posts: 238
    • View Profile
    • Camera Bits, Inc.
Re: PM Basic Gallery - right click to download
« Reply #3 on: April 21, 2025, 12:55:49 PM »
If at all possible, yes, I’d like to have the ability for people to download by right clicking.

I wasn’t able to find any other gallery with a “skin” as nice as PM Basic Gallery.

-Verxion

Hi Verxion,

I've made a change to the imagenav.js file that should allow for a contextual menu download of the source file. Download the attached imagenav.zip file and then unzip the file and copy imagenav.js to your exports js folder, replacing the existing imagenav.js file.

After we test the change further on our end we will add it to our next release.

HTH,
-Jerry
« Last Edit: April 21, 2025, 06:30:58 PM by Jerry H »

Offline verxion

  • Newcomer
  • *
  • Posts: 7
    • View Profile
Re: PM Basic Gallery - right click to download
« Reply #4 on: April 21, 2025, 01:14:48 PM »
Just wanted to report back - this works perfectly - THANK YOU!!!!   :)

-Verxion