Re: ebook reader - image scaling ?

Liste des GroupesRevenir à cm android 
Sujet : Re: ebook reader - image scaling ?
De : newyana (at) *nospam* invalid.nospam (Newyana2)
Groupes : comp.mobile.android
Date : 30. May 2024, 13:02:48
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <f7a18430-0556-73a2-b222-a51cb0d07dd0@invalid.nospam>
References : 1
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1
On 5/30/2024 5:02 AM, R.Wieser wrote:
Hello all,
 In a previous thread I mentioned I found the below ebook-reader :
 https://f-droid.org/en/packages/com.github.axet.bookreader/
 Currenly I've added an image (by hand) and am trying to get it to stretch to
half a smartphones screen width.   But no matter what I try (and which works
in a HTML page on a PC(1) ) I can't find how to make that happen.
 (1) 'width=50%', 'width="50%"', 'style="width:50%;"' and using a CSS file.
 Question:
Am I supposed to be able to resize images in an epub(2), and if so how is
that done ?
 (2) the above epub reader does have "scale image(s) to fill the screen"
option though, but thats not quite what I was after.
 
    You seem to have only half the story here. You're making
your own epub file as HTML and CSS in a ZIP? I don't understand
the syntax above.
HTML: <IMG WIDTH=50% HEIGHT=50%>  (it also works with quotes: "50%")
Or <IMG STYLE="width: 50%; height: 50%;">
Or in either a STYLE block or a CSS file: IMG {width: 50%; height: 50%;}
And you can also use an ID:
<STYLE>
#Bigpic {width: 50%; height: 50%;}
</STYLE>
</HEAD>
<BODY>
<IMG ID="Bigpic">
   I don't know of anywhere you might use apostrophes other than
inside javascript.

Date Sujet#  Auteur
30 May 24 * ebook reader - image scaling ?10R.Wieser
30 May 24 +* Re: ebook reader - image scaling ?8Newyana2
30 May 24 i`* Re: ebook reader - image scaling ?7R.Wieser
31 May 24 i `* Re: ebook reader - image scaling ?6Newyana2
31 May 24 i  `* Re: ebook reader - image scaling ?5R.Wieser
31 May 24 i   `* Re: ebook reader - image scaling ?4Newyana2
31 May 24 i    `* Re: ebook reader - image scaling ?3R.Wieser
31 May 24 i     `* Re: ebook reader - image scaling ?2Andy Burns
31 May 24 i      `- Re: ebook reader - image scaling ?1R.Wieser
30 May 24 `- Re: ebook reader - image scaling ?1Carlos E.R.

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal