Hi,

I dream of an equivalent of "media gallery" of drupal in backdrop; I have a full site of photos under drupal 7 that I would like to go under backdrop but it seems that it is quite difficult without this module ... and difficult to handle for end users

Comments

Olafski's picture

Hi philippeg, I guess you refer to https://www.drupal.org/project/media_gallery. As far as I know, this module hasn't been ported to Backdrop. If you're not comfortable porting it, you could open a port request at https://github.com/backdrop-ops/contrib/issues.

Are you planning to upgrade your Drupal site to Backdrop, or would you rather rebuild it? If the latter, there are other good ways to build photo galleries, in my opinion. Sure, it depends on your use case. Do you have a link to your Drupal site?

HI @Olalaski,

"Are you planning to upgrade your Drupal site to Backdrop, or would you rather rebuild it? If the latter, there are other good ways to build photo galleries, in my opinion. Sure, it depends on your use case. Do you have a link to your Drupal site?"

the site is down now due to maintenace problems in relation with drupal 7 it's the reason i have to find an alternative quickly ..migrate toward drupal 9 is not an option due to a share hosting..

in fact 2 solutions in front of me Backdrop or another technology, in my case more likely around Joomla. i am not a dev so porting it is not an option.

and clearly a site under backdrop would be my preference because I prefer to work with backdrop

So i am testing solutions with backdrop without media_gallery but a face 2 problems :

1/ uploading multiple photo and creating multiple records like we can do with bulk upload but in a user friendly manner .. i don't know yet how to do that ..very often people don't upload photos one by one they have a we take a bunch of shots and want show them to their friend so more likely the need is to upload multiple photos at one time ..i would have need the plupload widget that don't exist yet.

2/ The second problem to be solved is to find a trick to transfer the information which makes it possible to group the photos by gallery; so far I have found the following solution:

a / creation of a photo content-type

b / creation of a content-type gallery with a cover photo and with the image link formatter module send to a view (using photoswipe or mosaic view) an argument with the information allowing to separate the photos by type of gallery

c / a view listing the galleries.

This solution works but supposes that the user enters information in machine language for example "Christmas_photos" which is difficult to ask, they will rather enter information of type "Christmas photo" which I cannot use ... I suppose that 'a programmer is able to solve this very quickly with a small program but in my case I am looking for another trick without programming. If you know a trick to solve this problem I am interested ... In any case, that's how I see the problem at this stage of my thinking

Olafski's picture

Hi Philipp,

if you're interested, I've built a view of galleries on one of my sites, and your use case sounds similar to it. See https://awv09.de/bilder (it's a German speaking site). It works very well for the editors, they build a gallery with multiple images in a minute or so; entering machine names not needed.

The rough set up is:

  • HTML5 upload module for bulk uploading
  • Colorbox module for gallery display
  • Content type "Gallery", fields: Title, Body, Images (unlimited values)
  • Gallery, display settings for images incluce custom image styles and the Colorbox "Per post gallery" option
  • A View to display all galleries, using a linked cover image

Clearly, it can also be set up in different ways (e.g. asking for individual image titles used as captions). What do you think of the approach?

Hi Olafski,

i tried before with the module HTML5 upload, this was suggested by Laryn but i all the pics were in the same record, not like with the pulpload process but i did not see how  transform all theses pics in a gallery ....if you had done it, it must be possible so i will go deeper into the subject and do another test.. and see if it fits my need.

Thanks for the suggestion, i will  get back to you when i have done the tests.

Hi again Olafski,

I will therefore test these solutions but I still have a question, because the solution that I have put at least is almost finished: is there no solution with backdrop to automatically transform an expression into a url of type natural language "Christmas Photos" in "christmas-photos", it seemed to me that it was the role of the transliteration module which is in the core to do this but that does not seem to apply to my case .. on Joomla for example , we don't even take care of the subject, it's automatic ..and will find this problem in other cases .

Olafski's picture

is there no solution with backdrop to automatically transform an expression into a url of type natural language "Christmas Photos" in "christmas-photos" ?

This should work out of the box with URL alias patterns which are defined on admin/config/urls/path/patterns  for content types and more, you'll find some more settings on admin/config/urls/path/patterns/settings.

Where exactly do you want to see these URLs, and where are they coming from?

i have a field image and i use it with image link formatter this fields are on a gallery content type ..

photorama is a view with photoswipe for the pics and 2021-01-18 an argument this gallery works fine but i have to enter the argument manually if i try a token it's does not work neither an expression with blanks examples:

I have as output lthis kind of things "/ photorama /% 5Bnode% 3Afield_album% 5D" or "/ photorama2 / Balade% 20du% 2014% 20-% 2011% 20-% 202020"

In fact i don't know if i forgot something or if it is impossible to do that ...and of course the solutions are not the same ..

 

Olafski's picture

Sorry, I've no idea regarding the tokens. I've also read https://forum.backdropcms.org/forum/formatting-url-token-and-blanks, and I don't quite understand all parts of your configuration.

However, if you're still interested, I'm up to show you my implementation mentioned above, maybe in a video call sharing my screen. Btw, are you also on our Zulip Live-Chat (https://backdrop.zulipchat.com)? It's probably more easy to co-ordinate something there.