Error loading the images contained in a dir

HI,
By inserting this command in the article, the lightbox reads not only the images in the /provv/Photos dir but also other images present in the media.
How do I solve?
Thank you very much
{mediabox w=1200|gallery=1|nb=1|dir=/images/provv/Photos} {/mediabox}

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Error loading the images contained in a dir

Posted 1 year 3 weeks ago #67952
Hi

also other images present in the media

what do you mean with "in the media" ? do you mean other images from another folder ?

please give me the url of the page where I can see the problem
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by amicidisasa@libero.it on topic Error loading the images contained in a dir

Posted 1 year 3 weeks ago #67953
Hi,
yes, it detects photos from other folders
aamisa.org/
It is repeated in all the lightboxes on this page or on other pages of the site

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Error loading the images contained in a dir

Posted 1 year 3 weeks ago #67954
it seems that all your photos have the same album name : Foto
you can set a custom album for each article, like that :
{mediabox w=1200|gallery=1|nb=1|dir=/images/provv/Photos|album=name1} {/mediabox}
an album is a collection of medias, in your case in the blog layout it find all images loaded in the page which have the same album name

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by avijeet26 on topic Error loading the images contained in a dir

Posted 1 year 3 weeks ago #68014
The problem appears to be that the dir parameter in the mediabox shortcode is set to /images/provv/Photos, which causes the lightbox to display all images in that directory, including those not intended to be displayed in the gallery.

To resolve this, try specifying the exact path to the directory containing only the images you want to show in the gallery. If the images you want to display are in a directory called gallery images within the /images/provv/ directory, for example, you can change the dir parameter to /images/provv/gallery images.


As a result, the updated shortcode would look like this:

/images/provv/gallery images/mediabox w=1200|gallery=1|nb=1 {/mediabox}

Make sure to replace gallery_images with the actual name of the directory containing your gallery images.

Please Log in or Create an account to join the conversation.

Replied by amicidisasa@libero.it on topic Error loading the images contained in a dir

Posted 1 year 3 weeks ago #68019

avijeet26 wrote: The problem appears to be that the dir parameter in the mediabox shortcode is set to /images/provv/Photos, which causes the lightbox to display all images in that directory, including those not intended to be displayed in the gallery.

To resolve this, try specifying the exact path to the directory containing only the images you want to show in the gallery. If the images you want to display are in a directory called gallery images within the /images/provv/ directory, for example, you can change the dir parameter to /images/provv/gallery images.


As a result, the updated shortcode would look like this:

/images/provv/gallery images/mediabox w=1200|gallery=1|nb=1 {/mediabox}

Make sure to replace gallery_images with the actual name of the directory containing your gallery images.

Hi
there is something wrong with your syntax... the string is not being read as a mediabox command

Please Log in or Create an account to join the conversation.

Time to create page: 0.700 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1149 guests and no members online