transparent.gif not rendering in HTML5 output after upgrade

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
Flareon
Propeller Head
Posts: 13
Joined: Fri Aug 02, 2019 3:18 am

transparent.gif not rendering in HTML5 output after upgrade

Post by Flareon »

Hello,

I upgraded from Flare 2019 to Flare 2022 and now the dropdown and glossary link images don't render correctly in the HTML5 output. It is failing to load the image file and these errors appear in the browser (development mode):
madcap_error.png
This is what the output in the browser looks like:
madcap_image_closed.png
HTML5 output:
<img class="MCDropDown_Image_Icon" src="../../Skins/Default/Stylesheets/Images/transparent.gif" height="10" width="16" alt="Open" data-mc-alt2="Closed">

madcap_image_open.png
<img class="MCDropDown_Image_Icon" src="../../Skins/Default/Stylesheets/Images/transparent.gif" height="10" width="16" alt="Open" data-mc-alt2="Closed">

Does anyone know how to fix this?
You do not have the required permissions to view the files attached to this post.
Flareon
Propeller Head
Posts: 13
Joined: Fri Aug 02, 2019 3:18 am

Re: transparent.gif not rendering in HTML5 output after upgrade

Post by Flareon »

I actually fixed this by following the solution in another post here: viewtopic.php?t=32201

The solution is to add the following post-build event to the target:

mkdir "$(OutputDirectory)..\Skins\Default\Stylesheets\Images"
copy "$(OutputDirectory)Skins\Default\Stylesheets\Images\transparent.gif" "$(OutputDirectory)..\Skins\Default\Stylesheets\Images\transparent.gif"
Post Reply