Skip navigation
Boggym
Currently Being Moderated

Image path appearing as tooltip in the PDF documentation

Oct 27, 2010 6:19 AM

Hi all,

 

I posted this issue a while ago, and I also offered the solution of populating the Screen tip of the image in the image's properties, however this is working for RH7, whereas for RH8 it does not matter what I enter in the Screen tip, it will still show the complete path of the image at the moment of creation of the PDF giving away some sensitive information. Not displaying the Screen tip specified in the image's properties is definitely a bug. Is there any remedy to  that. Basically I do not need any Screen tip for my pictures. Best would be to not display anything, however it seems impossible for the time being.

It does not matter if I generate the PDF directly as a layer in RH8 or I generate it from Word, the result is the same, and it is annoying.

I hope there is a remedy to that.

I use a Windows XP Pro 32 bit, and I installe all service packs from Adobe.

 

Thank you,

 

Bogdan

Branched to a new discussion.
 
Replies 1 2 Previous Next
  • Currently Being Moderated
    Mar 2, 2011 12:35 AM   in reply to Boggym

    For <img> tag, value of “title” attribute is used to display tooltip/screentip for the image. The alt attribute is meant to be used as an alternative text if the image is not available, not as a mouse-over text. In Robohelp, user can specify the screentip for each image. Robohelp(<=9.0) does not have user interface to update/insert alternative text, though user can go to the code view for each image and update the value of alternative text.

     

    Now your problem occurs in the case when the value of alt attribute is empty. To provide each image an alt value(required for XHTML),  the filename of the image is copied to the alt attribute value on generating output. This filename is somehow converted to absolute path of the image in PDF, that is shown in the description as tooltip.

     

    One solution to the problem is to copy the value of the screentip to the alt text. Doing this manually will be a tedious task for projects having large number of images. To automate the work, please download a Robohelp script(AltTestUpdater.jsx) from https://acrobat.com/#d=DVsTaYdohOB8T*2woAhBLA and rename it from AltTestUpdater_jsx to AltTestUpdater.jsx

     

    This script can be used to –

    1.       Copy the  “title” attribute of the image into “alt” attribute when “alt” attribute is empty.

    2.       To force update “alt” attributes from title, uncomment the line in the script.

    //altUpdater.SetForceUpdate(true);

    3.       The script will notify the user with the number of updated topics, master pages and snippets in the project once script is executed.

     

    Steps to execute the script:

    1.       Launch RoboHelp.

    2.       Open the project.

    3.       Open Script Explorer pod from View>pods menu and import the script.

    4.       Please close all the topics, master pages and snippets if any is opened.

    5.       Run the Script from the Script Explorer.

    6.       You will be prompted with summary iterating how many topics, master pages and snippets got updated.

     
    |
    Mark as:
  • Currently Being Moderated
    May 22, 2011 5:11 AM   in reply to Boggym

    Hello...I just came across this post. I thought I would add my two cents on what worked for me. I was really annoyed when I hovered with my curser over a picture in a .pdf document I created in Word. So I googled the problem and came here. I couldn't find a "great" answer anywhere, so I experimented. There is an option when you are making the .pdf document that will get rid of the tooltip. In the save process, you will notice an "options" button to the right side of the save dialog box. Under that section, you will notice several options:

     

    Create Bookmarks using Headings/Word bookmarks

    Document Properties

    Document structure tags for accessibility

     

    ...and 2 more options. You will want to deselect the "Document structure tags for accessibility" option. That will solve the problem (at least it did for me!) and there should be no revealing path tooltip.

     

    Hope that helps!

     

    ~ MLRProductions

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 3, 2011 11:12 AM   in reply to Boggym

    I believe the script was supplied by Adobe but scripts are a RoboHelp 8 and 9 feature. I believe you stayed with 7, correct?

     

    If you did upgrade, the pod is Script Explorer or you can access the scripts via the Tools menu.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 3, 2011 11:37 AM   in reply to Boggym

    Don't even think about opening a project in RoboHelp 8 unless you have applied the two patches. See Opening Projects on my site for an explanation.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 3, 2011 12:57 PM   in reply to Boggym

    Service Pack, Patch, call it what you like. We are talking about the same thing. When done your version should be 8.0.2

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 3, 2011 2:29 PM   in reply to Boggym

    http://www.adobe.com/support/robohelp/downloads.html

     

    First though check in Control Panel > Programs and Features to see if 802 is installed there. I have seen a couple of cases where Help > About shows a different version. If you do have that problem, uninstall both patches and reinstall.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 6, 2011 7:05 AM   in reply to Boggym

    In the other thread someone posted that it worked for them so I'm surprised to see this. Did you get the summary referred to in Step 6 above and did it seem right?

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 6, 2011 7:30 AM   in reply to Boggym

    Is it me or have you not followed Rajib's steps? He explains the screen tip will become the Alt Text and fix the problem. You have removed the screen tip. So no screen tip means no Alt Text which means your problem is still going to be there.

     

     

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 6, 2011 7:51 AM   in reply to Boggym

    My understanding was that in RoboHelp 7 you had a workaround for the root problem but it didn't work and RoboHelp 8 or 9. I thought you were seeking a something that would continue to work in 8 or 9 but I now realise you want to be able to add images without a screentip but end up with a PDF not showing the path.

     

     

     

    I know nothing about writing scripts but I'm thinking it should be possible to amend that script to find all the images but instead of writing the screentip as the Alt Text it puts in something generic such as "Image"

     

     

    Could one of your developers do that?

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 6, 2011 10:14 AM   in reply to Boggym

    I suspect the difficulty is that fix is something the Acrobat team have to resolve rather than the RoboHelp team. Don't scream back it's all Adobe, I know it is but if yours is a large organisation, you will know what I mean.

     

    Can I assume that having "Image" or better still nothing showing in the PDF and no need for Screentips would be an acceptable way forward?

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 15, 2011 12:07 PM   in reply to Boggym

    If it is dealt with through a patch to RoboHelp 9, it will be in the release notes and I add those to Using RoboHelp 9 on my site.

     

    If it is dealt with by a script I imagine that will be covered in the Adobe blog at http://blogs.adobe.com/techcomm/

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 15, 2011 12:09 PM   in reply to Boggym

    Reread my post. I have applied bold to help you and here's a link http://www.grainge.org/pages/authoring/rh9/using_rh9.htm.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 15, 2011 1:34 PM   in reply to Boggym

    It is not yet fixed.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 18, 2011 1:01 AM   in reply to Peter Grainge

    Bogdan

     

    Another problem caused me to wonder if there isn't a simple solution to this.

     

    In both 8 and 9 if you enter a screentip its value gets written in RoboHelp 9 to the TITLE property in the Image tag.

     

    In 9 the ALT property is given the same value but in 8 it is left blank and reads ALT=""

     

    On generating the output Rajib indicated that  RoboHelp adds the path when the output is created IF the ALT value is blank.

     

    I'm wondering if you could simply do a find and replace where the find is ALT="" and the replace is something like ALT="Image". In theory RoboHelp should find a value when generating and leave it alone and that is what you will get in your PDF. You could also add TITLE="Image" to the replace string.

     

    I haven't tested this so do try it on a copy of your project.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

    @petergrainge

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 15, 2011 1:35 PM   in reply to Boggym

    Has any more been found out about this? 

    We recently upgraded from RH7 to RH9 (along with upgrading to Word 2007 and Acrobat X).  We were very startled and dismayed to see these so-called tooltips, which we just found out about today although we have been publishing PDF'd docs from RH9 for about 6 weeks now.  Showing this path (back to RH! and document draft names!) and image name is really not acceptable.  But before we attempt to implement the solution which is way up in the discussion here (and I am not sure I understand the steps yet), I wanted to see if any more information or solutions had been found. 

    So...Boggym, if you are still out there, did the suggested steps actually work for you and is there anything you'd like to point out to someone following in your footsteps?

    Thanks,

    kb

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 18, 2011 6:51 AM   in reply to Boggym

    Everyone,

     

    I'm using Acrobat Professional 8.3.1 and discovered this problem for the first time yesterday.  (Actually, one of my developers noticed it and said some unfavorable things.)  I'm creating PDFs from Word.

     

    It sounds like there are three fixes:

     

    - Killing all the hyperlinks in the PDF to turn off the alt text display.

    - Upgrading to Acrobat Version 9 and installing all the updates .  (Can someone confirm this will fix it?)

    - Do some programming in the PDF code to reset the alt text value.  (Gleeps; that's new turf for me.)

     

    I don't know how to access image properties in PDF, though I'd be happy to change all the alt text values manually.  I notice if I save the screen capture and insert it into my Word document before generating the PDF, no alt text is displayed (but it will take a lot of time to recapture all the images in my documentation and save and insert them).  When I copy and paste the screen captures, the path is shown.

     

    Is there a clear resolution to this or is Adobe still trying to respond?  (Please don't reiterate history; I've read all the posts.)  Thanks!

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 18, 2011 7:00 AM   in reply to Boggym

    Boggy,

     

    That's clear but depressing news.  Guess I'll work with the programming staff here and see what they can fix "under the covers".  Since we're generating a lot of content in PDF, it also means we may need a new PDF solution.  Dang.

     

    Thanks for responding!

     
    |
    Mark as:
1 2 Previous Next
Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points