Image Style to add Screentips

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
Post Reply
rojarani
Propeller Head
Posts: 13
Joined: Thu Jun 21, 2018 4:04 pm

Image Style to add Screentips

Post by rojarani »

Hi All,

I have some 100s of images in my online help and therefore adding a screentip to each of them is a humongous task. Is there a way I can create an image style to address this? Please help.

Thanks,
Rani
NorthEast
Master Propellus Maximus
Posts: 6363
Joined: Mon Mar 05, 2007 8:33 am

Re: Image Style to add Screentips

Post by NorthEast »

Depends what you mean by a "screentip", but you can't apply either alt or title attributes by using a style - they're attributes, not CSS/styles.

If you're applying a generic alt or title tag to all images, why not just use a find and replace?
rojarani
Propeller Head
Posts: 13
Joined: Thu Jun 21, 2018 4:04 pm

Re: Image Style to add Screentips

Post by rojarani »

Dave Lee wrote:Depends what you mean by a "screentip", but you can't apply either alt or title attributes by using a style - they're attributes, not CSS/styles.

If you're applying a generic alt or title tag to all images, why not just use a find and replace?
Dave, I am referring to adding a screen tip text to each and every image in my help, and considering that there are many of them, adding manually is difficult. So checking if there is any smarter way to achieve this? Here is a screen-shot (image properties). To be specific am trying to add "click to zoom" as my screen tip to the images
AddingImage.png
You do not have the required permissions to view the files attached to this post.
NorthEast
Master Propellus Maximus
Posts: 6363
Joined: Mon Mar 05, 2007 8:33 am

Re: Image Style to add Screentips

Post by NorthEast »

Ok, what Flare calls a "screen tip" is a title tag on the image.

So you might be able to use a find and replace - for example:

To add the title for all images:
search for: <img
replace with: <img title="Click to zoom"

To add a title for images with a class of "thumbnail":
search for: class="thumbnail"
replace with: class="thumbnail" title="Click to zoom"

Just remember to back up your project first!
Post Reply