Error loading the images contained in a dir

More
1 year 7 months ago #67951 by amicidisasa@libero.it
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.

More
1 year 7 months ago #67952 by ced1870
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

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

More
1 year 7 months ago #67953 by amicidisasa@libero.it
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.

More
1 year 7 months ago #67954 by ced1870
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

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

More
1 year 7 months ago #68014 by avijeet26
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.

More
1 year 7 months ago #68019 by amicidisasa@libero.it

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.239 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1044 guests and 3 members online