Page 1 of 4

Adding a gallery

Posted: Tue Dec 18, 2018 9:15 am
by LRAM
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 ?

Re: Adding a gallery

Posted: Tue Dec 18, 2018 9:28 am
by LRAM
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

Re: Adding a gallery

Posted: Tue Dec 18, 2018 7:39 pm
by Edi
The plugin Lightbox works also with v3.x.

Re: Adding a gallery

Posted: Wed Dec 19, 2018 8:42 am
by LRAM
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

Re: Adding a gallery

Posted: Wed Dec 19, 2018 9:40 am
by Edi
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.

Re: Adding a gallery

Posted: Wed Dec 19, 2018 4:54 pm
by LRAM
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

Re: Adding a gallery

Posted: Thu Dec 20, 2018 10:31 am
by Edi
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.

Re: Adding a gallery

Posted: Thu Dec 20, 2018 5:12 pm
by LRAM
well the image is visible, but the plugin doesn't do is job
there's not lightbox at all, just images

Re: Adding a gallery

Posted: Fri Dec 21, 2018 1:03 pm
by Edi
Please rename the directory /lightbox-1.0 (in the directory /bl-plugins) to /lightbox.

Re: Adding a gallery

Posted: Fri Dec 21, 2018 5:44 pm
by LRAM
Done
but I don't see any changes