When I upload an image, the image node gets created correctly, but the <img> tag in my Word-derived content doesn't get updated with the new image's path. The nid attribute gets inserted, so _word2web_insert_images() is getting called, but the src attribute is the same as it was before I uploaded the images. I tried tracking it down, but I couldn't quite figure out where in the code the change is supposed to happen.
Comments
Comment #1
tmcw commentedAre the images correctly displaying on the front end? The thinking is that the Word HTML (the Body text) will never contain the src= attribute - that will be added when the document is run through the xslt_book formatter. This is because otherwise the images would break if the base URL breaks, and if their locations change. But instead it should grab the node ID and construct a URL for it. If you're getting tags in your output, there's definitely a problem. Also, if you're using the xslt_book module (which you'll need to use in order to get images working - at least at this point), does it have image tags enabled?
Thanks for the input!
Comment #2
tmcw commented