Comments (9)
Hi, sorry but I do not understand. Do you want to apply image resizing to the admin area as well?
from cloudflare-image-resizing.
Hi, yes. That is correct. I want to apply resizing to the admin area as well. Like thumbnails in the media library page (both list view and grid view) as well as product thumbnails in the Woocommerce products list page, etc.
from cloudflare-image-resizing.
In this case, you have to edit the plugin manually here:
(just comment out that line).from cloudflare-image-resizing.
Unfortunately, it does not seem to work. The images are still loading from the server and not Cloudflare
from cloudflare-image-resizing.
@Mecanik I think he mean to rewrite in wp-admin not just allow rewrite when is_admin and is_logged_in @abhishek-sharma8 correct?
from cloudflare-image-resizing.
Yes, that is correct @wpsumo
To save space on the server when there are thousands of images, I'd like to only keep the original images on the server and no thumbnails. The thumbnail generation should be taken care of by this awesome plugin, which works great for the frontend. But the images are still served from the server on the backend.
This is what I am asking. The thumbnails for media files that I see in the media library (150x150 for list view and 300x300 for grid view), can they be served from Cloudflare as well? I did try a few filters but none of them worked.
from cloudflare-image-resizing.
Guys, I still don't understand your use case. Please explain a bit better.
from cloudflare-image-resizing.
I think he want to rewrite everything in wp-admin not sure the reason but maybe to offload the whole media library to cloudflare images? And not storing anything locally? Not sure either but that's what I understand.
Rewrite to offload make sense in one way but disabling resizing is overkill, in wp-admin as there is no point doing it there.
from cloudflare-image-resizing.
@Mecanik The thumbnails you see in wp-admin are loaded from the server, not Cloudflare. For example, if you go to the media library, (example.com/wp-admin/upload.php?mode=grid or example.com/wp-admin/upload.php), the thumbnails you see are loaded from the server (150x150 size or 300x300). Same is the case when you add media media through the post and also the product gallery in the product gallery page. I've attached images for these screens, where I want to use Cloudflare images. Hopefully, this explains it better.
@wpsumo, for a smaller site, yes it is an overkill. But I have multiple sites on the same server, with up to 30k images per site. I don't want to offload the images, I only want to keep the original images on the server and use Cloudflare images for generating thumbnails on-demand, including for the wp-admin pages. This will not just save me a lot of storage space but the backups will also be quicker.
This is working fine for the front end through this plugin, but backend images, which I am assuming have different filters/hooks, are not working.
I'll try doing it myself if I can, but since I am not a developer, I am less likely to succeed.
https://i.ibb.co/yqrkJmS/media-library.jpg
https://i.ibb.co/55dSVfB/media-library-1.jpg
https://i.ibb.co/55dSVfB/media-library-1.jpg
https://i.ibb.co/55dSVfB/media-library-1.jpg
https://i.ibb.co/XkDxSbN/add-media.jpg
from cloudflare-image-resizing.
Related Issues (20)
- Feature Request: Resize only images with a certain class HOT 2
- I've installed but not working HOT 2
- Wordpress Theme Images Not being Optimized HOT 3
- Saves http instead of https HOT 2
- Plugin wont activate/install HOT 3
- Image with a special crop set in page builder are defaulting to original aspect ratio HOT 2
- urlencode for /cdn-cgi/image/.....$image_path HOT 2
- Images are not resized on smaller viewports HOT 2
- Missing Images HOT 2
- A simple question, I can't find answer of on google. HOT 7
- The URL with the folder causes the plugin to be configured incorrectly HOT 2
- Question re "Strip image sizes" HOT 2
- High Load with Plugin HOT 2
- Images not processed HOT 2
- Special Rules for not resize images like Google Merch Feed HOT 2
- Plugin rewriting Yoast schema image references HOT 2
- The <region> specified is invalid. HOT 3
- "Some" images are not rewritten HOT 3
- php7.2 ERROR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudflare-image-resizing.