Slider Image Resize?
Basically there’s two things that you need to do:
1. Define a new thumbnail size using the
add_image_size()function inside your (child theme’s)
2. Modify the theme’s
functions.phpfile to use the new thumbnail size. In version 1.1.2, modify line 944 to look like this:
<?php echo graphene_get_slider_image($post->ID, array(150, 150, true)); ?>
Change the values in the
array(150, 150, true)part to reflect the width and height of the new image size that you have created in Step 1.
When you do this, all new pictures uploaded will have a thumbnail created according to the new image size you defined, in addition to the WordPress’ default image sizes, which you can then use as the size for the image slider.
Syahir, I’ve already tried lots of things but I can’t seem to make this work. The image is still the same size. Please help. Can you please let me know the exact details for your Step 1 above? What is the exact code for that? And where should that code be placed, in what line number? Or if you have a simpler solution than this, please let me know. Really need this. Thanks.
Hi Carmela Marie
Remember to add URL/link to Your site.
That aside, here goes:
Then again, I can help You with Child Theme 🙂
Both ways (Syahir’s and yours) are not working for me. 🙁 I’ve already tried lots of ways to implement Syahir’s solution but it still doesn’t work. I’ve tried yours too, but no success for me. 🙁 I’m using Graphene 1.1.2. The url for my site is http://dev.greenbeltchapel.org/ . Sorry if I didn’t give this url before, as it’s still a bit messy and boring as I’m not yet done working on the site. Please help. Thanks.
When Im looking at Your site there is some Changes made in The Themes Core files. If You really want to Control this Project down the line, my first advice must be to make The Graphene Child Theme with the changes You have made in style.css and maybe other files. Take Your time & read (only) the first post with links here: https://forum.graphene-theme.com/topic/how-to-modify-the-theme-using-a-child-theme#post-54
Then come back with any Question 🙂
You must be logged in to reply to this topic.