Unchecked "Generate resized... images", but it still does it

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

Unchecked "Generate resized... images", but it still does it

Postby beagley on Wed Jun 17, 2009 1:05 pm

In the Advanced tab of my WebHelp Target, I have UNCHECKED the "Generate resized copies of scaled images".

Yet, it still does it.

Any other places in Flare that could be triggering that?

The image is being scaled to 850 pixels... probably because in my stylesheet I've got max-width set to 850px. But I want the browser, on the fly, to shrink that image. (without CSS, I'd do it with the "width" element in an img tag). I don't want Flare gunking my image and making a shrunken copy.

Is there a bug with that toggle box, or is Flare somehow taking what I've got in my stylesheet and deciding to resize images?

-d

p.s.
(For the curious, the reason I don't want Flare resizing my images is because Flare (along with most simple image editors) dumps transparencies when it resizes images.)
beagley
Sr. Propeller Head
 
Posts: 182
Joined: Tue May 06, 2008 1:33 pm
Location: Vermont

Re: Unchecked "Generate resized... images", but it still does it

Postby Lisa.Sawyer on Mon Sep 28, 2009 1:23 pm

Bumping this because this seems to be a bug that still hasn't been fixed. I'm hoping they will give us a status on the fix soon.
Lisa.Sawyer
Jr. Propeller Head
 
Posts: 7
Joined: Wed Mar 19, 2008 2:07 pm

Re: Unchecked "Generate resized... images", but it still does it

Postby LTinker68 on Mon Sep 28, 2009 1:28 pm

beagley wrote:The image is being scaled to 850 pixels... probably because in my stylesheet I've got max-width set to 850px. But I want the browser, on the fly, to shrink that image. (without CSS, I'd do it with the "width" element in an img tag). I don't want Flare gunking my image and making a shrunken copy.

I don't get it. You don't want it to be larger than 850px so you set a max-width attribute, but when it does it, you don't want it do that??? The max-width is the same as the width attribute with one exception -- it won't shrink the image if it's below 850px, only if it's above 850px. So if your image is 900px wide, then it's doing exactly what you told it to do in the stylesheet. If it's only 800px wide, then it'll display at 800px wide.

Note that if the image is less than 850px wide but is too tall for the browser window, then the browser may automatically resize the graphic itself. I think newer browsers will automatically shrink images if they're too big, although I'm not positive. So it could be the size is fine, but your image is too tall.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: Unchecked "Generate resized... images", but it still does it

Postby Lisa.Sawyer on Tue Sep 29, 2009 8:51 am

I think the issue is that if you have asked Flare to not resize the image, it shouldn't. That is the point of not checking the box.
Lisa.Sawyer
Jr. Propeller Head
 
Posts: 7
Joined: Wed Mar 19, 2008 2:07 pm

Re: Unchecked "Generate resized... images", but it still does it

Postby LTinker68 on Tue Sep 29, 2009 9:01 am

Lisa.Sawyer wrote:I think the issue is that if you have asked Flare to not resize the image, it shouldn't. That is the point of not checking the box.

The point of the checkbox is whether or not it'll create a new version of an image if you've resized that image. It doesn't determine whether or not Flare will actually resize an image -- that's up to you, whether you manually resize an image or have it done automatically via the stylesheet. So if that checkbox is off but the stylesheet has a max-width property set and an image exceeds that width, then the image will be resized on-the-fly when the topic is loaded. If the checkbox is off and there is no sizing being done in the stylesheet, then the images won't be resized -- they'll appear in the topic at the actual size specified (depending on dpi value of the image).

If the checkbox is off and you find a new version of an image file with the dimensions as part of the file name, then yes, that's a bug because if it's off then it shouldn't create a new version of the image (except for PDF and a couple of other outputs). Make sure you delete the output folder before building, though, to make sure it's not creating the new files after the option is disabled.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: Unchecked "Generate resized... images", but it still does it

Postby whunter on Tue Jun 04, 2013 4:05 pm

This is an old thread but since I am seeing the same behavior I will resurrect it.

In my target, "Generate resized copies of scaled images" is UNCHECKED. Yet when I build (WebHelp) and inspect the output folder, I have a bunch of extra image files for the resized versions. I ran Clean Project and tried again and they're still there. I checked the Flare help to see if I am misunderstanding the feature, and based on my reading, I should not have these files if this setting is unchecked.

It seems like a bug but I wanted to throw this out there to see if I'm not understanding something. (And if it is a bug then I'm a little discouraged since it seems to have lingered since 2009.) I'm on v8.1.
whunter
Sr. Propeller Head
 
Posts: 419
Joined: Thu Mar 12, 2009 4:49 pm
Location: Portland, OR

Re: Unchecked "Generate resized... images", but it still does it

Postby LTinker68 on Thu Jun 06, 2013 7:55 am

