Discussion:
[Scribus] Images in a frame
unknown
2007-09-20 09:34:32 UTC
Permalink
Unfortunately, I see problems with automatically letting text flow
around pictures
<snip>
If I understood correctly, I would have to place the image in an image
frame first and then put a text frame right next to it and then put a
text frame beneath both and then let the text flow from the first
frame into the second frame and so on, which seems to be way too
tedious to be practical for 150 page book.
</snip>

I do all the text first and get positioning right then simply put an image in an
image frame and click on <Text Flows Around Frame> in the Properties> <Shapes>
Dialog, Ive never had any problems with this.

If I need greater amount of space around the image because it aligns to the
wrong side of the image box I would use a blank text box, but put a frame line
around it so I know it's size and position,
then Go to Properties > shape >Text around frame
then insert an image box into the text box. for more space increase the
dimensions of the text box.

I can't find a way to set the dimensions between image border and image frame, I
believe this is possible though.

Question, how would I put a page on the wiki to show the result.
I know nothing about wiki.
Roger
unknown
2007-09-20 10:04:17 UTC
Permalink
Post by unknown
I do all the text first and get positioning right then simply put an image
in an
image frame and click on <Text Flows Around Frame> in the Properties>
<Shapes>
Dialog, Ive never had any problems with this.
It should be noted that for this to work the image frame must be on a
higher level than the text frame. Using "Bring to front" on the image
frame will fix this if it doesn't work.
Post by unknown
I can't find a way to set the dimensions between image border and image
frame, I
believe this is possible though.
I don't have Scribus in front of me right now, but if you look at the
Properties palette I think there are two "positions". One for the image
frame on the page (the XYZ tab), the other for the image within the image
frame (the Image tab).
unknown
2007-09-20 14:33:50 UTC
Permalink
Post by unknown
It should be noted that for this to work the image frame must be on a
higher level than the text frame. Using "Bring to front" on the image
frame will fix this if it doesn't work.
Well, it worked on one frame as well. I introduced another layer,
promoted the image to that, but still I could not define margins to
the text.
Post by unknown
Post by unknown
I can't find a way to set the dimensions between image border and image
frame, I
believe this is possible though.
I don't have Scribus in front of me right now, but if you look at the
Properties palette I think there are two "positions". One for the image
frame on the page (the XYZ tab), the other for the image within the image
frame (the Image tab).
True. XYZ defines the position of the image frame. Form gives the
option to let text flow around the frame and would be the right place
to define the margins, if only I could find out how to do it. The
Image tab gives the opportunity to define the dimensions of the image,
but I would prefer to use the automatic scaling property, which is an
alternative to that option.

Werner
unknown
2007-09-20 14:42:14 UTC
Permalink
Post by unknown
Post by unknown
It should be noted that for this to work the image frame must be on a
higher level than the text frame. Using "Bring to front" on the image
frame will fix this if it doesn't work.
Well, it worked on one frame as well. I introduced another layer,
promoted the image to that, but still I could not define margins to
the text.
You can use contour line for that. Make the text flow around contour line and
adjust contour line with edit shap dialog (from the shape page of properties
palette).
http://wiki.scribus.net/index.php/Scribus_Video_Tutorials#Additional_space_between_an_image_frame_and_the_text
unknown
2007-09-20 15:27:23 UTC
Permalink
Post by unknown
You can use contour line for that. Make the text flow around contour line and
adjust contour line with edit shap dialog (from the shape page of properties
palette).
http://wiki.scribus.net/index.php/Scribus_Video_Tutorials#Additional_space_between_an_image_frame_and_the_text
Wow! Thanks a lot for the link! Why didn't I find that myself?

The video isn't really what it takes, unfortunately. It looks fine,
but if you imagine that you have real text, it's obvious. You cannot
let text flow around a picture like that. Also, the spacing around a
picture is even, which is something you don't want. If you want to
place a picture at the beginning of a paragraph, the text should align
to the top of the picture, the left of the picture should align to the
left of the text, you want to have some too the right of the picture
and to the bottom of the picture, and if you want a subtext of the
picture, you want this text to have a different style and to add some
extra space as well. So I don't think that this video really shapes me
up :-(

The "Distance of Text"-boxes would solve my problem, I guess. How do I
activate these? They are on the properties page Shape-tab.

Werner
unknown
2007-09-20 15:31:44 UTC
Permalink
Post by unknown
You can use contour line for that. Make the text flow around contour line and
adjust contour line with edit shap dialog (from the shape page of properties
palette).
http://wiki.scribus.net/index.php/Scribus_Video_Tutorials#Additional_space_between_an_image_frame_and_the_text
I think I found out; if you align the image to the left of the text,
the bounding box will adjust itself as expected. It would be nice if
this version could be included in the video ;-)

