[SOLVED] Images not scaled proportionally in news template

More
9 years 1 month ago #57543 by ggppdk
Hello

there is no bug , the images are set to
width: 100%;
height: auto;

but they will not scale past the width limit that you have configured
- just configure large enough thumbnails ! with large enough width

the width that you configure is used as max-width ! to avoid making images looking ugly


-- 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 #57552 by grabit
Ok I understand but the problem is that some images are in landscape and others in portrait mode so I can't have the vertical image too large and the portrait ones too hight.

In Category blog it is working like that I limit size using the thumbnails and they are not resized but in the module I have to think differently?

I think this is not coherent, the same behavior should be applied to both systems.

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 #57557 by ggppdk
Hello

- you only need to set a larger width

just increase thumbnail width and then limit the height to some amount, will enabling cropping


-- 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 #57559 by grabit
I need resizing not cropping. And in that case the images are scaled not proportionally.

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 #57563 by ggppdk
Hello

please think of it:
-- when using RESIZING instead of cropping the image will stop when any of the -2- dimensions is reached

otherwise if width will continue scaling then height will look compressed !


So decide what you want to do
- either allow height to be larger
- or do cropping


-- 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 - 9 years 1 month ago #57574 by grabit
Last edit: 9 years 1 month ago by grabit. Reason: deleted because wrong pictures

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.336 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