-
AuthorPosts
-
January 17, 2018 at 5:34 am #898285
Hello,
I would like to create custom image sizes for my pages. I have read this forum link here…
So I know I should make changes to the functions.php
But I would like to know if there is a way to make these changes in my child theme so that if I update Enfold, the changes to the functions.php are not overwritten. Thanks!
Tony
January 18, 2018 at 11:29 pm #899339Hey tonyska,
Please install the plugin called Simple Images and it will help you generate the images as per your needs.
Thank you
Best regards,
BasilisFebruary 8, 2018 at 4:23 am #909550Hi Basilis,
Sorry about the delay in response! The Simple Images plugin is 2 years old and has not been verified as compatible with the current version of WordPress. I do not want to rely on it. Is there a way to control image sizes through the functions?But I guess, more importantly, could you explain how the image sizing works? I have two separate pages, using the same image in a gallery.
In one gallery, I have the photo sized at “Gallery (845×684)” and in the other it is sized at “Portfolio (495×400)”
But when I publish the pages and measure the image in pixels, each one comes out to 665×545!
How does this work, exactly, and how can I get better control over the image sizes that appear on my pages? Thanks!February 8, 2018 at 1:11 pm #909746Hi tonyska,
Basically, the images size are chosen in the component and then the component renders within another component and has different dimensions and so the images scale up or down. So you can see them be of the same size.
Does this make sense?
Best regards,
VictoriaFebruary 8, 2018 at 5:06 pm #909843Hi Victoria! This doesn’t really make much sense to me…what is the point of having different pixel dimensions to choose from, then?
:)
I would really like to understand this process so I can have a little more design control. Thanks!Second question: is there a way to get larger images on the pages I indicated in my post? I would like to use a 2/3 and 1/3 layout, but have an image size of around 1000 x 750 if that’s possible. Is it possible?
Thanks!
Tony
February 9, 2018 at 11:33 am #910201Hi,
But when I publish the pages and measure the image in pixels, each one comes out to 665×545!
That is actually the size of the gallery container, 665×545px. The gallery inherited the width of the parent container, which is the 2/3 column element. The actual size of the image used for the page with the “portfolio” thumbnail selected is 495x400px.
// http://staging.remcopress.com/wp-content/uploads/2013/05/silver-foil-silk03-495×400.jpg
For the page with the “gallery” selected, the image size is 710×575.
// http://staging.remcopress.com/wp-content/uploads/2013/05/silver-foil-silk03-710×575.jpg
Best regards,
IsmaelFebruary 9, 2018 at 5:00 pm #910314Hi Ismael,
Thanks for the explanation.
How can I get the 2/3 image to be bigger? Is it possible to customize the image size and the breakpoints?Thanks!
Tony
February 10, 2018 at 11:09 pm #910668Hi,
You would need to modify the core of the theme and we are afraid that is not so easy to do as it can brake multiple areas.
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.