Thanks a lot!

Werner
unknown
2007-09-20 18:01:48 UTC
Permalink
The hint with the tutorial videos proved to be very helpful. I guess I
was too eager to produce something useful than to take leisure time to
work through everything there is, and there is a lot!

Actually, the basic introduction shows in part 2 how to solve my
problem -- except the subtitles for pictures. I guess I have to add
textboxes each. Correct?

The trick shown in the video is to first scale the image to the frame,
let the text flow around the picture and then enlarge the frame to
create a margin between image and text -- correct? Also, there is no
need to put text and image on different layers.

Werner
unknown
2007-09-20 18:23:03 UTC
Permalink
Post by unknown
The hint with the tutorial videos proved to be very helpful. I guess I
was too eager to produce something useful than to take leisure time to
work through everything there is, and there is a lot!
Actually, the basic introduction shows in part 2 how to solve my
problem -- except the subtitles for pictures. I guess I have to add
textboxes each. Correct?
Yes, but there's a Python script shipped with Scribus called legende.py. You
will find it in your Scribus installation directory in
~share/scribus/samples/. Select an image and run the script, then you have
your caption.

HTH

Christoph
unknown
2007-09-20 21:42:32 UTC
Permalink
Post by unknown
Yes, but there's a Python script shipped with Scribus called legende.py. You
will find it in your Scribus installation directory in
~share/scribus/samples/. Select an image and run the script, then you have
your caption.
Absolutely great! I'm afraid I have to learn Python now and rather
than write my Program in PHP do it in Python ;-(

Thanks a lot for all the great advice, the formidable program, the
elaborate help system and all my apologies for bothering you with my
newbie's ignorance!

Werner
unknown
2007-09-20 15:33:48 UTC
Permalink
Post by unknown
I do all the text first and get positioning right then simply put an image in an
image frame and click on <Text Flows Around Frame> in the Properties> <Shapes>
Dialog, Ive never had any problems with this.
Oh, so I was just plain stupid and used the wrong sequence ;-( Works
fine - well, not perfectly, see below.
Post by unknown
If I need greater amount of space around the image because it aligns to the
wrong side of the image box I would use a blank text box, but put a frame line
around it so I know it's size and position,
then Go to Properties > shape >Text around frame
then insert an image box into the text box. for more space increase the
dimensions of the text box.
Hm, this sounds complicated. Isn't there a way to tell Scribus to
align the text not directly to the image but keep a certain,
adjustable distance? Actually this should be something like a style,
similar to text-paragraph-styles, in my understanding. Also, I'd like
to have a constistent way of placing descriptions underneath the
images. How would you do that?

There is a checkbox "Use Bounding Box" in the properties dialog,
but this doesn't do anything. I tried "Edit Shape", but don't
understand. Oh, I see, all the parameters are there, but grayed out:
"Distance of Text". How do you activate this? (using 1.3.3.9)

Actually "Use Bounding Box" is one part of a two-value
radiobutton-system ("Use Contour Line" being the other part),
showing as checkbox :-(

Thanks a lot!
Werner
unknown
2007-09-20 18:46:31 UTC
Permalink
Post by unknown
True. XYZ defines the position of the image frame. Form gives the
option to let text flow around the frame and would be the right place
to define the margins, if only I could find out how to do it. The
Image tab gives the opportunity to define the dimensions of the image,
but I would prefer to use the automatic scaling property, which is an
alternative to that option.
The image tab also has X-pos and Y-pos.

The text flowing arolund the frame will flow around the frame. If the
frame is bigger than the image and is located "centered" in the image
frame you will get a margin.

I just tried it here.

However you can not, as far as I can tell, drag the image to that
location, you must change the values for X-pos and Y-pos.
unknown
2007-09-21 11:38:47 UTC
Permalink
Post by unknown
create a margin between image and text -- correct? Also, there is no
need to put text and image on different layers.
No, not different layers, but different LEVELS. There is a difference
between those.

Try on a working document, right-click on the image frame, select
Level->Send to back and you will most likely lose your flowing around the
frame.

Loading...