SV: Dia and images



Hello! Thanks for the speedy reply!

 

Yes, I guess that keeping the images in the same folder as the Dia file will work fine in most cases. However, the problem with uploading Dia files to a Wiki cannot be solved in this way I think (as I have no control over where the image files are placed).

 

So, uploading Dia files with images to a Wiki does not really work (you need to render a PNG manually and then upload the PNG instead of the Dia file). As mentioned this works very well with other Dia files.

 

Jørgen

 

Fra: dia-list-bounces gnome org [mailto:dia-list-bounces gnome org] På vegne av Michael Ross
Sendt: 28. september 2011 10:23
Til: discussions about usage and development of dia
Emne: Re: Dia and images

 

I think you will just have to keep the image files together with the Dia file.  If you develop the discipline of making a project folder; or, even more granular, individual Dia folders, there is no problem.

 

I am not unsympathetic, I would like to have images embedded, too.  But it is an old complaint of may different programs.  I do CAD with Solidworks and many part files congregate into an assembly.  I just have to keep them together or it does not work.  I will note that Solidworks has a Journal function that is an MS Word doc where I can place all manner of embedded information.  

 

Mike

 

On Wed, Sep 28, 2011 at 4:01 AM, Jørgen Johanson <Jorgen Johanson safetel no> wrote:

Hi,

 

I have question regarding Dia and images. I have noticed that images (inserted on a diagram with Basic Objects: Image) are not embedded in the Dia-file. Checking the XML code generated by Dia I can see that Dia only refers to images file via absolute or relative file paths.

 

This leads to problems in some situations. The image files are not always reachable and Dia just shows a big red cross instead of the images. I have for instance uploaded Dia-files to my Wiki (which have Dia-support added). In general this works excellent as the Wiki automatically renders PNG-files from the diagram file that are presented in the (web) pages. However, when uploading Dia diagrams with images, the images does not show up (since they are not reachable from the Dia making the PNG-files).

 

Any way around this (can images be embedded in the Dia-file for instance)?

 

Regards

Jørgen Johanson


_______________________________________________
dia-list mailing list
dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



 

--
Put this question to yourself: should I use everyone else to attain happiness, or should I help others gain happiness?  
Dalai Lama 

 

To invent, you need a good imagination and a pile of junk.

 

A public-opinion poll is no substitute for thought.
Warren Buffet

 

Michael E. Ross

(919) 550-2430 Land

(919) 576-0824 Google Phone

(919) 631-1451 Cell
(919) 513-0418 Desk



 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]