-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Square thumbnails #76
Comments
Hi. Please could you add a screenshot/sketch with a demo? Or more info because I don't understand your question, sorry xd |
@Alados ah ok wait. I read again your question. You should add/customize this to your project's css:
However, I suggest to watch these example projects HERE |
@Ks89 I need that in thumb showing center of image, independent at real size of image. If they 1000x500 or 500x1000 we must show center and they must be equal size. I attached screenshot. |
Ah ok. You cannot add photos without your custom logic that changes the input array of images, but you can change css. Check this example: https://github.com/Ks89/angular-modal-gallery/tree/master/demo/webpack This is a good question. I'm thinking about angular-modal-gallery 4.0.0 and I will add more features to customize style and layout with some custom templates. |
@Ks89 Thanks, but I'm trying to say that I want to add a centercrop for thumbnails image. In your code, in thumbnails was top-left part of image, not a center. |
Ah ok. If you find something and you want to share it here, I will be really happy to try to add it to future versions of this library. |
@Ks89 I know how this may be implemented. Need change tag "img" to "a". For all "a" must be set . May be you can add this and hide by bool variable? That another users can use library by old. |
I'm sorry, but what does it mean: "For all "a" must be set ." Set what? |
Sorry, there must be code. For all "a" must be set this css code |
Mm ok. I don't want to break features/unit testing/e2e testing. What do you think? Is it acceptable? |
Implemented in angular-modal-gallery 5.0.0 (still in alpha). The stable release will be available probably in February. However, I'll release this feature with angular-modal-gallery 5.0.0-alpha.4 scheduled for the end of December 2017. Issue closed. For news/updates or to talk about bugs related to this feature, please refer to the general issue for 5.0.0 here: #80 |
Is this possible to have square thumbnails independent of real image size?
The text was updated successfully, but these errors were encountered: