-
Notifications
You must be signed in to change notification settings - Fork 19
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
Image width and height on-the-fly #50
Comments
Hi @hasnatbabur, could you elaborate a bit more about what you are looking for? Or possibly provide an example of the feature that you're describing. Thanks |
@sherwinski I am using following libraries: /! blade template file
For the example above is there any way to get the width and height of the image from imgix so that we can use in the markup above? The grid will not work without proper image height and width attribute values. Please have a look the gallery here: Can you help? Thanks. |
Hi @hasnatbabur, thank you for providing more details. Unfortunately, this is not a supported feature through imgix's service or this library. The best suggestion I can give is to use the I am not sure how tookapic is determining the width and height of their images. I would imagine that they are somehow extracting/storing the image dimensions separately. I hope that helps you. Feel free to comment back if you have anymore questions. |
@sherwinski Thanks a lot for your clarification. From your suggestion I think I should store main image dimension/meta in database then calculate modified dimensions. Thanks for your help. |
Is there any way to get the desired image height and width before sending html response? We need this feature for image gallery section. Thanks
The text was updated successfully, but these errors were encountered: