Adding a gallery

User avatar
LRAM
Master Bludit
Posts: 199
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Has thanked: 22 times
Been thanked: 2 times
Contact:

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 ?
https://sucrepop.com
Candies for the ears
User avatar
LRAM
Master Bludit
Posts: 199
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Has thanked: 22 times
Been thanked: 2 times
Contact:

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
https://sucrepop.com
Candies for the ears
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

The plugin Lightbox works also with v3.x.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
LRAM
Master Bludit
Posts: 199
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Has thanked: 22 times
Been thanked: 2 times
Contact:

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
https://sucrepop.com
Candies for the ears
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

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.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
LRAM
Master Bludit
Posts: 199
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Has thanked: 22 times
Been thanked: 2 times
Contact:

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
https://sucrepop.com
Candies for the ears
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

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.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
LRAM
Master Bludit
Posts: 199
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Has thanked: 22 times
Been thanked: 2 times
Contact:

well the image is visible, but the plugin doesn't do is job
there's not lightbox at all, just images
https://sucrepop.com
Candies for the ears
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Please rename the directory /lightbox-1.0 (in the directory /bl-plugins) to /lightbox.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
LRAM
Master Bludit
Posts: 199
Joined: Sat Sep 24, 2016 4:02 pm
Location: France
Has thanked: 22 times
Been thanked: 2 times
Contact:

Done
but I don't see any changes
https://sucrepop.com
Candies for the ears
Post Reply