Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

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

+1 vote
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
asked Mar 3 in Wanted features by anonymous

1 Answer

0 votes
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!
answered Mar 8 by plantuml (111,340 points)
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...