Applying styles to images - what do I need to know?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Msquared
Propellus Maximus
Posts: 848
Joined: Mon Aug 06, 2012 10:19 am
Location: Southampton, UK

Applying styles to images - what do I need to know?

Post by Msquared »

I'm a Flare newbie, and in the act of setting up styles to use for my document content.

I've got to images, and it seems that if you insert an image, it is inserted as an <img>, inside a <p>. I've defined a p.Figure style that allows me to make sure that the image lines up with my text, and that there is no page break before the next <p>, which will be the figure caption. But I'm not sure whether I need to define an <img> style too.

It seems that some of the image properties are set when the image is inserted and I can edit these later by right-clicking the image and selecting Edit Properties. But from the right-click, I can also select an image style to apply to the image.

Should I define an image style for my images? Can I use this to override some of the image settings from Edit Properties? What sort of things should I be looking to specify as part of my image style?
Marjorie

My goal in life is to be as good a person as my dogs already think I am.
nickatwork
Sr. Propeller Head
Posts: 457
Joined: Thu Sep 16, 2010 6:31 am
Location: London

Re: Applying styles to images - what do I need to know?

Post by nickatwork »

I only have img styles. It has saved me with setting up thumbnails, pop-ups etc for larger images and border settings etc.
My images dont have specific <p> styles applied. They fall in line with whatever the text above is using.

In short, use img styles. It will help you down the line even if it doesn't today.
Post Reply