Octopoos / SEBLOD

Build high-end websites with SEBLOD®, a CCK for Joomla!
https://www.seblod.com
GNU General Public License v2.0
129 stars 54 forks source link

Problem with Field X (image gallery at Intro) #338

Open geolits opened 7 years ago

geolits commented 7 years ago

After updating at seblod 3.6.2, i have problem with image gallery at my articles in intro view.

I have in every article, uploaded from 0 to 3 images.

If i go at menu articles blog, and there are 3 articles in the same categor,y from which the first one has 1 photo, the second has 0 photos and the third has 3 photos, if i click at the first one article's photo to open as image gallery, it shows me the image gallery but not only the 1 photo which is uploaded with this article but all the photos from all articles that are in this category (in this example 4 photos). if i click and go at article's content, then in image gallery it shows me only the photos that belongs to the particular article.

The issue exist and at the seblod 3.10.0.

Is there a bug?

Thank you.

klas commented 7 years ago

All images on the page that have certain class are grouped into single gallery by the javacript. As all articles use the same class to mark iamges as gallery all end in the same one.

I would say this is how it works and not a bug.

geolits commented 7 years ago

Hello and thank you for your response.

At Seblod 2, if i remember well, didn't worked like this. The image gallery, was stopped at the images of the article.

So we can't have different classes on different articles? Or a different way?

The seblod team, want to have in the image gallery (at a category blog) all the images of all articles in the category? Not the images only from the article where we click to open the image gallery?

Thank you

klas commented 7 years ago

I made a pull request to change this behaviour

geolits commented 7 years ago

Thank you