• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

image conversion issue - width and height to 0

New Here ,
Apr 23, 2020 Apr 23, 2020

Copy link to clipboard

Copied

Hi all,

First off... great bit of support in this group... thx!

I'm using TechComm 2015, importing Frame docs into RoboHelp for Responsive HTML5 output. Specifically with regard to image conversion, when I set the "preferred dimensions" width and height to 0 (to prevent image sizing during conversion), the images do not appear in the output.

Disabling above does allow them to appear in output, thus I don't know why this is happening.

Wondering anyone has comments that will alleviate?

Thanks!

Views

358

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 24, 2020 Apr 24, 2020

Copy link to clipboard

Copied

Since I don't have a ton of images in my FM to RH project, I can't tell you definitively that this was or wasn't working, but I did find this TCS Blog post that talks about setting the zero size thing - https://blogs.adobe.com/techcomm/2009/10/preparing_anchored_frame_for_conversion_in_robohelp.html.

This would imply that it worked (at some point), but may have gotten busted later. What is coming through to your RH topic with regard to the <img> tag they mention? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 24, 2020 Apr 24, 2020

Copy link to clipboard

Copied

Hi Jeff... I appreciate the comments... thank you!

I've inserted details below that outline the situation, as per your comment re <img> tag:

  • 1 = HTML after importing from FM with default image conversion settings, i.e. no height and width specified.
  • 2 = HTML after importing from FM where the image conversion settings for height and width are both set to 0 (zero).
  • 3 and 4 = HTML from responsive output from each of the respective imports.
  • 3 Output does display images, however, not very well (too small... not clear), which is why I was exploring the option of using zeros for sizing width and height as per the blog you reference.
  • 4 Output does not display images.

In general, the code seems to be fairly predictable in terms of the conversion settings, i.e. nothing seems to be far off. Caveat… I’m not a real coder 🙂 .

Any comments appreciated!

Thank you!

image issue - zero width and height.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 24, 2020 Apr 24, 2020

Copy link to clipboard

Copied

Are you all patched up? I forget what was the last RH2015 version issued (I'm still stuck working with RH11). Was this working before & now has stopped (or started misbehaving)?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 28, 2020 Apr 28, 2020

Copy link to clipboard

Copied

Hi Jeff... thanks for getting back!

Appear to be patched up (12.0.4.460).

Re working before or not, it never worked for me. I did a couple of different tests using various Frame sources projects  with default and import settings (except I did change the width and height to zero) with the same result... so it appears the situation isn't project related.

Thats said, I'm going to see if importing Word source with images gives the same result. I'll post back results.

 

One question... in our frame documents, images are imported and by default live in a frame. We normally just let those frames attached to the para tag directly above this image, i.e. we do not attached them to a particular para tag to anchor images independantly. That shouldn't image this... correct?

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 28, 2020 Apr 28, 2020

Copy link to clipboard

Copied

LATEST

Al I know is that images have to be in an anchored frame to survive the trip into RH (or to be published straight out of FM to something like HTML5).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp