Hi Sam!
1) Is it compatible with the Newspaper theme or is there a way to make it work?
Last time I checked it was. Don’t be shy and just give it a try 😉
2) Will it only then work for future post or is there a way to get it to work with all previous post so i can then delete past post images?
Our plugin won’t change any already existing featured images. If you want to use this feature in your old posts, you’ll have to create a batch process and initialize a meta field named _nelioefi_url.
Regards,
David
Thread Starter
sam69
(@sam69)
Oh thanks for the response i didn’t get an alert on this. Thats very interesting if i can make it work with past post. I’m already up to 20gb of images lol.
Can you elaborate on the batch process?
edit: i quickly added the plugin and without changing much all featured images on my post page shrink down and become the background for the pinterest share button. Is that just a css issue?
Thanks
Can you elaborate on the batch process?
Well, I can sketch the solution for you, but it’s up to you to complete the process (this is something that’s out of our scope).
First, you need to know all your current featured images. Assuming that all your featured images are attachments and that their paths are available in wp_posts.guid, the following SQL query will return the results:
SELECT pm.post_id, p.guid
FROM wp_postmeta AS pm, wp_posts AS p
WHERE pm.meta_key = '_thumbnail_id' AND p.ID = pm.meta_value
Then, you simply need to move the images somewhere else, updates the path in the SQL result, and create a new query:
INSERT INTO wp_postmeta( post_id, meta_key, meta_value )
VALUES ( xxx, '_nelioefi_url', 'http://....newpath.jpg' );
edit: i quickly added the plugin and without changing much all featured images on my post page shrink down and become the background for the pinterest share button. Is that just a css issue?
I’m afraid I don’t know. I’m not familiar enough with the theme to know how this share buttons work 🙁
Thread Starter
sam69
(@sam69)
Thanks David. So sorry for the dumb questions, but what i was hoping to do is for all past and future posts, to just link to the images from the original sites and not store any past and future images on my server.
Will the above and plugin accomplish that? After i run the above on all past posts can i delete all featured images from my server?
Thanks
Thanks David. So sorry for the dumb questions, but what i was hoping to do is for all past and future posts, to just link to the images from the original sites and not store any past and future images on my server.
Will the above and plugin accomplish that?
Yes, that’s exactly what this plugin is able to do. But:
- regarding your past posts, our plugin can’t know the original URLs of your featured images. This is something you must fix
- using images from other servers is hotlinking. This is something other web owners might not appreciate. However, if you upload images to an AWS S3 server, for example, and link the images from there, or if you link images from websites that accept and promote hotlinking, then it’s totally OK
After i run the above on all past posts can i delete all featured images from my server?
Well, first make sure that it works and then get rid of the images.
Regards,
David
Let’s mark this topic as resolved.