Skip navigation
Currently Being Moderated

Background image/picture in a cell ?

Jul 5, 2012 10:10 AM

Is is possible to put an image as a background for a single cell then put some text on it ?

Thank you

  • Currently Being Moderated
    Jul 5, 2012 10:19 AM   in reply to zerimahbub





    You’ll need to put the image behind the table.





    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 11:50 AM   in reply to zerimahbub

    You cannot have text and an image within a cell. But you can  compose the individual text frame(s) and graphic frame(s), make a group, copy the group, and then paste into a cell. Make sure to have 0 insets for the cell and select "Clip Contents to Cell". If you need to add rows, this inline grouping will stay intact.

    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 12:07 PM   in reply to zerimahbub

    A workaround:
    Put the text of the cell into a new table (1 column, 1 row) or into a text frame that fits the size of the cell, group it together with the image, that also fits the size of cell and anchor it to cell of the big table. Adjust the position and the stroke weight of the rectangle that holds the image and you are done. ;-)


    From now on the group will flow with the table…


    Of course, every time the dimensions of the cell will change you have to adjust all parts of the anchored group.



    Mark as:
  • Currently Being Moderated
    Jul 5, 2012 1:26 PM   in reply to Laubender

    Ok. By scripting we can do something crazy. Something we cannot do in the UI:


    We can add a new text frame to an objects that holds an image without replacing the image!


    Select an object that holds an image and execute the following JavaScript (script is working in Indesign CS3 and above):


        contents:"New text frame added by script!"


    Afterwards you can easily access  the text frame using the Layers palette and apply all formatting using an object style.


    As a second step you could insert the image (together with its text frame) into a cell.


    Here an example  from InDesign CS5.5
    German UI:

    Ebene 1 = layer (named by default: Ebene 1)


         <Textrahmen> = text frame (Is holding the table)


              <080915_DSCI6033.eps> = the rectangle that holds the image

                   <New text frame added by script!...> = the text frame inside the rectangle

                   <080915_DSCI6033.eps> = the image itself


         <Rechteck> = rectangle (is the yellow one behind the table)


    The corresponding screen grab after editing the position and some other properties of the added text frame:




    No need for grouping something…



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points