PowerCHM image

Delphi'de kod yazma ile ilgili sorularınızı bu foruma yazabilirsiniz.
Cevapla
Kullanıcı avatarı
berken
Üye
Mesajlar: 208
Kayıt: 07 Ara 2005 04:27
Konum: Van

PowerCHM image

Mesaj gönderen berken »

kolay gelsin arkadaşlar..
power chm ile daha önce hazırladığım html dosyasını chm ye derliyorum.. fakat imajlar ı almıyor.. design sırasında sayfa normal görünüyor.. ama derlenmiş halini çalıştırınca imageler görüntülenmiyor..
teşekkür ederim saygılarımla
cozturk
Üye
Mesajlar: 484
Kayıt: 15 Haz 2005 05:22

Mesaj gönderen cozturk »

resimler, resimleri kullanan htmnin bulunduğu klasörde veya aynı klasör içindeki başka klasörlerde olmalı. Dış klasör(ler) de olursa olmaz.
Help:=

Kod: Tümünü seç

A CHM file is a self-contained file system, equivalent to a hard driver. You can not refer to items "above" the root of a CHM file. It is similar to that you can not refer to items "above" the root of a hard driver. Unlike real hard drivers, you also can't access other "drivers" through an inter-CHM file jump because a CHM file only has one "driver". 

Let's say you've gotten the following directory structure: 

c:\projects\test\foo.pcm
c:\projects\test\foo.hhp
c:\projects\test\default.htm
c:\projects\image.gif 

and in default.htm you have an IMG tag: 

<IMG src="c:\projects\image.gif"> 

Since \projects\test is where your project file is, that is also where the root of your CHM file is, which means you have tried to refer to a file in a hierarchy above the root -- It is simply not possible. That's like saying if my current directory is c:\ then I want to refer to a folder whose hierarchy is higher than it -- you can't because there are no folders higher than the root. What is supposed to happen at this point is that the compiler recognizes that you have referred to a file above the root of the CHM file. 

Kullanıcı avatarı
berken
Üye
Mesajlar: 208
Kayıt: 07 Ara 2005 04:27
Konum: Van

Mesaj gönderen berken »

o konuda sorun yok.. tabi anladığım gibiyse.. HTML dosyalarında sorun yok..
design sırasında da çıkıyor gifler.. ama derlenmiş halini açınca görünmüyor
Kullanıcı avatarı
mussimsek
Admin
Mesajlar: 7604
Kayıt: 10 Haz 2003 12:26
Konum: İstanbul
İletişim:

Mesaj gönderen mussimsek »

HTML'de gözükmesi önemli değil, aynı klasörde değilse ben derleyemem diyor yazıda. Resimleri aynı klasöre taşıyıp, linklerini düzeltin ve tekrar derleyin.

Kolay gelsin.
Cevapla