Hey!
True, I forgot about that. To add the custom image sizes (resp. the ones I need) to the dropdown, I added the following lines to my functions file:
function add_custom_image_sizes($sizes) {
return array_merge( $sizes, array(
'blogimage' => __('Blog'),
'blogimagehalf' => __('Blog (halfwidth)'),
'portfolioimage' => __('Portfolio'),
'portfolioimagehalf' => __('Portfolio (halfwidth)')
) );
}
add_filter('image_size_names_choose', 'add_custom_image_sizes');
These custom sizes are defined as follows:
add_image_size('blogimage', 778, 0);
add_image_size('blogimagehalf', 379, 0);
add_image_size('portfolioimage', 1166, 0);
add_image_size('portfolioimagehalf', 573, 0);
Please let me know if this is of any help.
I have uploaded my theme to my Dropbox. Here’s the link: https://www.dropbox.com/s/usm9pgbuvic1xwi/fabians2015.zip?dl=0
(please let me know when you have downloaded the zip archive, so I can delete it afterwards.)
Best regards,
Fabian