Please provide a way to to get the nth generated image at server

+1 vote
asked Mar 3, 2017 in Closed feature request by anonymous
I'd like to have direct access to the 2nd, 3rd etc image generated with newpage when querying the online server.

Something like www.plantuml.com/plantuml/uml/foobar?page=2

It seems to me the servlet always calls the generator https://github.com/plantuml/plantuml-server/blob/master/src/main/java/net/sourceforge/plantuml/servlet/DiagramResponse.java#L68 with numImage == 0

https://github.com/plantuml/plantuml/blob/master/src/net/sourceforge/plantuml/SourceStringReader.java#L102

1 Answer

0 votes
answered Mar 8, 2017 by plantuml (295,000 points)
selected Mar 23, 2018 by Anthony-Gaudino
 
Best answer
It's still under test, but with the updated online server, you can now have:

http://www.plantuml.com/plantuml/png/0/SyfFKj2rKt3CoKnELR1Io4ZDoSatvCfBBIz8J4_bSi8YQmG0

http://www.plantuml.com/plantuml/png/1/SyfFKj2rKt3CoKnELR1Io4ZDoSatvCfBBIz8J4_bSi8YQmG0

The number just after the /png/ gives access to the Nth image.

Tell us if you find any issue! Thanks!
...