Create fixed thumbnail dimensions for images with different sizes

I want to set up thumbnails with a set dimensions size (width & height) BUT not have to resize any images. I also want to retain the dimensions and reflect on all devices.

Any help would be appreciated.

Hello @goosingout,

Thanks for writing to us.

In case you want to set the custom image size for the post-featured image I would suggest you please have a look at this article.


Now you need to all the featured images through the dynamic content code {{dc:post:featured_image_id}}
By default, it set the image size as full. You can set the featured image size in the dynamic content {{dc:post:featured_image_id size="medium"}}.

In Pro 4 and Cornerstone 5, we have a way to apply a thumbnail size in some cases but it’s a bit of a workaround.

  • Under preferences, enable the Dev Toolkit.
  • Inspect an Image element and open the console
  • Look for image_source and enter {{dc:post:featured_image_id size="medium"}} That size attribute accepts any thumbnail size and will default to full if not set.

This should work for any of the image controls in the builder but because it is just retrieving the attachment ID you can use it for any inline <img> tags that you add directly to your content.

Hope it helps
Thanks

Thank you for the reply, it helped me further understand it better.

Hey @goosingout,

You’re welcome!

I would like to add another issue I encountered. Can you please do the following on your mobile device?

  1. Go to vipclubcardwp.vipclubcard.com
  2. click to view the menu
  3. Click the “X” to close the menu
  4. Try to scroll down

I noticed that after viewing the menu and then closing it, it will not allow me to scroll up or down anymore.

Can you help?

Hey @goosingout,

You are using an older version of the theme. Please make sure that you have updated to the latest version pro 6.0.5 because that version has the fix for your current issue.

Kindly let us know how it goes.

I did not have an alert notifying me that there was an update to Cornerstone until this morning.

I have installed the update and everything is fine.

Thank you!

You are most welcome, @goosingout.

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