Open angiec opened 8 years ago
My guess is that the lack of a file extension is tripping up the plugin ... is there any way to make Squarespace show that?
If I am reading this article correctly it should be there:
https://support.squarespace.com/hc/en-us/articles/205812748-Image-and-file-URLs-in-Squarespace
Thanks, Ryan. I chat with SS about this and they said that there is "no way to revert or change this on their end at this time." I have manually imported (by this I mean these steps: "open image in new tab," "save image as" and highlight/click/drag image into post) for about 500 posts so far. IT's taken me over a month to get this done, so so far the WP site I'm importing to is established... I just need to figure out/pay someone to figure out how to get a plugin to recognize that the specific file path with "img src="http://static1.squarespace.com/static/" is the image to import. I think that's a possible solution, anyway... I just don't have a clue how to do it. Any thoughts on how to take that route to attack this issue?
Hi again,
Quite a few of my images that aren't importing have this general file path: http://static1.squarespace.com/static/526a97e2e4b082c85fea60f9/5284e860e4b091ea528fb315/558ac097e4b0dae1a3deee99/1435156631613/4-copy.jpg
Any idea why that wouldn't be importing? Is there something else going on here that is unrelated to my images, but possibly with hosting/plugin/theme interactions? I thought I tried deactivating everything, but if you know of somethings that could be causing an issue, I'd love to hear them.
Again- if you need to under contract/paid to work on this, let me know. I'm spending a few hours a day working the manual import and need help.
Thanks! Angie
Will you send me a link to one of the posts?
I did notice something strange about the markup:
<img data-src="http://static1.squarespace.com/static/526a97e2e4b082c85fea60f9/t/56a11b8f40667a98ed48de7e/1453398928121/1955+GMC+Truck+-+Tom+Beam.jpg" data-image="http://static1.squarespace.com/static/526a97e2e4b082c85fea60f9/t/56a11b8f40667a98ed48de7e/1453398928121/1955+GMC+Truck+-+Tom+Beam.jpg" data-image-dimensions="1000x667" data-image-focal-point="0.3850267379679144,0.504" alt="1955 GMC Truck - Tom Beam.jpg">
It appears these have no plain src
attribute. But rather data-image
and data-src
. I'm guessing they only worked on Squarespace because of something having to do with their platform. If you have the posts available in plain text format, I could show you how to replace all the data-src
links with just src
, that would almost certainly make the plugin work.
I am not sure what you mean by that markup... I can't seem to see it in any of the views I look at.
I only have the original xml file I imported with and the content as it is in the current WP site dashboard. Sounds like I'm just going to have to continue to import them manually, right? I don't have a reliable person to turn to for the manual work like this, so was hopeful I wouldn't have to do it all myself.
On Thu, May 5, 2016 at 8:24 AM, Ryan P.C. McQuen notifications@github.com wrote:
I did notice something strange about the markup:
It appears these have no plain src attribute. But rather data-image and data-src. I'm guessing they only worked on Squarespace because of something having to do with their platform. If you have the posts available in plain text format, I could show you how to replace all the data-src links with just src, that would almost certainly make the plugin work.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ryanpcmcquen/import-external-attachments/issues/3#issuecomment-217153741
Angie Chladek
Principal - Chladek Consulting, LLC
ChladekConsulting.com
SVP Marketing and Communications - Chladek Wealth Management, LLC
ChladekWealth.com
6240 W. 135th, Ste. #200
Overland Park, KS 66223
Cell: 913.269.3908
LinkedIn: http://www.linkedin.com/in/angiechladek
Facebook: Chladek Wealth Management, LLC http://www.facebook.com/home.php?#%21/pages/Overland-Park-KS/Chladek-Wealth-Management-LLC/209352260976?ref=ts
Will you send me the xml
file?
I can. I'm a little worried it could mess up the changes I've made to the posts otherwise already, but maybe this is a chance I have to take.
On Thu, May 5, 2016 at 8:40 AM, Ryan P.C. McQuen notifications@github.com wrote:
Will you send me the xml file?
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ryanpcmcquen/import-external-attachments/issues/3#issuecomment-217157168
Angie Chladek
Principal - Chladek Consulting, LLC
ChladekConsulting.com
SVP Marketing and Communications - Chladek Wealth Management, LLC
ChladekWealth.com
6240 W. 135th, Ste. #200
Overland Park, KS 66223
Cell: 913.269.3908
LinkedIn: http://www.linkedin.com/in/angiechladek
Facebook: Chladek Wealth Management, LLC http://www.facebook.com/home.php?#%21/pages/Overland-Park-KS/Chladek-Wealth-Management-LLC/209352260976?ref=ts
Does anyone want to get this plugin to read data-src
attributes? I don't have the time right now.
The same issue exists while importing Google Blogger images. In June 2017 the name of the JPEG files referenced from Google Photos changed. Before there was the file extension "jpg" part of the URL to the image, after this date it disappeared. This means that I cannot import images since June 2017 anymore.
The issue is most probably with the followin if clause: https://github.com/ryanpcmcquen/import-external-attachments/blob/a59b7821120513555a2762cfe43fe3250e7e40d7/import-external-attachments.php#L340 The URI is only copied when the file extension is known.
@mrumpf, got any ideas for a PR?
Are you available to hire to look at a site of mine? What would it cost to get some a modification built to the import external attachments plugin you wrote?
I can disclose the site, etc. later, but basically, the import external attachments plugin is giving me an error message: "no images imported, check to make sure they still exist." I need to see what I can do to get it to recognize the squarespace images I'm trying to import because I have 2500 posts left with links back to the old squarespace site we're migrating from. Each post has at least 4 images, so manual entry would be super time-consuming.
The links its not recognizing look like this:
<img src="http://static1.squarespace.com/static/526a97e2e4b082c85fea60f9/t/5682b973841abae3b7dd3fbb/1451407734845/1979+Ford+F-150?format=original" alt="" />
Any help is very much appreciated and I will compensate you for your time and expertise. :)