I'm building an app that exports google docs to websites but I can't get original file names.
Steps:
Anything I'm doing wrong? Is there a way to get the original file name?
Issue is that Google doc doesn't save any details from the image aside from the details below:
Thus when opened in another application, that app initializes the images' names into its own default image names (e.g image.jpg, Untitled.jng, etc.) as they didn't see any details about it. See a similar post.
Figure <N>: <filename>
) so that you could easily find them when extracting the images. Then when checking which caption is for a specific image, you just have to find the match of the specific string and the order of the image. This is definitely not the optimal approach but the simplest one to do and follow.