If uploading a big image, WP will decrease the dimension and add -scaled to the file. How can I get what is its max limit? 5000x5000 => it can't be greater than X so WP will make it smaller than X. How can I find the X?
I have hundreds of images in my Media Library. I know there are many plugins that can do Bulk Resize, but all those I've seen only allow you to set a Max Size (you can't enlarge small images, only reduce large images) Is there a way to enlarge images instead? eg. I want to enlarge all my 500 * 500px images to 1000 * 1000px If the above is not possible, then is there a way to 'bulk replace' images …
Microsoft Azure requires that applications utilize two instances across multiple data centers in order to achieve their "high availability" SLA and ensure your sites don't go down for routine maintenance. They even tell you which pairs of data centers will never go for maintenance at the same time. That's all well and good but how would you do this easily in practice for an app like WordPress with a MySQL database on the same VM? I'm no stranger to load …
Our users upload high resolution artwork that we need to protect from theft. The images are resized and watermarked, but it's still trivial for somebody to guess the original URL and gain access to the full resolution image. I'm trying to figure out a solution, the easiest (I think?) being to randomise the filenames. I can randomise filenames on upload using something like: function randomize_uploaded_filename( $filename ) { // Do things... return $filename } add_filter( 'sanitize_file_name', 'randomize_uploaded_filename', 10 ); however …
I've launched quite a big site the other day and I'd like to incorporate a caching plugin. The setup is single-site with some Buddypress features mixed in (for user registration, maps with gpress, having a profile) running on a shared host. My questions are: 1. Which plugin you consider best for caching given this setup and why (if possible)? 2. What are the best practices and steps I should take/consider during the setup to make sure all is working? 3. …
I'd like to insert a large infographics image into a post. The problem is that WordPress scales the image and applies a limit of 393px in my case. When I try to manually increase it, a red exclamation mark shows up, and won't use the value given by me: How to remove that limit?
I am maintaining a multiuser blog site in wordpress cms. I got 30/40 post per day, its mean around 10k post at the end of year. Every post contains a featured image at around 140kb file size. The site still new, a couple of thousand posts are made only. But I checked the 404 report. It's bad, getting around 100 404hit in main domain (https: // www.mysite.com) each day. In total 150hits. Note: I use cloudflare cdn. Why its happening? …
I have 100,000+ registered users on my WooCommerce site. I have a subscription billing that people earn 5 entries each billing with. All users have the ability to earn entries for every $5.00 spent. The entries are stored by contest... (A custom post type) A Single usermeta field containing an array records entry data in the following format. array('CONTEST_ID' => 'ENTRY_COUNT'); or for example array(1302 => 5, 12053 => 25); I want to change this to be queryable in some …
I need to make a large custom customer database and was how to structure it in WP. It will run without woocommerce or anything. The client will not have access to the dashboard. There will be approximately 10,000 customers. The data is rather simple. Each customer needs the following: Name Email Customer ID (not post ID) Also each customer need a transaction history including: Name of the product Date Amount purchased My inital idea was to make a CPT (customer) …
I'm feeding a mobile app from WP. I want the images uploaded to be rescaled like x0.5, x0.3 . add-image-size doesn't give me scaling functionality, only resizing by pixel. Any Idea? thx.
Depending on the current load, Amazon EC2 may spawn multiple server instances of a well visited WordPress website (files are duplicated, while database is the same for all). For this WordPress website I want to enable static page caching. The problem obviously is that almost every caching plugins store the cached within the server instance. If there are multiple instances the cache folder can not be shared on Amazon EC2 (https://serverfault.com/questions/646293/shared-file-systems-between-multiple-aws-ec2-instances). Does anybody have experience with this topic? Is there …
With the new WordPress and it's new features, it seems like WordPress is capable of much more than a simple blog engine. But how well does WordPress scale being used by say 10k -> 100k users per day? With that many users a big part of it will be to have a good cache strategy, but how well is WordPress developed to help, making this easy and give you the control you need. Fx being able to cache part of …
As you can guess from the title, Im looking for a solution that allows me to alter the way Wordpress processes/saves its newly created images according to the media settings in the dashboard. This is very important since I primarily use Wordpress as a way to present portfolio images so they need to maintain the same color profile, etc. as they had when they were first uploaded. The problem is, once an image is resized by wordpress it tends to …
I have a large site that's using WordPress. We have 75,000 pages in the site so far, and it's performing well on the front-end. The issue is that if anyone on our team touches the page editor (wp-admin/edit.php?post_type=page), Apache eats up all the memory on the server. I've tried disabling all plugins, but that didn't work. I also tried debugging on our live server which a 4GB box... it still eats up all the memory and comes to a hault. …
What's the best database setup for WordPress for speed and lots of posts (hundred thousands of rows in posts and post_meta tables)? While I can cache as much as I can and optimize my queries/PHP as far as can go, such as in the answer for How to Optimize WP site for millions of posts (am in a very similar situation with the OP of that question), that's only one part of optimizing querying loads of rows with speed. Am …
I have a section in my single post page that contains the post thumbnail. When using a smaller image as featured image (smaller than the thumbnail size, in width or height) it gets distorted to fill the thumbnail and lose its proportion. When the featured image is bigger than the thumbnail size or at least has a similar proportion, it seems to work just fine. An image showing the case: http://i.imgur.com/XtdpuyV.jpg Here's all the code I used: add_image_size( 'thumbpost', 698, …
Right now I use a single WP table to feed several sites. We have about 72K users and I have started noticing that to see the "Users" page it takes about 30 seconds on our otherwise pretty fast server. Are there any scalability issues I should worry about and anything I can do to get the user functions working quicker? Extra Info: The user table is added to each night using employee data. There is nothing writing to the user …
A while ago I wrote a question asking about storing easily queryable data associated with a given attachment. The recommendation that I received at the time was that I should avoid using the WP attachment metadata because it cannot be quickly queried for. Instead, what was recommended (and what I opted to implement) was to store all of the values in an array within an option. This works, but the design of the thing makes me want to cry. It …
It has been known that PHP is under an impression that its a web low performer. However, the size of WordPress.com says otherwise. Does anyone knows why WordPress.com blogs scale so well even though its in PHP? Where is the PHP's maximum. Lets say capacity of simultaneous user access? Thank You