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

Gallery format: Image dimensions exposed as caption #433

Closed
kghbln opened this issue Sep 24, 2018 · 2 comments
Closed

Gallery format: Image dimensions exposed as caption #433

kghbln opened this issue Sep 24, 2018 · 2 comments

Comments

@kghbln
Copy link
Member

kghbln commented Sep 24, 2018

Setup and configuration

  • SMW version: 3.0.0-rc.1
  • MW version: 1.31.1
  • PHP version: 7.0.32
  • MySQL version: 5.7.23

Issue

The following query also prints the dimensions of the image as part of the caption:

{{#ask:
 [[Has title::{{PAGENAME}}]]
 |?Has note
 |captionproperty=Has Note
 |format=gallery
 |widths=400
 |heights=400
}}

See this page on sandbox. The same thing is happening on s-mw.o main page for the showcases.

grafik

@kghbln kghbln added the bug label Sep 24, 2018
@mwjames
Copy link
Contributor

mwjames commented Sep 24, 2018 via email

@kghbln
Copy link
Member Author

kghbln commented Sep 24, 2018

Same as #375.

Ah, ok. Thanks for the pointer. I will try to do a pull with the proposed code changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants