Skip to main content
christinal26792635
Participant
October 16, 2017
Question

Remove Individual Image Resizing & Bulk Resize All Images to a Uniform Scale

  • October 16, 2017
  • 1 reply
  • 947 views

We use RoboHelp 2015 to write and publish the content for four different user guides. There are over 1,000 images in use across the project. Each image is included as a shared resource (FrameMaker and RoboHelp share images across projects), and within the RoboHelp projects, we use RoboHelp's tools to resize each image individually, i.e. the Size button in the Image dialog box. For an upcoming release, we plan to change the size of all our images, which would cause RH to stretch or squish the images once it updates. We'd like to remove RH's individual image resizing and bulk resize all the images to a uniform scale.

Is there a way to remove RH's individual scaling across topics? Is there an Adobe (or other) plugin that can bulk resize images to a specific dimension? Thanks!

This topic has been closed for replies.

1 reply

Captiv8r
Legend
October 16, 2017

If you are simply using RoboHelp to configure the size of the image, you are likely ending up with awful results. One should always consider using an image editing application to scale images first, then insert the resulting scaled image into RoboHelp and presenting it at full size.

However, if you are fine with the way things look, you could simply use CSS to configure a consistent size.

Cheers... Rick

Peter Grainge
Community Expert
Community Expert
October 17, 2017

The way you have resized results in HTML something like:-

<img src="my.png" alt="" style="border: none;" width="350" height="315" border="0" /></p>

and it could be written across more than one line.

If you have someone in your team who can write regular expressions that will find

width="nnn" height="nnn"

within the image source tags and remove just that part, that would return you images to full size.

Then you would need to create a style in the CSS as Rick has suggested and apply that to all images.

Finally you offer up a few chickens to ensure all the images look as you want.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
christinal26792635
Participant
December 11, 2017

How do you create a style in the CSS that configures a consistent size?