In my InDesign document I have an object style which I call “FigureWrapper.” I apply this to image and captions pairs. The object style does not do anything. It is there to add a div wrapper around the image and caption when it is exported as explained in this great tip from David Blatner. This works beautifully but not quite.
If I export the images as “Optimized,” the div with a class of “FigureWrapper” shows up in the exported HTML with the image and caption enclosed inside – just as hoped. But, if I export to HTML with the images as “Original,” the grouped objects don’t show up in the exported HTML. Images and captions not so grouped do.
Why would I want to export unoptimized images? Because InDesign mungs up the filenames on export and I want to do my own optimization of the images. Doing a quick convert of “.tif” to “.jpeg” in the HTML after export is easier than having to replace all the renamed images in the HTML.
Has anyone else seen this?