phj123
Forum Replies Created
-
Forum: Plugins
In reply to: [Arconix FAQ] PHP errorThank you for this post! most appreciated! Will fix it this way lets hope it will be in the next update.. 🙂
Forum: Plugins
In reply to: [WooCommerce] Images saved without url prefixWow REALLY NICE, Thank you so much!
Haha as you aspect from my reaction, it is definitely working!
😀
Forum: Plugins
In reply to: [WooCommerce] Images saved without url prefixThank you for your reply again it is much appreciated!
Somehow I can’t figure out how to adapt the filter so it will put out absolute URLs.
Do you have an idea how to accomplish this?
Forum: Plugins
In reply to: [WooCommerce] Images saved without url prefixAnd is there a way that you know of to add https:// to WooCommerce responsive archive image URLs?
- This reply was modified 8 years, 4 months ago by phj123.
Forum: Plugins
In reply to: [WooCommerce] Images saved without url prefixI use gravity forms to send the wishlist shortcode within the message, anyway, this was working fine and it has definitely nothing to do with the wishlist plugin or the way I send the message.
Before the update, when all my image URLs did appear absolute there wasn’t a display problem at all.
- This reply was modified 8 years, 4 months ago by phj123.
Forum: Plugins
In reply to: [WooCommerce] Images saved without url prefixUsers can send their wishlist over, now on the main language with relative URLs (some), email clients will not display the images anymore.
So this is why I need to only use absolute image URLs.
Forum: Plugins
In reply to: [WooCommerce] Images saved without url prefixHey Caleb,
Thank you for the reply! Yes, how they show up in the HTML is what I mean.
Is there a way to tell WordPress to output all responsive images URLs in HTML absolute so with https:// prefix.
Now it sometimes does this but sometimes it doesn’t. I just noticed this after the update!
SSL plugins and or mixt content plugins didn’t get the job done, do you have any idea how to accomplish this?
Hi Joris,
Hope you had a great time in Spain 😀
Good news, if you need a beta tester sign me up haha 🙂
Forum: Plugins
In reply to: [Real Time Validation for Gravity Forms] offset on the confirmation anchorWoW Awesome it is working perfectly, Thank you for this update!
A final question, is it also possible to use a rem instead of px offset?
Forum: Plugins
In reply to: [Real Time Validation for Gravity Forms] offset on the confirmation anchorThat sounds great!
Just give any test site a fixed header and you can see this behavior (of course the page has to be longer than the screen, there has to be a scroll to see the behavior)
Can’t wait till the update, this would be a great option! 😀
Forum: Plugins
In reply to: [WooCommerce] Image gallery thumbnails missingYes I know, but I honestly think this is a downgrade as this is forcing big images on gallery thumbnails also a native crop would be a better solution then use css on gallery thumbnails.
There will be a lot of users with warnings about this way of using images on website speed/test tools.
Also, it can indeed down crease site speed!Looking for a way to get the thumbnails and catalog images used separately again.
And get back control over what is cropped an what image isn’t..Forum: Plugins
In reply to: [WooCommerce] Image gallery thumbnails missingYes I know, but I honestly think this is a downgrade as this is forcing big images on gallery thumbnails also a native crop would be a better solution then use css on gallery thumbnails.
There will be a lot of users with warnings about this way of using images on website speed/test tools.
Also, it can indeed down crease site speed!Looking for a way to get the thumbnails and catalog images used separately again.
And get back control over what is cropped an what image isn’t..Forum: Plugins
In reply to: [WooCommerce] Woocommerce 3.3 disable thumbnail_2xI added this to my function.php:
add_action(‘init’, ‘remove_then_add_image_sizes’);
function remove_then_add_image_sizes() {
remove_image_size(‘woocommerce_thumbnail_2x’);
}After this, I saved the woocommerce image sizes within the customizer again but without any effect, the woocommerce_thumbnail_2x image is still loading with the rest of the wordpress responsive images.
How can i it remove from the woocommerce_regenerate_images_intermediate_image_sizes filter?
Thank you for you fast reply 😀
Forum: Plugins
In reply to: [WooCommerce] empty placeholder ??You can add a image to the placeholder/product within the right side of your product page.
You can change the placeholder like this: add this code to your function.php
/**
* Change placeholder.
*/
add_action( ‘init’, ‘custom_fix_thumbnail’ );
function custom_fix_thumbnail() {
add_filter(‘woocommerce_placeholder_img_src’, ‘custom_woocommerce_placeholder_img_src’);
function custom_woocommerce_placeholder_img_src( $src ) {
$src = get_template_directory_uri() . ‘/placeholder.png’;
return $src;
}
}And drop a custom placeholder image in your theme named: placeholder.png
If you want to remove the placeholder add this to your css:
img.woocommerce-placeholder.wp-post-image {
display:none;
}Forum: Plugins
In reply to: [WooCommerce] 3.3 image issueWhy this isn’t working???
/**
* Add Image sizes.
*/
function customize_image_sizes($sizes) {
unset( $sizes[‘thumbnail’]);
unset( $sizes[‘medium’]);
unset( $sizes[‘medium_large’]);
unset( $sizes[‘large’]);
unset( $sizes[‘woocommerce_thumbnail’]);
unset( $sizes[‘woocommerce_thumbnail_2x’]);
unset( $sizes[‘woocommerce_single’]);
unset( $sizes[‘wysija-newsletters-max’]);
return $sizes;
}add_filter(‘intermediate_image_sizes_advanced’, ‘customize_image_sizes’);
add_image_size(‘responsive_small_medium’, 336, 336, false );
add_image_size(‘responsive_medium_large’, 756, 756, false );add_filter( ‘woocommerce_resize_images’,’__return_false’ );
add_filter( ‘woocommerce_background_image_regeneration’,’__return_false’ );/**
* Define image sizes
*/
function yourtheme_woocommerce_image_dimensions() {
$catalog = array(
‘width’ => ’1134’, // px
‘height’ => ’1134’, // px
‘crop’ => 0 // false
);$single = array(
‘width’ => ’504’, // px
‘height’ => ‘504’, // px
‘crop’ => 0 // false
);$thumbnail = array(
‘width’ => ’224’, // px
‘height’ => ’224’, // px
‘crop’ => 1 // true
);// Image sizes
update_option( ‘shop_catalog_image_size’, $catalog ); // Product category thumbs
update_option( ‘shop_single_image_size’, $single ); // Single product image
update_option( ‘shop_thumbnail_image_size’, $thumbnail ); // Image gallery thumbs
}