You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pwg.image.rotate API method deletes representatives and updates their URLs in the database so that the server knows that it should recreate them. In principle, URLs of the type: https://…/_data/i/upload/2024/02/17… are replaced with https://…/i.php?/upload/2024/02/17…. But is this always the case?
When called, pwg.image.rotate returns the JSON {"stat":"ok","result":true} after successfully rotating a photo. This JSON does not contain the modified sizes, nor the new URLs.
A third party app calling pwg.image.rotate obviously knows how the width and height have been changed and how to rotate thumbnails already in cache. But it may not know the URL of thumbnails not yet in cache unless it reloads all image data by calling pwg.images.getInfo to retrieve all addresses.
To reduce network accesses (battery consumption) and speed up third party apps, I would like that pwg.image.rotate also returns the width, height and URL of all thumbnails.
The text was updated successfully, but these errors were encountered:
The
pwg.image.rotate
API method deletes representatives and updates their URLs in the database so that the server knows that it should recreate them. In principle, URLs of the type:https://…/_data/i/upload/2024/02/17…
are replaced withhttps://…/i.php?/upload/2024/02/17…
. But is this always the case?When called,
pwg.image.rotate
returns the JSON {"stat":"ok","result":true} after successfully rotating a photo. This JSON does not contain the modified sizes, nor the new URLs.A third party app calling
pwg.image.rotate
obviously knows how the width and height have been changed and how to rotate thumbnails already in cache. But it may not know the URL of thumbnails not yet in cache unless it reloads all image data by callingpwg.images.getInfo
to retrieve all addresses.To reduce network accesses (battery consumption) and speed up third party apps, I would like that
pwg.image.rotate
also returns the width, height and URL of all thumbnails.The text was updated successfully, but these errors were encountered: