I created a plugin to display images the way i want. This is the plugin’s structure:
- image-plugin
- blueprints
- image.yml
- snippets
- image.php
- index.css
- index.js
- index.php
- blueprints
I created another plugin that renders testimonials the way i want. It looks pretty much the same in terms of structure:
- testimonials-plugin
- blueprints
- testimonial.yml
- snippets
- testimonial.php
- index.css
- index.js
- index.php
- blueprints
The testimonial-plugin displays some text and an image. I would like to use the image-plugin/snippets/image.php as its image-renderer. How is that possible?
I tried this and its not working: <?php snippet('image-plugin/image', [myparams_here]); ?>