Skip to main content
Participant
January 25, 2022
Question

Downloadable images via web export

  • January 25, 2022
  • 2 replies
  • 365 views

I am posting a bunch of old photos to the web using the Lightroom Classic web module export.  When I look at them online, the web gallery looks fine-- when I click on a thumbnail I can see the larger image solo in the browser.  The problem is if I right click on the larger solo image, I do not get a download image option.  I can download the thumbnail no problem, but not the large image.  Is there a way to enable the large images to be downloadable?  Cheers,

This topic has been closed for replies.

2 replies

Bob Somrak
Legend
April 29, 2022

The only Gallery that works for right-click download is the CLASSIC gallery.   With the Classic Gallery you can also use the following technique display full size images to download.  Someone else posted this solution but I cant remember who to give them credit.  Classic is the only HTML gallery.

 

Step 1) Open Lightroom and select an HTML web gallery.
Step 2) Paste the following code
into the HTML web gallery's IMAGE INFO / CAPTION / CUSTOM TEXT field (This will
dynamically add a link named "Link to High Resolution" to every webpage):


<script language="JavaScript">
var imgsrc=document.getElementById("previewImage").src
highres_URL=imgsrc.replace("/large/","/highres/")
document.write ("<a href='"+highres_URL+"'>Link To High Resolution</a>")
</script>


Step 3) Export or Upload your new gallery to your web server.
Step 4) Create a new sub
directory in your gallery named: \images\highres\
Step 5) Upload your high resolution
images into the new subdirectory. The dynamic URL that is created is based on the
filename of the low resolution image so make sure they have exactly the same name.

When the user clicks the HighResolution link, their browser will display the high res
image. Depending on the size, it can take several seconds to download. After that, they
can right click to download the file to their computer.

 

 

M4 Pro Mac Mini. 48GB
Participating Frequently
April 29, 2022

Thanks, Bob. Very helpful.

Participating Frequently
April 29, 2022

I would like to know this as well. I’m having to use another program to do this right now but it requires coding.