-
AuthorPosts
-
November 21, 2013 at 6:34 pm #191550
Hi
i need to know where in my php i can define the size for an post-image used in my blog-single.
I need to change it from the standard 180x180px you used to 300x300px.regards axel
November 22, 2013 at 5:55 pm #191919Hey kaMai!
In WordPress dashboard please go to Appearance > Editor and open Functions.php file and find
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogsand adjust as desired
Cheers!
YigitNovember 22, 2013 at 8:21 pm #192043November 22, 2013 at 9:08 pm #192053Hi!
You can change the sizes using custom CSS as well but then your images would be blurry. Then you can regenerate them using http://wordpress.org/plugins/regenerate-thumbnails/
Cheers!
YigitNovember 22, 2013 at 9:16 pm #192056I do not talk about scaling images by HTML /CSS!!
I know how to regenerate!My question wass:”Where in your PHP do i change the size of the images for blogposts (single-view) so that the images in archive / index are not influenced?”
Maybe you have alook here:
https://kriesi.at/support/topic/blog-views-why-so-complicate/-
This reply was modified 11 years, 11 months ago by
kaMai.
November 23, 2013 at 12:16 am #192152Hi!
I am trying to help you here and really do not understand why are you getting angry with me. These are the steps you should follow in order to change the size from 180x180px to 300x300px
1) Please make the changes i posted in my first post ( https://kriesi.at/support/topic/define-image-size-for-blogposts/#post-191919 )
2) You said you know how to regenerate, but in case you have not tried, you can try this plugin i posted in my second post ( https://kriesi.at/support/topic/define-image-size-for-blogposts/#post-192053 )
3) Then you can add following code to Quick CSS in Enfold theme options under Styling tab#top.single-post .fullsize .single-small.with-slider .blog-meta { width: 300px; } .single-post .single-small.with-slider .small-preview { width: 300px; height: 300px; }And that is it, your image size should be 300x300px :)
Best regards,
Yigit -
This reply was modified 11 years, 11 months ago by
-
AuthorPosts
- The topic ‘Define image size for blogposts’ is closed to new replies.
