Bugfix #155 for justified layout – image size#162
Bugfix #155 for justified layout – image size#162Elfangor93 merged 2 commits intoJoomGalleryfriends:masterfrom
Conversation
|
I dont think that a sustainable approach to just put a huge value for Therefore I recommend set the |
|
@Elfangor93 Since the maxRowImgs function is not relevant for us, I have now removed it completely. |
|
I highly recommend not to change anything in 3rd party libraries. As far as I know, we are using https://github.com/hikir1/ImgJust to create the justified layout. If possible use it as it is otherwise we (JoomGallery friends) have to maintain the code. If you really want to change something in the JS library, I see two possibilities:
I see, you already started solution 1: hikir1/ImgJust#4 👍 |
As soon as the value of maxRowImgs is smaller than the number of all images, the value idealHeigh is ignored and the images are displayed very large.