relative picture path like cpdz for HTML export #247
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
Hi! We can do that, but it requires additional processing. Since the Html page in Calcpad does not have real URL (it is generated in memory), relative paths are replaced by absolute ones. Otherwise, They will not be visible. They will need to be replaced back when you save the file. The best practice is to upload your images on a cloud storage and link them in your worksheet. You can use your GitHub for that purpose or some of the many free upload/storage services on the net. Then, wherever you open your Html files, the images will appear. No bother about paths, coping, etc. You can only have a problem if you do not have internet. Our students also use Calcpad very extensively and they normally present Word files. |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm using your great programm mostly for calculation sheets for university. unfortunately I can not force my professors to use Calcpad to open .cpdz files. And also .pdf is not an option for me because it don´t support for example the inbuild div class fold.
So my question is, if it makes sense or if it is possible to reference to the local saved pictures used in the calcpad sheet relative like you implemented for the .cpdz files.
I think this would be great. Then you could provide a .zip file with the html calculation sheet with correct "relative" reference to the pictures also saved in the .zip. So people who don´t want to use calcpad have easier read access with browser.
Beta Was this translation helpful? Give feedback.
All reactions