Overriding Maximum Image Size for Thumbnail Pop-ups

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
dmiller
Jr. Propeller Head
Posts: 9
Joined: Mon Aug 06, 2018 11:00 am

Overriding Maximum Image Size for Thumbnail Pop-ups

Post by dmiller »

Hello,

Long time reader first time poster. I'm having a problem that I suspect has an obvious workaround, but trial and error isn't revealing any answers. I'm using Flare 2018.

I have a project for which I want the Max width to be 500px for embedded images, but unlimited size for the pop-up from a thumbnail. The project will have a combo of both static and pop-up images, mostly static.

At the stylesheet level, I've tried different combinations of settings for both img and img.Thumbnail. At the individual image level, I've tried overriding the max width, but the pop-up is still constrained to the setting Max width for img.

Apologies is the solution is super obvious. I've searched around here and haven't seen anything to address this.

Thanks so much in advance!
AlexFox
Sr. Propeller Head
Posts: 149
Joined: Thu Oct 19, 2017 1:56 am

Re: Overriding Maximum Image Size for Thumbnail Pop-ups

Post by AlexFox »

Welcome to the forums!

Can you try the following and see if it works for you?

Code: Select all

img.Thumbnail
{
	max-width: 500px;
	mc-thumbnail: popup;
	mc-thumbnail-max-width: 500px;
	mc-thumbnail-max-height: auto;
	mc-popup-height: auto;
	mc-popup-width: 100vw;
}
NorthEast
Master Propellus Maximus
Posts: 6359
Joined: Mon Mar 05, 2007 8:33 am

Re: Overriding Maximum Image Size for Thumbnail Pop-ups

Post by NorthEast »

Do you use a class for the embedded images? e.g.

Code: Select all

img.embedded
{
   max-width: 500px;
}
paintedturtle
Propeller Head
Posts: 88
Joined: Wed May 25, 2016 3:35 pm

Re: Overriding Maximum Image Size for Thumbnail Pop-ups

Post by paintedturtle »

Thanks Dave and Alex, these comments helped me 4 years into the future! I want a "large" thumbnail with a larger popup and this worked, I tweaked it to 600px. 8)
Technical Writer using and experimenting with Flare version 12.0.5991.
Post Reply