jamesbriggs
Forum Replies Created
-
Forum: Plugins
In reply to: [Coupons & Add to Cart by URL Links for WooCommerce] How to set up?Thanks for the quick reply!
It doesn’t seem to work.. No message saying coupon code applied and doesn’t show in cart/checkout either.
Any ideas?
@stoyangeorgiev Many thanks again. Will try the documentation and a developer as a last resort.
Seems like an annoying thing to need a developer for..
Also I’ve tried uploading via ftp
To elaborate..
add_filter(‘jpeg_quality’, function($arg){
return 100;
});Is not ‘working’ but is kind of working.. If I set the return value to 10 and upload an image, the quality is visibly worse. However, the file is exactly the same size. If I use the browser to view full size original image from my pc and put the image uploaded when the return value is 100, the quality is worse, as mentioned above.
So, it’s changing the compression amount as it’s different with 10/100, but 100 still does not keep image quality at original.
I don’t have any plugins interfering, have tried de activating all plugins and tested on a fresh install, behaviour is all the same.
Hi Stoyan,
Many thanks for getting back to me.
I had a feeling PNG to webP would not be ideal/standard practice. Is there any way I can increase the limit to 700 or 800kb just to experiment, or is there a high chance something could go wrong doing that?
I understand the following is now outside of the scope of your support, but since I’m so stuck and you’ve answered I have to see if you can help me some more on it ?? If not then again, just ignore this section.
Yes, I understand WordPress is compressing and re sizing the images. It makes a few copies for thumbnails and a couple of other sizes. I have noticed that in the uploads folder, the copies are stored in addition to the original image. I can access the original, high quality image in the folder (I dropship, so I take images that have already been optimized for the web and put them on my site. So it wouldn’t be a problem, skipping out on this optimization altogether).
I don’t know if a good solution would be to just get WordPress to only grab the original image, not the optimized version. But, because of course it only has the full size original, the thumbnail and other sizes would not be displayed which in some cases obviously I want them to be. So that’s maybe not the best option.
So, I guess the custom function option is probably the way forward… I don’t suppose you might know what function I could use? I don’t know php very well at all, I’ve tried adding:add_filter(‘jpeg_quality’, function($arg){
return 100;
});to my functions.php file but this has had no effect.
I didn’t think I’d encounter such a problem. It’s quite annoying really. Anyway, any help you could give me would be amazing.
Blagodarya mnogo!
Just a shot in the dark, but maybe you can help me with this unrelated query. Ignore this part if not…
I am trying to upload jpeg images to wordpress without them being converted.. Which is why I am experimenting the png in the first place, as wordpress will not reduce the size and quality of it (I have turned off image optimization in sg optimizer).
Any time I upload a jpg, I can instantly view it side by side with the image before upload, and the quality is higher and file size is higher, so wordpress is compressing it. I don’t know how to change this, and it’s very annoying.Any ideas?
I made a mistake. Sorry. Should be:
**
I take image 1
image 1 is jpegupload image 1 > view image on website > save image from website to test what file type it downloads as > downloads as webp > no problem
convert image 1 to png > take same image, but now ..png > upload to website > view image on website > download image > downloads as png
**So, conversion to webp successful on a jpeg but then when it’s png, it doesn’t convert.
Forum: Plugins
In reply to: [WooCommerce] Update file overridesMuch appreciated.
Forum: Plugins
In reply to: [WooCommerce] Update file overrides@stuartduff many thanks for your reply.
So are you suggesting I just add custom css to a blank style sheet and link to this?
From my understanding only template files can be directly overwritten through the child theme, and these css files are not templates..
Or will just putting these customisations in the style.css file in my child theme do the trick?