Forum Replies Created
-
AuthorPosts
-
I am also looking for a way to pull pages into a masonry grid,
I think what we would like is to see rather than having to hack anything is for enfold devs to add Pages as on of the content sources provided in the content elements along with the other taxonomies. Pages do have the option to add a featured image so I see no reason to leave them out as a content
source or is there another reason that pages are left out of them?Hi guys,
this enfold audio widget continues looping when set to stop issue is still present
I can confirm it still exists in safari 13.11 (July 2020) with enfold 4.7.5- This reply was modified 4 years, 4 months ago by gameznet.
hello,
this audio bug is still present , audio still loops despite having it set to stop.
is there no update for this audio bug over 1 year since this was brought to the dev’s attention?March 27, 2019 at 2:41 pm in reply to: Please Stop Enfold Generating So Many Images Sizes for Every Image #1083633Hi Ismael,
I understand your thinking it shouldn’t spike CPU and if it does then it should only be when saving the post for the first time once and for the most part that is true, however if you are creating many posts then a host sees spikes and gets upset .
Then they block the account until you contact them so it causes issues and they dont care that it is wordpress default behaviour causing the cpu spikes.The fact is that default wordpress has only 4 image sizes so default wordpress with only 4 image sizes doesn’t cause enough impact for it to cause too much pain, Enfold however kicks that up to 12+ image sizes “tripling” the impact of this problem and some of those added image sizes are HUGE,
This alone can be the kiss of death on shared hosting and gets worse when creating many new posts or importing bulk posts.When themes add additional image sizes without considering the problem that the default core behaviour is too generate all images sizes for all images uploaded it makes a bad behaviour much worse.
I use enfold for client sites and this “too many images” issue is a constant cause of problems so I am asking for it to be addressed and considered as a real issue by Enfold Dev and in fact all theme devs. and rather than just saying it is a core wordpress behaviour and resorting to child themes and hacks and third party plugins perhaps as theme developers try to mitigate the issue as it currently stands to best of the themes ability with some controls and then also go to wordpress devs/support directly as popular theme developers and express to them why this behaviour is a bad core behaviour and push for them to address it as you guys have more weight than some unknown user.
Currently when people are asking about issues to do with images the common suggestions and replies are to use a child theme and make some change to either the image sizes by editing theme functions or adding css and then use the regenerate thumbs plugin or simple image sizes plugin to regenerate images which will in 90% of cases flatline a shared hosting account even on beefed up servers because those plugins go over all images in a post and generate all sizes at once which is if the issue was saving single posts causes CPU spikes then regenerating all images will definitely crash the server.
So in some cases the solutions offered make the problem worse by generating a massive load of new never to be used images thaat just consume even more hosting space and even further complicate future backups from completing.If a theme is adding additional image sizes can it not somehow switch OFF the additional sizes that are optional or not necessary for default post types in the settings area and then have switches to turn on additional post types if they are going to be used by the user rather than recommending child themes and functions hacking and adding third party plugins ?
Why not take at least some responsibility as a theme and disable the uncommon unused and obscure sizes with some simple toggles within the theme settings area so that they are switched off by default and the user has to switch them on IF they are going to use those additional sizes.
for instance Enfold adds sizes for portfolio, if I am not a photography site I probably wont have a portfolio section and I am likely to never use portfolio image sizes so I don’t need the portfolio size images generated . Instead of generating them all by default when a post is created why not have them disabled by default and add a checkbox in theme settings to switch that size on if I intend to use the portfolio post types and want them on or have it off until I actually create a portfolio post type. Thus reducing/mitigating the potential issue somewhat. Same If I don’t have woocommerce installed – don’t have the shop sizes auto generated from images in a standard page or post.
Start off with light and fast in mind and add those heavier additional images only if they are needed and will actuality be used.
this would help mitigate the problem somewhat..
also if it is default wordpress behaviour exisits but is a bad behaviour then building a theme around that behaviour is compounding an existing bad behaviour, wouldn’t it carry more weight if popular theme devs such as kriesi aproached and worked with wordpress devs to address the potential for these problems instead of ignoring the issues. Perhaps wordpress core devs arent aware of if being a big issue because they only have 4 image sizes and any unwanted behaviour is not so bad in default themes that only use those sizes .. So theme devs that add sizes would be the best people to address the issue to the core devs aren’t they?I cannot be the only wordpress user that sees how wasteful and disruptive it is to generate EVERY image size for EVERY image that gets uploaded.
March 25, 2019 at 3:06 am in reply to: Problem with Enfold Image Sizes and Woocommerce Widgets and Thumbs #1082471so no help on this?
March 25, 2019 at 3:02 am in reply to: Please Stop Enfold Generating So Many Images Sizes for Every Image #1082469how does switching hosts fix the issue ?
this wasteful activity is occurring by default on all images and post types and not only puts additional strain on the server but bloats the hosting space making backups take longer to complete if you are able to run a backup successfully at all, and due to too many innodes (too many files) 3rd party backup services such as I use provided by managewp simply fail because the uploads directory exceeds capacity of those backup services.
Moving hosting services so that the hosting account can better accommodate the problem instead of asking for core and theme devs to please understand this behaviour is hurting smaller hosting accounts and is just wasteful behaviour that can only lead to more trouble and support issues than are necessary seems better than just spending more money or larger hosting and larger backup plans.Too many images being generated causes many performance problems on top of the obvious annoying issue of wasted hosting space and painful backing up and over time the issue gets worse as more images are constantly added into the equation so you will have to constantly upgrade hosting and backup plans as it gets more bloated.
The problem will become very evident if you ever need to move your site and have to transfer a massive uploads directory so you decide to reduce it in size and discover you have 20x versions of every image found in every post type you have made in the past 5 years or more (nightmare)..
I think the only answer is for theme developers whos themes add additional image sizes to wordpress to put some controls into the theme settings regarding their additiaonl image sizes and rather than have all images being generated for all post types it would be better to have by default NO images generated at all other than the featured “thumbnail” and any sizes that specific post type requires and any other image sizes are only generated depending on if they are needed in that Specific Post Type..
EG: woocommerce product page only generates the woocommerce image sizes required and does NOT generate portfolio sizes (for instance)
AND a portfolio post type only generates the Portfolio size images and does not generate woocommerce size images… etc etc
AND there needs to be prevention to only create those sizes for the first featured image NOT for image 2,3,4,5,6,7 etcAnd for other sizes let the user have some control in the theme settings area to simply switch them on and off
so they are more aware of the image sizes taking up space or not.
additional control allowing us to not only switch a specific size off but also to delete all previously generated images of that specific size would be helpful also. eg if I have NO portfolio pages, let me delete all portfolio image sizes that have previoously been generated without having to use third party plugins that will generate EVERY THUMBNAIL at EVERY SIZE and crash a server.Again though there are 3 important questions here that first need to be answered
1) why are all image sizes for all post types being generated instead of just those sizes required for the specific post type ?
2) Why are additional images in the body of a post having all additional image sizes generated when they wont ever be called for ?and the big one : Can the theme settings provide us with control over this behaviour?
March 21, 2019 at 10:33 pm in reply to: Please Stop Enfold Generating So Many Images Sizes for Every Image #1081586ok fair enough ..still extremely wasteful but I get it when it comes to the main image.
I also realise I can just set all the image sizes I dont want generated to 0 x 0 now, which is fine and gets me out of some of the excesssive images issue..The real main problem however is that it is generating all images sizes for EVERY image in a post and not just the primary image.
I have been importing products into woocomerce and some of them can have 10 images in the post so just saving one product with that many images can eat a shared servers CPU up because it is generating 15 image sizes for 10 images = 150 images..
importing 500 products is an impossibility with that happening. regenerating thumbnails also spikes a server until the process completes and with image heavy products and posts it is impossible to use because it chews up 100% CPU until the process completes which on hostgator shared servers just gets booted..I do want additional images for the first image, I do want to use the right size images for widgets, thumbnails etc…
However we only need the various thumbnails for the first primary image that is going to be used in thumbnail and widget locations however wordpress does this activity for each and every image in a post not just the primary image.I only want to stop all images being generated for the additional 2nd, 3rd, 4th images etc
how can we stop that wasteful behaviour?March 20, 2019 at 1:57 am in reply to: Please Stop Enfold Generating So Many Images Sizes for Every Image #1080583Bump
hello, is anyone here?March 20, 2019 at 1:55 am in reply to: Problem with Enfold Image Sizes and Woocommerce Widgets and Thumbs #1080582BUMP*
March 18, 2019 at 6:38 pm in reply to: Problem with Enfold Image Sizes and Woocommerce Widgets and Thumbs #1080006here are some screenshots demonstrating the issue on the homepage for the Recently viewed products widget and the main product catalog images.. expected sizes are 300×300 for catalog and 100×100 for widget thumbnails.. as shown they are various sizes.
next is images displayed in the footer area that are using the new products and top rated widgets
again note images of various sizes and none 100×100
here is the child theme quick css.. (was also present in main theme)
here is child modified functions
here is woocommerce customizer settings
and finally here are image settings according to simple image sizes plugin (yes after they have been regenerated)
thanks
March 18, 2019 at 4:00 pm in reply to: Please Stop Enfold Generating So Many Images Sizes for Every Image #1079923Actually this issue I have tried to deal with since 2013
I found old posts of mine in forums trying to get help with the same exact problem and still there is no solution built into wordpress ,woocomerce or premium themes such as enfold..
its a totally ignored problem.
maybe try adding some on/off options for media in enfold admin would help a bit?For Now while I keep waiting and hoping for wordpress core, woocomerrce and theme devs to wake up and recognise that it is in fact a real harmful and disruptive issue I will have to again resort to trying out external plugins and hacks to solve it.
However if someone here does know of a way to simply fix it please do explain to me what is the best solution keeping in mind that the goal is to speed up post saving time at first creation, REDUCE server loads , reduce CPU ,reduce innodes and REDUCE uploads Directory size so that backup are not also painfully slow to perform and download .For the time being I have decided to try out “stop generating image sizes”: https://wordpress.org/plugins/image-sizes/#description
and use that in combination with photon from jetpack which apparently does attempt to deal with this issue although I really did NOT want to use jetpack as it slows down wordpress a lot and consumes resources in other areas so it is a trade off ..
However I currently do not know of what else I can do to solve this extremely annoying problem of too many images killing server space, inodes and crashing servers during post creation.Thank you so much Ismael!
We will use the plugin that will set the first image used in a post as the feature image, the code you gave stops the feature image from displaying in the post so we don’t get a double up while still allowing the feature image to be displayed in all our post sliders.
Thank you very much for all your time and help.
CheersThanks for the quick reply Devin
We have used a similar plugin which was great at selecting the first image in our posts and setting it as the featured image that could be used in the post sliders. Trouble is that it creates a double up of the images on the post page! I’m sure you understand this just looks stupid.
If we remove the image from the post it doesn’t show up in RSS feed and shares with social media sites – so not an ideal solution at all.
With this in mind – is there a way to maybe turn off the feature image from displaying in the post itself? This would mean we can have it as a feature image that can be displayed in the post slider and the same image actually in a post without it displaying twice.
Any suggestions would be great.
Thanks Devin
We have got around it for now by increasing memory limit to 500mb and CPU to 50% of 2 cores. Everything now loads normally for now but its still using up to 250mb so we will keep looking into it. -
AuthorPosts