[SOLVED] Images not scaled proportionally in news template

More
9 years 1 month ago #57585 by ggppdk
Hello

also change (twice inside same file)
Code:
$img_limit_dims=...
to
Code:
$img_limit_dims=" max-width:100%; max-height:100%;";


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #57603 by grabit
I applied those changes and now everything is working fine (resize and thumbnails).

One last question, when the module is calculation one thumbnail for the first time (one who was not already present in images/storie/flexicontent), it seems that is is using a value of 80x80 instead the one mentioned in the image field.

When the file was already present there no problem.

An Apple a days keeps the doctor away

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #57646 by ggppdk
Hello

- the code makes use of the width/height parameters, even if no resizing is configured

this is related to our above discussion, but it is another / different bug




We can solve this by setting a flag inside the image resizing / selection code to indicate if resizing was done,
or even better set to object properties to indicate the actual width / height of the image, even if no resizing was done
here is a new issue in our tracker:
github.com/FLEXIcontent/flexicontent-cck/issues/308


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.340 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline