| View previous topic :: View next topic |
| Author |
Message |
claridgp Newbie

Joined: 07 Aug 2005 Posts: 1 Location: UK
|
Posted: Sun Aug 07, 2005 1:16 pm Post subject: Embedding photographs in a web page |
|
|
Hi please be gentle - I'm relatively new to the OO suite! .. but anything must be better than the alternative!
I am trying to compile a simple web page containing photographs (about 100 in total mixed with text). I import the photo (jpg file) into the document and I then add a caption. When I then view the html savd doc with firefox, on some images in the doc I can "view the file" and I get the large version of the photograpch displayed in a new window. However, on the majority of the photos I simply get the image displayed in the doc re-displayed in a new window. I have noticed that the html transformation creates and refers to a new gif file, which I presume is the combined, reduced jpg and caption. This isn't what I want! I really want a thumbnail in the doc displayed at first and then a large (full jpg) high definaition image when I "view the file" with the browser right click menu.
Now a) is this possible b) have I hit a bug c) do I need some special config options in the text editor d) is there a better more elegant aproach?
Thanks for any help, regards, Paul |
|
| Back to top |
|
 |
Corfy Moderator


Joined: 14 Jun 2005 Posts: 1117 Location: Near Indianapolis, IN, USA
|
Posted: Thu Aug 11, 2005 8:08 pm Post subject: |
|
|
For starters, I have not tried to use OOo to format webpages (I prefer to code them myself), so maybe it has some capabilities that I am not aware of.
But usually, if you want a thumbnail pic to show up on the main page, you have to create the thumbnail yourself (using your favorite photo editor). You would then embed the thumbnail in the document and link to the full sized photo.
Unless, as I said, OOo has more capabilities than I am aware of (which wouldn't surprise me, I am constantly amazed by the features I "discover" in OOo). _________________ Laugh at life or life will laugh at you. |
|
| Back to top |
|
 |
bryanl General User

Joined: 25 Jul 2005 Posts: 17
|
Posted: Fri Aug 12, 2005 9:58 am Post subject: |
|
|
For what you can do with OOo and web pages, see Sierra Nevada Airstreams. This is an example of the simple side of things.
If you take an OOo document and save to html, it will create, as you noted, separate picture files for each graphic. This is because html does not have in-document images. While you do have some (and it is limited) control over presentation size, you have none over picture resolution.
HTML is generally a very crude page layout mechanism. I haven't figured out how to make any use of CSS or anything past HTML 3.2 standards with OOo yet. But you can still create decent web pages with tables and a bit of tweaking.
The first thing you need to do is to plan your web page layout. This means setting up directories for images and another for thumbnails. Make sure your images are VGA resolution or even a bit less. Make thumbnails about 100 sq pixels. Use an image editor to reduce the resolution. Make sure you have good names for all files.
If you first save an OOo document as HTML, rename the image files, edit for resolution, store in the appropriate directories, then open the HTML in OOo to re-insert the picture files from the right place with the right name.
Also keep in mind that HTML uses only a specific set of styles. Make sure to use these styles appropriately to facilitate conversion.
For simple, straightforward web pages, OOo is a very good way to keep a web site going.
For a whole pile of pictures, see ESPG or another gallery program. Web pages with a lot of pictures, especially if more than a thumbnail, is not usually a good idea. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|