Skip to main content
November 26, 2010
Answered

Red Square after using Roboscreencapture

  • November 26, 2010
  • 1 reply
  • 905 views

Hi,

So we use Roboscreencapture to add a fetching grey frame to our images. If the image is a png, that's all fine; if it's a jpeg, after saving the file and returning to Robohelp, I encounter a red square instead of an image. The image is still there (viewing the topic or publishing reveal it there no problems) but it is annoying and there doesn't seem to be any way to remedy it without deleting the image and inserting it again.

Any thoughts on what is happening or any way around it?

Cheers.

    This topic has been closed for replies.
    Correct answer Willam van Weelden

    Haha, It's not that much of a mess. I've seen messy projects, this doesn't make me cry

    You have your image in a variable. To get the image, the browser first goes up two directories. My guess is that your image works on files in some directories and not in others. A variable doesn't change the path. It doesn't matter what kind of image you add when the path is wrong.

    You may want to place the image in a snippet and add those snippets to your pages. When you add a snippet, links for images are handled by RoboHelp.

    If this doesn't solve your problem, please post back.

    Greet,

    Willam

    PS. Since you're new, ust one bit of advice You have quite a lot of inline styling. (This happens when you click the bold button or so instead of selecting a style.) This will give you headaches when management suddenly wants all your italic screen names to be bold and blue. I believe it is a worthwhile investment to create a character style (span style) for every use of special formatting. When management suddenly wants a different style, you only have to change your style sheet and not manually go trough every topic to check your styling.

    1 reply

    Willam van Weelden
    Inspiring
    December 1, 2010

    Hi,

    How do you add the image to a topic? Do you simply paste it?

    Can you share the HTML of such an image?

    Greet,

    Willam

    December 1, 2010

    I just go insert image - and select the image... it seems to work for .pngs... and if I readd the exact same image from the exact same location, it works again... it's very peculiar.

    Here is the topic. The image is at the bottom. It's a total mess (Not My Fault I'm New )

    <h2>Editing a Campaign</h2>

    <p class="BodyText">It is possible to open an existing campaign and edit

    or add new details. This can be useful if more information or people become

    involved during the course of the campaign.</p>

    <ol type="1">

    <li class="NumberList"><p class="BodyText">Select the <b>Projects/Campaign</b>

    tab.</p></li>

    <li class="NumberList"><p class="BodyText">Select your <span style="font-weight: bold;">Client</span>

    and <span style="font-weight: bold;">Campaign</span> from the drop-down

    lists.</p></li>

    <li class="NumberList"><p class="BodyText">Click <span style="font-weight: bold;">Campaign

    Details</span>, and in the<span style="font-weight: bold;"> </span><span

    style="font-style: italic;">Edit Campaign</span> screen, make the

    changes to the campaign you want.</p></li>

    <li class="NumberList" style="font-weight: normal;"><p class="BodyText"

    style="font-weight: normal;">Click

    <span style="font-weight: bold;">Save</span>.</p></li>

    </ol>

    <p class="BodyText">&#160;</p>

    <p class="BodyText"><?rh-udv_start name="projects_campaigns_editing_campaign" ?><img src="..\..\Images\Edit_Campaign.jpg" alt="" width="617" height="374" border="0" /><?rh-udv_end ?></p>

    <p class="Caption">The Campaign Details screen</p>

    <p class="BodyText">&#160;</p>

    </body>

    </html>

    Willam van Weelden
    Inspiring
    December 1, 2010

    Hi William, thanks for getting back to me, that seems to solve the issue... though putting something like 150 images in snippets is going to be a task!

    Thanks for all your advice and tips - believe me, sorting out the styles is high on my agenda. You'll notice they also have used carriage returns for most spacing too... yawn...

    Cheers,

    Harxy


    Guess it can't be helped.

    Be sure to check out dnGrep or another good search and replace tool (FAR). That may save you a lot of time cleaning up. Allways backup first though, search and replace can wreck projects in seconds.

    Success with the cleaning!

    Greet,

    Willam