Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-11-10 00:44:46

deanjm
Member
Registered: 2017-11-10
Posts: 9

Downloading images from a gallery

I'm in the process of converting my site from CE to Backlight and I'm having a few issues with downloading images from galleries.

When I setup the galleries with CE there was the option to have an icon next to each image in the gallery that you clicked to download a hi-resolution version of it, is this possible with Backlight?

Previously I have created a gallery for each client and then used FTP software to upload reduced-res and hi-res images to folders labelled reduced and hi_res within the "photo" folder of that gallery (e.g. photos/reduced). I then create ZIP files within the "reduced" and "hi_res" folders and provide download links to these from the text in the gallery description.

I have tried to do a similar thing with Backlight and so in the Downloads settings I have selected "Upload manually" and have entered /photos/hi_res as the path.

When you control click an image in the gallery to download it or the download icon from within the slideshow an html page is downloaded which displays the following error "Something went wrong preg_match(): Unknown modifier 'p' in GalleryController.php on line 493"

I presume Backlight must be pointing to the wrong location for the hi-resoluton image, in which case what I should enter as the path to the hi-resolution images.

Last edited by deanjm (2017-11-10 00:46:02)

Offline

#2 2017-11-10 01:25:33

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Downloading images from a gallery

A link to the gallery showing this issue might be helpful. Thanks!


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#3 2017-11-10 03:03:58

deanjm
Member
Registered: 2017-11-10
Posts: 9

Re: Downloading images from a gallery

Offline

#4 2017-11-10 12:50:56

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Downloading images from a gallery

Presently, your download links are targeting photos/hi_res/imageName.jpg. I don't know where you have or want your downloadable renditions to be, but don't put them in /photos.

If uploading renditions manually, then your /hi_res folder should be at the same level as /photos, not inside of it.

If setting up Backlight to create downloadable versions automatically, then you won't need to worry about the location.

You may want to review this documentation:
http://backlight.theturninggate.net/doc … _downloads


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2017-11-10 17:29:10

deanjm
Member
Registered: 2017-11-10
Posts: 9

Re: Downloading images from a gallery

That's great thanks. It was the "hi_res folder should be at the same level as /photos, not inside of it" that I didn't realise. It might be worth adding that point to the documentation.

With CE galleries there was the option to have an icon next to each image in the gallery that you clicked to download a hi-resolution version, is this possible with Backlight?

Offline

#6 2017-11-10 22:58:39

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Downloading images from a gallery

In the interest of eliminating clutter from the grid, no. Thumbnails can be CMD/CTRL-clicked, or buttons are accessible in the large-image view.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2017-11-10 23:03:38

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Downloading images from a gallery

Btw, buttons are present and styled in the grid. You can show them using custom CSS if you really want to:

@media only screen and (min-width: 801px) {

	.grid-button.download_image {
		display: block;
	}

}

If you want to reposition, then:

@media only screen and (min-width: 801px) {

	.grid-button.download_image {
		display: block;
		bottom: auto;
		top: 0;
	}

}

Matt

The Turning Gate, http://theturninggate.net

Offline

#8 2017-11-11 20:30:56

deanjm
Member
Registered: 2017-11-10
Posts: 9

Re: Downloading images from a gallery

Many thanks Matthew I will take a look at that.

Offline

Board footer

Powered by FluxBB