Forum Replies Created
-
AuthorPosts
-
I was trying to figure out which of the image files created is used as featured image by the posts slider and other elements displaying a featured image. I commented out the 845×684 in the filter but it still is displaying an image with inconsistent aspect ratio I think as a featured image in the:
posts slider (bottom of page here) https://bitly.cx/bpfGm
category pages https://bitly.cx/vSNm3
blog post page https://bitly.cx/D8QU
tag pages https://bitly.cx/UFSc
I see the post slider has a Preview Image Size option but was unsuccessful using it so far.
Your input is appreciated on this as I would like to filter out and remove 845×684 images if they are not solving this, and set the site to automatically create/crop the original image so all the above mentioned pages/modules display uniform featured image size / aspect ratio . Is that possible?
ThanksThanks
I noticed that I had issues with posts featured image on post silder. Seems like it needs to be a specific size in order to be display properly on the slider. Which size is that?Thank you
So regardless of the theme WP will create 14 duplicates all at 100% quality which may inflate the original file size although file dimensions are smaller?I applied the filters and they do prevent most of the duplicates and control their quality hence file size. The duplicates now are:
300×225
80×80
768×576 (is this a widget?)
36×36I am still not clear if the absence of this duplicates will create problems in serving the content to different devices.
Thanks
I have about 120 images in the media library of about 65 kb each. Should be about 8MB total. But my content>uploads directory is now over 600MB. If I use the filter code to prevent further duplication of images, how can I tell which duplicates should not be removed as they are needed to properly serve content to all devices?Is this good practice for the theme to create duplicates of an original image of 1000px x 750px at 65kb duplicated to 845px x 684px at 330kb? When is it considered good practice to serve 330kb images?
I will also need to remove the duplicates from the server to clear space. I see this option is available only at the premium versions of some plugins. Is there a way to remove the duplicates, their meta and db entries?
in which cases image duplicates of 330kb are served instead of the 60kb original?
September 18, 2024 at 7:17 pm in reply to: Can’t get the Enter a valid Envato private token to validate #1467356closed thread pls
September 18, 2024 at 4:44 pm in reply to: Can’t get the Enter a valid Envato private token to validate #1467339Thanks. That worked.
I have 3 license. do I generate a token for each in the same manner?September 17, 2024 at 11:27 pm in reply to: Can’t get the Enter a valid Envato private token to validate #1467241still getting:
Last time we checked the token we were not able to connected to Envato:Purchases could not be accessed
Username could not be accessed (needed for your information only)
E-Mail could not be accessed (needed for your information only)
Following errors occurred:Purchases: Your private token is invalid.
username Your private token is invalid.
email Your private token is invalid.
Purchases: A problem occurred accessing your purchases. Unable to check for updates.what’s the problem?
September 17, 2024 at 11:21 pm in reply to: Can’t get the Enter a valid Envato private token to validate #1467240I did:
Verify your Token is not missing any characters when you copy it from the source. Copied pasted from the ENvanto license certificate and purchase code
Go to Envato account and recheck your token permission. Not sure where in my Envanto account are my token permissions. I downloaded a document with my license certificate and purchase codeThank you very much!
Mobile is now also center aligned.Thank you Mike
I did try a few css code snippets to center align the grid but they did not do it and I have commented them out. Is this what you mean by “It looks like you tried to modify the width of the items and the margin in between” otherwise where do you see alignment was attempted?
The first code you offered works well on large screens but on a mobile the margins are still not equal left and right.
I do wish to display three products per row.Thank you. removing sorting options with the PHP code worked well.
Will the WooCommerce Product Table plugin which also allows removal of sorting options conflict with the above removal code?The same issue exists on the product category pages – the grid is not centered on the page
the shop catalogue grid is not centered due to a these issue or woocommerce issue? Thank you
been searching for a solution to that but nothing yet. any idea if this is possible? thanks
That fixed it. Thank you
for some reason no files are deleted by Regenerate Thumbnails Advanced
used the same plugin options
- This reply was modified 10 months, 3 weeks ago by Yory.
Of course the snippet will not delete the 1000s of files already created and the regenerate-thumbnails-advanced does not delete anything it seems although the Advanced options for Delete Unselected Thumbnails and Remove non-existent images.
what does recalculate mean? Selecting the desired file dimensions to regenerate by the plugin?
WIll this potentially contradict the snippet code that restricts regeneration of many image sizes?sure
I created a tools>export all content xml
I suppose it will also import all the superfluous image files in the exported content, 10-12 dimension versions created by wp and enfold, which may be not in use.Isn’t the code supposed to stop the automatic creation of multiple images some inflated in file size considerably?
these regenrate plugins will do that or will they generate more images or both?Ive used this code but still many images generated
// Disable loads of Enfold & WP image sizes upon upload // do image sizes manually, double-size with high compression for retina screens // use Photoshop to set exact double size and quality between Q30 and Q40 add_action('init', 'remove_enfold_image_sizes'); function remove_enfold_image_sizes() { // do NOT remove widget size, is used in backend portfolio items! // remove_image_size('widget'); remove_image_size('square'); remove_image_size('featured'); remove_image_size('featured_large'); remove_image_size('portfolio'); remove_image_size('portfolio_small'); remove_image_size('gallery'); remove_image_size('magazine'); remove_image_size('masonry'); remove_image_size('entry_without_sidebar'); remove_image_size('entry_with_sidebar'); remove_image_size('shop_thumbnail'); remove_image_size('shop_catalog'); remove_image_size('shop_single'); remove_image_size('shop_gallery_thumbnail'); } // Remove unneeded WP image sizes add_filter( 'intermediate_image_sizes_advanced', 'prefix_remove_default_images' ); // Remove default image sizes here. function prefix_remove_default_images( $sizes ) { // do NOT remove small and medium sizes, they are used in backend Media Library! // unset( $sizes['small']); // 150px // unset( $sizes['medium']); // 300px unset( $sizes['large']); // 1024px unset( $sizes['medium_large']); // 768px return $sizes; }
- This reply was modified 11 months ago by Yory.
so for the general styling font setting to have priority the advanced styling should display default in font family?
i am trying different fonts.
what needs to be the settings in advanced styling for the general styling to have a the priority?this is from logs directory on the server
For some reason a log is not generated when wp-config file has (‘WP_DEBUG_LOG’, true);Thanks
I’m not sure why my selections here are not applied
can I do that with
define (‘WP_DEBUG_LOG’, true);
in wp-config ?or paste the content of the recent file I see in domain > logs on the server ?
in General styling > Font my selections were not applied. All font selections are in Advanced styling?
Thanks
that did it for the left hand side gap on desktop on the gallery.Yes! that did it
Thank you
Closed -
AuthorPosts