how to get the nth generated image at server (eg. scrolling through newpage with query url)

+1 vote
asked Mar 3 in Wanted features by anonymous
Is there a way to have a 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

 

Cordially

Olivier

1 Answer

0 votes
answered Mar 8 by plantuml (131,070 points)
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!
...