If you want to get pageimages for all results of search, you need to execute search as a generator:
http://en.wikipedia.org/w/api.php?action=query&generator=search&gsrs...
Petr Onderka [[en:User:Svick]]
On Mon, May 6, 2013 at 5:41 PM, Luigi Assom luigi.assom@gmail.com wrote:
Hello,
I have another question on pageimages:
I can't get it work with list=search:
http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=...
could you please help in understanding if i am doing wrong smtg? also, is there any planned release of api 2.0 ? What about the legacy and normalization of continue parameters?
thank you!
On Wed, May 1, 2013 at 10:46 AM, Max Semenik maxsem.wiki@gmail.comwrote:
On 29.04.2013, 22:26 Luigi wrote:
Thank you Max! quick, neat and clear.
Just a note: I'd see useful the possibility to re-size an image not only by largest dimension, but also by width (or height) so that one could have all img with same width/height, very yuseful for formatting on mobile handsets.
Do you think it could be useful and would you consider to modify the
code for this feature?
It will produce weird results for images with unusual dimensions: very wide or very narrow. We use pithumbsize with good results for mobile.
-- Best regards, Max Semenik ([[User:MaxSem]])
-- Luigi Assom
Skype contact: oggigigi
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api