This content has been marked as final. Show 2 replies
Hopefully you are aware there is a much better way to resize the image back to the correct dimensions. You simply right click and select Reset size via the resulting context menu.
However, I do understand your need for doing this somewhat en masse. So before doing anything else, I'd first strongly suggest you submit an enhancement request at the link below:
Click here to visit the wish form
Now that you have done that, you might find another piece of software to be useful. Fellow Microsoft Help MVP Rob Chandler offers a nifty product that should find a home in every technical author's toolbox. It's called FAR (Find and Replace) and does a marvelous job of such things. There is even a free trial offered. To get your own copy of the trial, visit the link below:
Hopefully this helps... Rick
Thanks for the reply!
I did not know about the "Reset Size" context menu option, that is a bit easier than the doubleclick.
I did some more investigation of hacking the HTML outside of RoboHelp and found that by removing the width and height statements from the image tag, I could replace files as I wanted and they got their correct size.
<p class=Base><img src="../images/dxp_user_interface.png"
This means that in theory, I could:
1. Close RoboHelp
2. Run a script that removes these parameters.
3. Replace all the imagefiles on my harddisk with german ones.
4. Open the RoboHelp project.
5. Build a correct german CHM.
However, as soon as I make a tiny change to a topic, RoboHelp will write down the image pixel size in that topic to the TrueCode/HTML.
So it's a pretty shaky procedure, nothing you'd wanna do on a daily basis.
I submitted a Feature Request as you suggested, that they should add a setting in RH that does not specify pixel sizes in the HTML but rather lets every image appeas "as is".