I've never had that option enabled so I'm not exactly sure what it does and when, but I wonder if when you build the target, it creates the resized image, puts it in the images folder, then changes the reference in the topic to that file. Not in the output, but in the source files. If that's the case, then you're still seeing resized images because you haven't deleted them and changed the references back to the original image file. If the option works as I've described, then disabling it doesn't automatically reverse everything that was done before.

I think that option is enabled by default, so if you've ever built the target with it enabled and you had resized images, then you'll still have those files.

Easiest way to check is to look at the image tag in the topic -- is it pointing to the original file or a resized file that it created?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
LTinker68
Master Propellus Maximus
 
Posts: 7245
Joined: Thu Feb 16, 2006 9:38 pm

Re: Unchecked "Generate resized... images", but it still does it

Postby whunter on Thu Jun 06, 2013 8:46 am

Nope -- my source files are fine (only the original un-resized files in my Image folder; topics reference those files). I submitted a bug to MadCap, they haven't responded yet.
whunter
Sr. Propeller Head
 
Posts: 419
Joined: Thu Mar 12, 2009 4:49 pm
Location: Portland, OR

Re: Unchecked "Generate resized... images", but it still does it

Postby whunter on Mon Jun 10, 2013 1:14 pm

FWIW Madcap has confirmed this is a bug (56342).
whunter
Sr. Propeller Head
 
Posts: 419
Joined: Thu Mar 12, 2009 4:49 pm
Location: Portland, OR

Re: Unchecked "Generate resized... images", but it still doe

Postby Paul Griffiths on Thu Mar 17, 2016 3:55 am

Bumping this (again) because the bug is still present in Flare 11. Is it fixed in Flare 12? I can't see it in the Release Notes and given MadCap's track record when it comes to bug-fixing, I'm not holding my breath.
Paul Griffiths
Sr. Propeller Head
 
Posts: 239
Joined: Wed Apr 18, 2007 2:25 am
Location: Nottingham, UK

Re: Unchecked "Generate resized... images", but it still doe

Postby djohnson on Tue Jun 07, 2016 2:34 pm

Not fixed in 12.0.5991.25330.

I just ran into this, too: I have a large image that I want the browser to scale, and have it be no larger than half the width/height of the original, so I can simulate HiDPI or "Retina" graphics. I don't have to have this, but I like the hi-res image (and it looks nicer when zoomed).

When I set the max-width to 150px, I get an image "logo_150x34.png" that is referenced in the output code, and both "logo.png" and "logo_150x34.png" are placed in the output folder. So Flare is taking it upon itself to resize my graphic to the max size that I want displayed. I can go into the generated code and edit out the resized image, or I can omit the max-width in the CSS and insert it post-build, but these aren't great options.
Don Johnson
Flare 2017r3 and 2018, Windows 10 Spring 2018 update in a Parallels VM on a 5K iMac running macOS 10.13.4 [as of July 2018]
djohnson
Propeller Head
 
Posts: 34
Joined: Tue May 24, 2011 4:23 pm

Re: Unchecked "Generate resized... images", but it still doe

Postby ericjohnson7 on Tue Mar 21, 2017 9:03 pm

This continues to be an issue in Flare 12 WebHelp. We are using a responsive css "max-width: 80%" and Flare is duplicating our images, renaming them with a dimension and renaming the img html to match the new names.

If this is a feature, it's overkill and needs to have an OFF button. :(

"Generate resized... images" remains unchecked.
ericjohnson7
Propeller Head
 
Posts: 16
Joined: Tue Aug 18, 2015 5:27 pm

Re: Unchecked "Generate resized... images", but it still doe

Postby ricat03 on Thu May 24, 2018 7:45 am

Still seems to be an issue in 2018. Our solution was to have our main CSS not resize for web output. Then have a CSS for post-Flare overrides that has the max-width & max-height we wanted. The HTML5 layout includes a link to that post-Flare overrides CSS. A post-build script then copies the overrides CSS from our network drive into the content/resources/stylesheets folder in the output folder. A hack, for sure, but it works for us until the bug is fixed.
ricat03
Jr. Propeller Head
 
Posts: 1
Joined: Wed May 23, 2018 3:10 pm

Re: Unchecked "Generate resized... images", but it still doe

Postby zithir on Wed Oct 10, 2018 8:10 am

This issue is still persistent, in our case we were using a GIF which became static after regeneration by Flare, which was obviously undesired. We have discovered that this behavior is only present when the resizing of image is done via a CSS files. In such case, the image is regenerated regardless of whether the "Generate resized... images" is checked or not. However when resizing the image locally using the "style" attribute in html, it behaves as it should - when the box is checked, it generates a new image, but when it is unchecked the original is used. This solution worked for us since we have encountered this issue only in this particular situtation. A global workaround might be for example a Javascript code which adds the "style" atribute tho all <img> elements once the page loads.
zithir
Jr. Propeller Head
 
Posts: 1
Joined: Wed Oct 10, 2018 3:08 am


Return to Web-based Outputs

Who is online

Users browsing this forum: Google [Bot] and 4 guests