Image Styles

Where are the image styles in the new Image Element? Thumbnail, Rounded, Circle?

Hi there,

Those options are only available in the classic image element because those styles could be achieved using the options available to the V2 Image element using the padding, border, and the border-radius option.

But you can also make use of the following classes:

x-img-thumbnail
x-img-rounded
x-img-circle

in the class field of the v2 image element in the customize option.

Oh, I see. The inner border radius set to 10 gives me a circle. Thanks!

Related general question- there only 25 V2 Elements vs 43 Classic Elements. Can the V2 Elements achieve everything the Classic elements can? Or are there things we still need the Classic Elements for?

Hello there,

That’s no problem at all! :slight_smile:

Currently the V2 Elements cannot achieve everything the classic elements can

There are still a few minor things you will still need to use the classic elements for

I hope this helps.

Cool. Thanks. Is there a blog post or Apex article reviewing these circumstances?

Hi there,

You mean a knowledge base? Please check this https://theme.co/apex/forum/t/elements-using-partials/213. Using classic element is still recommended if you wish to use cornerstone the same it was before.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.