Plugin Author
Allen
(@amweiss98)
Hi…it totally depends if the original sized image is in the feed…is it?
It looks like Facebook feeds use an image that ends in _s.jpg (s means small). The normal sized image is the same URL but ends in “_n.jpg”
Where could I put a line of code to check if an image URL that will be imported ends in _s.jpg and replaces it to _n.jpg?
This would get it working great!
(Using import to posts and adding image to media library options)
Plugin Author
Allen
(@amweiss98)
if you give me a url of the feed where this is happening I could probably do a quick fix
Plugin Author
Allen
(@amweiss98)
ok..this will only work if fb doesn’t ever change the content delivery system for these images as there is no way to identify it then..I’ll put something quick together and post a download here.
Plugin Author
Allen
(@amweiss98)
I overwrote excerpt_functions.php in the plugin/inc directory, but it was the same result after deleting all posts (via manage posts) and reimporting them.
Picture still showed up as the 130px _s.jpg version
To confirm the images are correct here are two links
(130px)
https://scontent-a-lax.xx.fbcdn.net/hphotos-ash3/q73/6302_10152886645515464_1894396945_s.jpg
(600px)
https://scontent-a-lax.xx.fbcdn.net/hphotos-ash3/q73/6302_10152886645515464_1894396945_n.jpg
Plugin Author
Allen
(@amweiss98)
here is your feed on my site with the code change I gave you
http://www.wprssimporter.com/mypage/
What I see, using firebug, is that the _n image is being used. Is that what you see?
My site still imports them from the _s.jpg
would the code be different because I am importing the images into my media library as featured images? maybe i can move that snippet to another place.
I could give you a preview user/pass for my site (it is still in production) if you let me know a way to get you that privately (email, facebook, etc).
Plugin Author
Allen
(@amweiss98)
yes, this is possible…let me take a look at the code and see if the featured image import is different.
Plugin Author
Allen
(@amweiss98)
Plugin Author
Allen
(@amweiss98)
actually, not sure that will work…I’ll need to see what’s going on.
Plugin Author
Allen
(@amweiss98)
Working GREAT!!! Allen, thank you so much . 5 Star Plugin and amazing support!
Plugin Author
Allen
(@amweiss98)
Good to hear. I’ll include this in the next update.