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

Create transparent placeholder image with specific proportions #4460

Open
piotrpog opened this issue Jun 28, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@piotrpog
Copy link

commented Jun 28, 2019

It would be useful if we could create an transparent placeholder image with specific proportions.

It could be used in a situation when image required in some part of page was not uploaded, but the image still is needed for the layout to look good.

Basically same thing as Imager plugin craft.imager.placeholder({ width: width, height: height})

Right now of course we can upload transparent pixel and set it to specific dimensions using transform, but implementing such functionality would not even require uploading any placeholder files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.