|
From: H G. <gri...@gm...> - 2007-09-24 19:51:04
|
Hi All, I've been exploring how to display images in html files, and have not been able to figure out an elegant way to do it.\ The situation: in the new issue of the journal Disability Studies Quarterly, one article contains a few images of charts and graphs. We are wanting to publish the journal as html (rather than creating pdfs) so need to create a link between the main content file and the images. I have tried uploading the articles alongside the html file as part of a record_filename_set group -- see excerpt from the journal-issue xml below -- but DPubS doesn't ingest the image files into the repository or otherwise recognize them as far as I can tell. I have come up with a functional workaround that seems like it would suffice for the current issue but would become unwieldy over the long term. Namely, I created a sub-folder within the htdocs folder and uploaded the images there. I am then able to hard-code links to the images, as in <img src="/publication/dsq.v3/images/in_articles/dsq_v27_04_2007_fall_st_07_figure01.jpg" alt="..."/> This workaround gets the images to display in the article, but doesn't seem like it's the way images are supposed to be included. Any guidance would be much appreciated. Thanks, Henry PS. I've tried coding the set of files a few different ways. Below is my most recent attempt: <record_filename filetype="html">dsq_v27_04_2007_fall_st_07_barnartt.htm</record_filename> <record_filename_set setID="1"> <set_item seq="1" filename="dsq_v27_04_2007_fall_st_07_figure01.jpg" filetype='jpg' /> <set_item seq="2" filename="dsq_v27_04_2007_fall_st_07_figure02.jpg" filetype='jpg' /> <set_item seq="3" filename="dsq_v27_04_2007_fall_st_07_figure03.jpg" filetype='jpg' /> <set_item seq="4" filename="dsq_v27_04_2007_fall_st_07_figure04.jpg" filetype='jpg' /> </record_filename_set> -- Henry Griffy Program Coordinator, Documentation & Training Scholarly Resources Integration Dept The Ohio State University Libraries 600 Ackerman Rd. Columbus, OH 43202 Ph: 614-247-4663 Fx: 614-292-2015 |