Images in report - export to HTML problem...

C

Chris Cox

I'm trying to put together a simple access database that will allow a friend
to maintain a simple database of products/pictures/prices, which he can then
export to html and upload to a website.

Problem is that access doesn't export the images when saving to HTML :(

The export to PDF solution isn't appropriate in this instance, is their a
third party print to html utility anywhere, or any other easy solution to
this problem?

Thanks in advance

Chris
 
J

Jim Carlock

Could you code the item to export to HTML, then parse the
HTML for the insertion point for the image, then insert a line
of text?

<img src="imagename.jpg" border="0">

Then copy the image to the same folder as the html document or
possibly a relative folder called images. If you use a relative folder
the HTML code for the insertion of the image into it, would be:

<img src="images/imagename.jpg" border="0">

The size of the image doesn't need to be encoded unless you're
resizing the image. The border above is a pixel size for the border.
border="0" means there is NO border.

Hope that helps.

--
Jim Carlock
http://www.microcosmotalk.com/
Post replies to the newsgroup.


I'm trying to put together a simple access database that will allow a friend
to maintain a simple database of products/pictures/prices, which he can then
export to html and upload to a website.

Problem is that access doesn't export the images when saving to HTML :(

The export to PDF solution isn't appropriate in this instance, is their a
third party print to html utility anywhere, or any other easy solution to
this problem?

Thanks in advance

Chris
 
C

Chris Cox

Thanks for the reply, will try ReportUtilities first, if not, some coding
awaits!

I'm surprised that given the amount of requests for this feature, nobody has
written something to do it - unfortunately it's beyond my capabilities or I
would!
 
J

Jim Carlock

Well, there are quite a few products that can read from a database.

I've never stored pictures into a database, but I guess someone
wants to do that. <g> I'm not too sure about the Access reporting
capability. I would think that if it could print a report out with an
imbedded picture that the picture itself can be imbedded into a
report. And I know that the technology exists to save pictures
with webpages because Internet Explorer implements it.

Interesting! Maybe someone else will have an answer.

--
Jim Carlock
http://www.microcosmotalk.com/
Post replies to the newsgroup.


Thanks for the reply, will try ReportUtilities first, if not, some coding
awaits!

I'm surprised that given the amount of requests for this feature, nobody has
written something to do it - unfortunately it's beyond my capabilities or I
would!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top