diff --git a/src/libprs500/lrf/html/demo/demo.html b/src/libprs500/lrf/html/demo/demo.html index df8b910c22..c9e208e5b5 100644 --- a/src/libprs500/lrf/html/demo/demo.html +++ b/src/libprs500/lrf/html/demo/demo.html @@ -70,7 +70,7 @@

Inline images

- Here I demonstrate the use of inline images in the midst of text. Here is a small image embedded in a sentence. Now we have a slightly larger image that is automatically put in its own block and finally we have a large image which wont fit on this page. Try changing sizes from S to M to L and see how the images behave. + Here I demonstrate the use of inline images in the midst of text. Here is a small image embedded in a sentence. Now we have a slightly larger image that is automatically put in its own block and finally we have a large image which wont fit on this page. Try changing sizes from S to M to L and see how the images behave.


diff --git a/src/libprs500/lrf/html/demo/large.jpg b/src/libprs500/lrf/html/demo/large.jpg index db5eb2bf97..2506302a5b 100644 Binary files a/src/libprs500/lrf/html/demo/large.jpg and b/src/libprs500/lrf/html/demo/large.jpg differ diff --git a/src/libprs500/lrf/pylrs/pylrs.py b/src/libprs500/lrf/pylrs/pylrs.py index 397fd42790..96588aa3e4 100644 --- a/src/libprs500/lrf/pylrs/pylrs.py +++ b/src/libprs500/lrf/pylrs/pylrs.py @@ -259,7 +259,7 @@ class LrsContainer(object): if child.has_text(): return True for item in self.contents: - if isinstance(item, Plot): + if isinstance(item, (Plot, ImageBlock)): return True return False