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

Don't require image size if only SVG format is allowed #17

Open
adamf321 opened this issue Apr 18, 2016 · 0 comments
Open

Don't require image size if only SVG format is allowed #17

adamf321 opened this issue Apr 18, 2016 · 0 comments

Comments

@adamf321
Copy link
Member

adamf321 commented Apr 18, 2016

If the image format is set to allow SVG only, then the image size isn't relevant.
http://snaps.getmoxied.net/130r0v1L1U1b

In this case the Transform could automatically return the image link and alt in the usual structure (width and height would be blank:

"image_1": {
  "src": "http://.../image.svg",
  "width": 0,
  "height" : 0,
  "alt": "some text"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant