Error loading the images contained in a dir
- amicidisasa@libero.it
- Topic Author
- Offline
- New Member
- Posts: 4
- Thank you received: 0
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.
what do you mean with "in the media" ? do you mean other images from another folder ?also other images present in the media
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.
- amicidisasa@libero.it
- Topic Author
- Offline
- New Member
- Posts: 4
- Thank you received: 0
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.
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.
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.
- amicidisasa@libero.it
- Topic Author
- Offline
- New Member
- Posts: 4
- Thank you received: 0
Hiavijeet26 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.
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.