Adding a gallery

User avatar
LRAM
Master Bludit
Posts: 122
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Contact:

Tue Dec 18, 2018 9:15 am

Bonjour
i'm trying to use this gallery in Bludit
http://www.foliopages.com/php-jquery-aj ... o-database

But I can't figure where I should install the script
I tried in the bludit directory; in the bl-content, in the repertory of the page where I want it to works bl-content/pages/galery

nothing works
any ideas ?
User avatar
LRAM
Master Bludit
Posts: 122
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Contact:

Tue Dec 18, 2018 9:28 am

Any other script would be good in fact, as long as there is no bdd, but the only plugin is for the 2.x version
User avatar
Edi
Site Admin
Posts: 1596
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Tue Dec 18, 2018 7:39 pm

The plugin Lightbox works also with v3.x.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
LRAM
Master Bludit
Posts: 122
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Contact:

Wed Dec 19, 2018 8:42 am

thanks Edi,
I will try this, I didn't download this plugin as it is said to work with 2.xx version on the plugin page not the 3.5
User avatar
Edi
Site Admin
Posts: 1596
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Wed Dec 19, 2018 9:40 am

LRAM wrote:
Wed Dec 19, 2018 8:42 am
I will try this, I didn't download this plugin as it is said to work with 2.xx version on the plugin page not the 3.5
That's right... I added now also a download link for Bludit v3.x.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
LRAM
Master Bludit
Posts: 122
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Contact:

Wed Dec 19, 2018 4:54 pm

I can't make it work :?

I downloaded the Lightbox plugin, installed it and activated it
On a static page I copied the indicated code

Code: Select all

<a href="/bl-content/uploads/image-2.jpg" data-lightbox="gallery"><img src="image-2.jpg"></a>
then I uploaded an image via the bludit interface. I see them under the manage title but when I click on the insert button, instead of adding the path, the image opens in the browser

I then look for the recommended path in your MP for the images and I copy the path (strange the one generate by Bludit)

Code: Select all

<a href="https://sucrepop.com/bludit-3-1-0/bl-content/uploads/pages/77f0be8361fcd31eef44e599604807a4/leaveitallbehindV1.jpg" data-lightbox="gallery"><img src="leaveitallbehindV1.jpg"></a>
<a href="https://sucrepop.com/bludit-3-1-0/bl-content/uploads/pages/77f0be8361fcd31eef44e599604807a4/leaveitallbehindV2.jpg" data-lightbox="gallery"><img src="leaveitallbehindV2.jpg"></a>
the result

https://sucrepop.com/bludit-3-1-0/galery
User avatar
Edi
Site Admin
Posts: 1596
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Thu Dec 20, 2018 10:31 am

Sorry! You are right.

It works with the absolute path for the img tag.

Code: Select all

<a href="https://sucrepop.com/bludit-3-1-0/bl-content/uploads/pages/77f0be8361fcd31eef44e599604807a4/leaveitallbehindV1.jpg" data-lightbox="gallery"><img src="https://sucrepop.com/bludit-3-1-0/bl-content/uploads/pages/77f0be8361fcd31eef44e599604807a4/leaveitallbehindV1.jpg"></a>
<a href="https://sucrepop.com/bludit-3-1-0/bl-content/uploads/pages/77f0be8361fcd31eef44e599604807a4/leaveitallbehindV2.jpg" data-lightbox="gallery"><img src="https://sucrepop.com/bludit-3-1-0/bl-content/uploads/pages/77f0be8361fcd31eef44e599604807a4/leaveitallbehindV2.jpg"></a>
I will add this to the explanation.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
LRAM
Master Bludit
Posts: 122
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Contact:

Thu Dec 20, 2018 5:12 pm

well the image is visible, but the plugin doesn't do is job
there's not lightbox at all, just images
User avatar
Edi
Site Admin
Posts: 1596
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Fri Dec 21, 2018 1:03 pm

Please rename the directory /lightbox-1.0 (in the directory /bl-plugins) to /lightbox.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
User avatar
LRAM
Master Bludit
Posts: 122
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Contact:

Fri Dec 21, 2018 5:44 pm

Done
but I don't see any changes
Post Reply