-
Notifications
You must be signed in to change notification settings - Fork 34
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
Feature Request: Widget #7
Comments
Hi @johnny-longneck, I am glad you are using the module. Regarding your suggestion, could you please elaborate your idea? I do not quite undestand how this would work. If you create a custom widget, you can also use the 'resizerHelper' inside the template of your widget. Besides that, if you need to use the resizer somewhere else, you could inject the helper in any class comtructor as done here: Would that work for you? |
Thanks for your reply. Sorry for bad description. What I am going to achieve is what I did with template images: Have one image being output in several sizes. Speaking of As far as I know, I cannot use your plugin on CMS Static Blocks for example. I can try that. |
Hi @johnny-longneck |
Unfortunatly no. I was super busy fixing bug after bug after bug for severeal M2 shops. But jeah I should give it a try. |
I was yesterday thinking about that and I think this feature should not belong to that module but to be implemented on a project level. In my opinion, a widget is project specific and it makes more sense to create that widget directly on the project. In fact that would be quite easy to accomplish using 2 modules: In your project your will need the following:
What do you think? Would that be a valid solution for you? |
Hi @johnny-longneck |
First of all, thanks for this module.
It was wonderful when turning category images into responsive images with srcset and sizes attributes.
One thing that I would love to see is the feature to use it outside of templates, but as widget in the admin section.
The text was updated successfully, but these errors were encountered: