I would like to resize all uploaded media files and future upload media to set with fixed height and width , Is there any option to manage that through out from css code
Hi,
Which theme are you using?
About your question, you can try the following code:
- Control size and maintain proportion :
img { /*Class or Id of image*/ height: auto; width: auto; max-width: 300px; max-height: 300px; }
Hope this helps !
thanks , I am using dwfocus
Yep this will works fine, How can auto resize all the uploaded image to a fixed widht and height , Since this can be adjusted in frontend when using this through custom css code Is there any other way to handle this?
If you use the DW Focus theme, you can install the Regenerate Thumbnails plugin: https://wordpress.org/plugins/regenerate-thumbnails/
Also, If you want, you can find the plugin here: https://wordpress.org/plugins/imsanity/
Hope this helps !
Please login or Register to submit your answer