Hi, I installed on my website the Karma Theme and I see that there are only widescreen or portrait frames. How can I modify them in order to obtain square image frames?
Thanks!
Max
p.s.
I can provide you the Karma theme, but the zip folder is 41 Mb: should I upload it into a post?
Gabriel Reguly answers:
Hi maxmazzoni,
Do you mean the images shown here http://themes.truethemes.net/Karma/1-column-portraits and here http://themes.truethemes.net/Karma/portfolio/1-column ?
That is quite complex, you will need to change this image http://themes.truethemes.net/Karma/wp-content/themes/Karma/images/_global/global-sprite.png and some code.
Can you provide us with the full theme?
Regards,
Gabriel
maxmazzoni comments:
Hi Gabriel,
I mean the images shown here http://themes.truethemes.net/Karma/portfolio/4-column and here http://themes.truethemes.net/Karma/portfolio/3-column .
Another problem is that the images I upload are trimmed by default in different formats but the square format I need.
I do not know if I can provide you with the full theme, maybe the license does not permit it.
Thanks.
Best regards,
Max
Gabriel Reguly comments:
Hi Max,
Unfortunately without the theme files there is not much that can be done.
Anyway, it does look like that there is no square images: [[LINK href="http://themes.truethemes.net/Karma/wp-content/themes/Karma/images/_global/img-zoom-1.png"]]1[[/LINK]], [[LINK href="http://themes.truethemes.net/Karma/wp-content/themes/Karma/images/_global/img-zoom-2.png"]]2[[/LINK]], [[LINK href="http://themes.truethemes.net/Karma/wp-content/themes/Karma/images/_global/img-zoom-3.png"]]3[[/LINK]] & [[LINK href="http://themes.truethemes.net/Karma/wp-content/themes/Karma/images/_global/img-zoom-4.png"]]4[[/LINK]]
Regards,
Gabriel
maxmazzoni comments:
Hi Gabriel,
I think that providing you the Karma theme is all right, since it was the TrueThemes helpdesk that recommended to check out WP Questions.
The zip folder is 41 Mb: should I upload it into a post?
Thanks,
Best wishes
Max
Gabriel Reguly comments:
Hi Max,
You can upload it directly into my server
ftp.ppgr.com.br
user: [email protected]
password:wpquestions
Regards,
Gabriel
maxmazzoni comments:
Hi Gabriel,
I have just uploaded the Karma into your server.
Best wishes
Max
Gabriel Reguly comments:
Hi Max,
Ok, I'll have a look tomorrow.
Please click at [[LINK href="http://wpquestions.com/question/extend/id/4186"]]Extend Question by 1 Day?
[[/LINK]]
Regards,
Gabriel
Gabriel Reguly comments:
Hi Max,
I had a go today, please have a look at [[LINK href="http://wpquestions.ppgr.com.br/?page_id=2"]]http://wpquestions.ppgr.com.br/?page_id=2[[/LINK]]
You need to tell me what size you want the squared images, those are 275px.
Regards,
Gabriel
maxmazzoni comments:
Hi Gabriel,
275px is all right. Very good, thanks.
Best wishes
Max
maxmazzoni comments:
Hi Gabriel,
since it would be good for me to have also the vertical frames in slightly different dimensions (I have to insert some covers that are 275x367px), I wonder if it would be possible to add this task to my existing question, adding more money to prize.
Otherwise let me know if it is better to post a new question.
Best wishes
Max
Gabriel Reguly comments:
Hi Max,
Yes, I can do that for you too.
Would you mind adding $30 to the question?
Regards,
Gabriel
maxmazzoni comments:
Hi Gabriel,
it's all right for me. I will do it immediately.
Best wishes,
Max
Gabriel Reguly comments:
Hi Max,
Thanks for the prize raise.
Please find the zip file with the changes at this link: [[LINK href="http://ppgr.com.br/karma/"]]http://ppgr.com.br/karma/[[/LINK]]
If you find it all ok, please vote for me.
Regards,
Gabriel
Gabriel Reguly comments:
Hi Max,
I forgot to tell you about the new sizes for the shortcodes :-(
portrait_square_thumb
portrait_square_full
portrait_2_thumb
portrait_2_full
Regards,
Gabriel
maxmazzoni comments:
Hi Gabriel,
Everything ok, very good job.
Thanks a lot
Best wishes
Max
simco answers:
That requires modifying some code in the functions.php file pertaining to the various image creation functions. I can't name them specifically since I don't have that theme's files. It would be something containing this Wordpress standard function most likely:
<?php add_image_size( $name, $width, $height, $crop ); ?>