Skip to content
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

resize with force aspect ration and zoom crob/phpthumbsof #39

Open
navtsi opened this issue Jan 23, 2015 · 1 comment
Open

resize with force aspect ration and zoom crob/phpthumbsof #39

navtsi opened this issue Jan 23, 2015 · 1 comment

Comments

@navtsi
Copy link

navtsi commented Jan 23, 2015

For bxSlider I want to resize images to a fixed size with different aspect ration than original image. I tried to combine Assets.url and Asset.id with phpthumbsup/phpthumbsof but it doest work. is there a possibility to use phpthumbsof instead of resize? Perhaps it would be an idea to integrate force aspect ratio and zoom crob as options.

@fireproofsocks
Copy link
Member

You could use the id field to generate unique numbers, but if it needs to begin with 0 and progress sequentially, I'd have to edit model/Snippet.php.

The biggest roadblock right now is that the MODX package manager keeps rejecting the updates, so I haven't been able to release the new version of this officially.

It's unlikely that I will ever offer an interface that matches phpthumbs exactly, but the feature request #14 would handle all of that in a more elegant interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants