Hello everyone
I need to make round corners by making this corners transparent.
How I can run a snippet on uploading an image from modx manager(or by picking that image for TV)?
If you have any ideas please share.
I think you should use CSS3 for that. Makes much more sense.
up.
Maybe this must be done with plugins? How I can listen to the download master, and change its appearance? I need to add a checkbox like ’Use custum corner-cutting-plugin’ and launch it as a pre-hook for file uploading.
I have tryed to make corners(in divs backgrounds) above of the picture, but the problem is that the element wil be always higher than the background in spite of z-index. And I think it will be hard to make <img> behave as a block that will stretch on it’s place...
Background on a block will work, but I will need to use style="background, height, width" and it is a bulky solution.
Thanks for reply anyway, it is a better solution than to edit image manually(with getImageSize);