Skip to content
This repository has been archived by the owner on Sep 13, 2020. It is now read-only.

Inline image #15

Closed
licaerae opened this issue Mar 3, 2015 · 7 comments
Closed

Inline image #15

licaerae opened this issue Mar 3, 2015 · 7 comments
Assignees
Labels

Comments

@licaerae
Copy link

licaerae commented Mar 3, 2015

Inline don't work correctly, , it work like block image
there are a style attribut 'display:block' in place 'display:inline'
class 'img-responsive' used on online image and block image

@llaville
Copy link
Owner

llaville commented Mar 4, 2015

Please, provide an asciidoc source-code example and command line (with arguments) you used to build it

@licaerae
Copy link
Author

licaerae commented Mar 4, 2015

example : http://doc.jeedom.fr/fr_FR/themes.html#création

code used : Nous allons commencer par créer un thème, cliquer sur image:../images/ajout.png[] .Changeons le titre pour un message de bienvenue, remplacez dans le premier popover +Menu+ par +Bienvenue dans Notre Espace Domotique+. Le thème que nous désirons et pratiquement créer, ils nous restent plus qu'a configurer les <<ajoutedition,boutons>> et le <<popover_de_style,style>>. +
Cliquez sur Boutons et appuyez sur image:../images/plus.png[] pour créer un nouveau bouton. Notre premier bouton est un sous-menu, entrez +RdC+ dans le champ Nom et cliquez sur Sous-menu pour affichez les sous-entrées, cliquez sur image:../images/plus.png[] pour ajouter une autre sous-entrée, remplissez chaque entrée par +Salon+ et +Cuisine+ puis validez, notre premier bouton est créé. Le deuxième bouton est plus simple entrez +Chambre+ dans le champ Nom et validez. +

@licaerae
Copy link
Author

licaerae commented Mar 4, 2015

command line:
asciidoc -b bootstrap -a numbered -a responsive-option -a navbar=fixed -a brand="Jeedom themes" -a jumbotron-fullwidth -a toc2 -a footer-fullwidth -a toclevels=1 -a tocaffix -o themes.html /usr/share/nginx/www/jeedom/plugins/themes/doc/fr_FR/index.asciidoc

@llaville
Copy link
Owner

llaville commented Mar 4, 2015

Without asciidoc source code, I've no choice than to test it by myself.

I pick your image and add in in a simple document like this one

= inline image 

:imagesdir: ./images

Nous allons commencer par creer un theme, cliquer sur image:ajout.png[]. Changeons le titre pour un message de bienvenue, remplacez dans le premier popover 

Struture is simple

images.asciidoc
images/
    ajout.png

And command line is

  asciidoc -b bootstrap images.asciidoc

And the image is perfectly render inline as expected.
Sorry but no issue on my side.
I can't tell more without access to source code (not the html built)

images_inline

@licaerae
Copy link
Author

licaerae commented Mar 4, 2015

code source : https://github.com/licaerae/themes/tree/master/doc/fr_FR

the problem occur only with option -a responsive-option

@llaville
Copy link
Owner

llaville commented Mar 5, 2015

Fixed now in repository, with current 4.4.0-dev version.
As stable release 4.4.0 is not yet finished and ready, you may removed responsive option by yourself in bootstrap.conf of your distrib (4.2.0). See commit a2ef686

@llaville llaville closed this as completed Mar 5, 2015
@llaville llaville added the bug label Mar 5, 2015
@llaville llaville self-assigned this Mar 5, 2015
@licaerae
Copy link
Author

licaerae commented Mar 6, 2015

FYI : you can use bootstrap class "img-thumbnail" until V4.4.0 is online

image:MyImage[role="img-thumbnail"]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants