Tiny problem placing graphics
Hi,
Anybody know how to make
like this?
Have tried a two-column table setup - eventually abandoned it due to the mess.
Here's the test.indd: http://tinyurl.com/3qk6fjl
Is it possible to fit the graphics' frame to make things as nice and clean as possible?
Thanks!
I can't tell for sure, but I presume you've added the graphic as an inline object? Was there a reason for doing it that way rather than as an independent placed object or using a table?
Have you tried just grabbing the inline frame and dragging it downward?
Similar Messages
-
I have 3 table cells that need a jpeg graphic placed into them.
I can paste a grahic into a table cell, but when i try to preview that page on the iPad, ibook shuts down. I must be placing the graphic wrong or formats are wrong, like object wrap or "inline" "floating" or "anchored". the graphic shows up in the fill once I copy and paste into the cell, but it doesnt show up when I look at the file info in the inspector. Also, once I preview the iBook author project on my iPad, that page will shut down the iBook app.Well KT.....I tried that. But it still didnt work. I have 2 pages that have tables. The first page is just a full page with text only with a gradient colored screen in the table column heads. The 2nd page has the graphic illustration in the 3 table cells. Both pages shut down when opened to full screen view. But when i remove the graphic, there is no problem with a shut down. I know its got to be something you have to do but is unwritten in any manual.
-
Problem placing buttons on top of a background image
My knowledge of Java isn't the greatest and I am currently having problems placing buttons on top of a background image within a JApplet (this is also my first encounter with Applets).
I'm using a Card Layout in order to display a series of different screens upon request.
The first card is used as a Splash Screen which is displayed for 5 seconds before changing to the Main Menu card.
When the Main Menu card is called the background image is not shown but the button is.
While the Applet is running no errors are shown in the console.
Full source code can be seen below;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.net.*;
// First extend JApplet
public class WOT extends JApplet {
//--------------- Variables are declared here -----------------
private CardLayout contentCardLayout = new CardLayout(); // declare CardLayout
private Container contentContain; // declare content Container
private JPanel contentCard, splashScreen, mainMenu, menuImage; // declare content Panels
private JLabel splash, menu, map; // declare image labels
private ImageIcon mapBtn; // declare ImageIcons
private JButton mapOption; // declare option Buttons
private Timer timer; // declare Timer
private ActionListener actionListener, mapOptionListener; // declare ActionListener
//--------------- Initialise Applet -----------------
public void init() {
//--------------- Set-up Card Layout -----------------
contentCard = new JPanel(contentCardLayout); // assign card panels to CardLayout
//--------------- Splash Screen -----------------
splashScreen = new JPanel();
splash = new JLabel(new ImageIcon(getClass().getResource("img/bg.gif")));
splashScreen.add(splash);
splashScreen.setSize(600,800);
splashScreen.setLocation(0,0);
//--------------- "View Map" Option Button -----------------
mapBtn = new ImageIcon(getClass().getResource("img/map.gif"));
mapOption = new JButton(mapBtn);
mapOption.setBorder(null);
mapOption.setContentAreaFilled(false);
mapOption.setSize(150,66);
mapOption.setLocation(150,450);
mapOption.setOpaque(false);
mapOption.setVisible(true);
//--------------- Main Menu Screen -----------------
//menuImage = new JPanel(null);
//menuImage.add(mainMenu);
//menuImage.setLocation(0,0);
mainMenu = new JPanel(null);
menu = new JLabel(new ImageIcon(getClass().getResource("img/menu.gif")));
menu.setLocation(0,0);
mainMenu.add(menu);
//mainMenu.setBackground(Color.WHITE);
mainMenu.setLocation(0,0);
mainMenu.setOpaque(false);
//mainMenu.setSize(150,66);
mainMenu.add(mapOption);
//--------------- Map Image Screen -----------------
map = new JLabel(new ImageIcon(getClass().getResource("img/map.gif")));
//--------------- Add Cards to CardLayout Panel -----------------
contentCard.add(splashScreen, "Splash Screen");
contentCard.add(mainMenu, "Main Menu");
contentCard.add(map, "Map Image");
//--------------- Set-up container -----------------
contentContain = getContentPane(); // set container as content pane
contentContain.setBackground(Color.WHITE); // set container background colour
contentContain.setLocation(0,0);
contentContain.setSize(600,800);
contentContain.setLayout(new FlowLayout()); // set container layout
contentContain.add(contentCard); // cards added
//--------------- Timer Action Listener -----------------
actionListener = new ActionListener()
public void actionPerformed(ActionEvent actionEvent)
//--------------- Show Main Menu Card -----------------
contentCardLayout.show(contentCard, "Main Menu");
//--------------- Map Option Button Action Listener -----------------
mapOptionListener = new ActionListener()
public void actionPerformed(ActionEvent actionEvent)
//--------------- Show Main Menu Card -----------------
contentCardLayout.show(contentCard, "Map Image");
//--------------- Timer -----------------
timer = new Timer(5000, actionListener);
timer.start();
timer.setRepeats(false);
}Any help would be much appreciated!
Edited by: bex1984 on May 18, 2008 6:31 AM1) When posting here, please use fewer comments. The comments that you have don't help folks who know Java read and understand your program and in fact hinder this ability, which makes it less likely that someone will in fact read your code and help you -- something you definitely don't want to have happen! Instead, strive to make your variable and method names as logical and self-commenting as possible, and use comments judiciously and a bit more sparingly.
2) Try to use more methods and even classes to "divide and conquer".
3) To create a panel with a background image that can hold buttons and such, you should create an object that overrides JPanel and has a paintComponent override method within it that draws your image using the graphics object's drawImage(...) method
For instance:
an image jpanel:
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import java.net.URL;
import javax.imageio.ImageIO;
import javax.swing.JButton;
import javax.swing.JPanel;
public class BackgroundImage
// **** this will have to be changed for your program:
private static final String IMAGE_PATH = "../../m02/a/images/Forest.jpg";
private BufferedImage myImage = null;
private JPanel imagePanel = new JPanel()
@Override
protected void paintComponent(Graphics g)
{ // *** here is where I draw my image
super.paintComponent(g); // **** don't forget this!
if (myImage != null)
g.drawImage(myImage, 0, 0, this);
public BackgroundImage()
imagePanel.setPreferredSize(new Dimension(600, 450));
imagePanel.add(new JButton("Foobars Rule!"));
try
myImage = createImage(IMAGE_PATH);
catch (IOException e)
e.printStackTrace();
catch (URISyntaxException e)
e.printStackTrace();
private BufferedImage createImage(String path) throws IOException,
URISyntaxException
URL imageURL = getClass().getResource(path);
if (imageURL != null)
return ImageIO.read(new File(imageURL.toURI()));
else
return null;
public JPanel getImagePanel()
return imagePanel;
}and an applet that uses it:
import java.lang.reflect.InvocationTargetException;
import javax.swing.JApplet;
import javax.swing.SwingUtilities;
public class BackgrndImageApplet extends JApplet
@Override
public void init()
try
SwingUtilities.invokeAndWait(new Runnable()
@Override
public void run()
getContentPane().add(new BackgroundImage().getImagePanel());
catch (InterruptedException e)
e.printStackTrace();
catch (InvocationTargetException e)
e.printStackTrace();
} -
Transparency of placed graphics
Everything was working beautifully and now has gone horribly wrong. I'm sure it's something simple - I just cannot figure out what!
b Configuration:
I am using CS3 (all updates current) on Win Vista. I have been using for nearly a year on this sys.
b Problem:
I'll try to describe as best I can but I'm sure my terminology won't always be correct.
I have InDesign files (brochures) created anywhere from nearly a year ago to a few weeks ago. The linked by placing images looked just as expected until last week or so.
1. My drop shadows, created in InD, printed with boxes around them. My blending space is Normal.
2. Some of my linked by placing graphics have a white box around one of the graphic's layers.
b **For example:
I placed a map that I created in Illustrator. In Illustrator, I created a pathed layer on the map showing a park. I saved as an AI file and PDF file. When I open the map in Illustrator or Acrobat, the map looks perfect. When I place either the AI or PDF in my InD brochure, the map looks fine - except there is a white rectangle around the park. On screen and, worse, in print!**
My blend settings are normal. My display performance is high quality. My transparency blend space is doc CMYK.
This has happened in multiple InD documents. This has happened with multiple graphic files. The graphic files have ranged from a simple, single layer shape PhotoShop files to multi-layer vector Illustrator files. The graphic files appear as desired in their native program or Acrobat.
I have searched help files and knowlegebase files - but perhaps I'm just not looking in the right section - or typing in the correct magic phrase. I desperately need help so I can turn out some brochures (and maybe keep my sanity)!
b All ideas welcome.Oh my goodness! Bob, thank you! The overprint didn't fix the park in the map - but converting all the Illustrator color to process did! Lesson learned.
-
Indesign CS5 crash during startup - problem with Graphics.rpln
I work in an architectural company and already several of our computers have experienced this very rare and unusual behaviour. During start up of Indesign (not clicking on any file but just launching Indesign) it crashes with the following error:
"Adobe Indesign CS5 has stopped working"
We use Windows 7 64bit, so the first step I did - I went into Application Log which says, so appears to be a problem with Graphics.rpln.
-=-=-=-=-=-=-=-=-=-=-===-=-
Fault bucket 1848500921, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: InDesign.exe
P2: 7.0.0.355
P3: 4bad00be
P4: GRAPHICS.RPLN
P5: 7.0.0.355
P6: 4bad03d3
P7: c0000005
P8: 0004e1e2
P9:
P10:
Attached files:
C:\Users\User\AppData\Local\Temp\WER162E.tmp.WERInternalMetadata.xml
These files may be available here:
C:\Users\User\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_InDesign.exe_b042 ec9a818cb8fb57eefe0aacb41c22fdcbb8_10c12aa8
Analysis symbol:
Rechecking for solution: 0
Report Id: 9e59fc2c-5b68-11e3-908c-f46d0497fc9b
Report Status: 0
-=-=-=-=-=-=-=-=-=-=-===-=-
I have tried everything I could think of - removed and reinstalled Adobe CS5, manually removed Adobe folders under %Appdata%\Local and %Appdata%\Remote folders (why can't Adobe delete those things during uninstallation is always a total mystery), changed video adapter drivers, cleaned Temp folders, everything I knew...
None of the other apps like Photoshop or Illustrator CS5 malfunction - only Indesign. What is going on?
Can it conflict with other software we use? We have Bentley Microstation, 3D Max, Office 2010, Kaspersky Antivirus and LOGMEIN installed on this computer...Any clues, guys?Looks to me like you've never installed any of the patches. Last patch for CS5 was 7.0.4, so I'd start with that and see if ti helps.
-
Hi Group,
I'm having a problem placing Jpeg images in DW CS3. Some come
in and display
themselves just fine. Others come in as what appears to be
the file name
displayed as a link, blue text and underlined. Previewed in a
browser, when
I click the link the message is:
The image
"file:///C:/Users/Bob/Documents/CUT/CSL%20Web/My%20Assets/Sandy-Kirk_Web.jpg"
cannot be displayed, because it contains errors.
I've looked at the properties of these different images and
dont have a clue
what the problem is.
Any ideas would be appreciated.
BobLook at the line you pasted into your reply and note that
it's a link
pointing to your hard drive. Of course that will never work
on the web.
Such broken links are often the result of an improperly
defined local site.
What happens if you remove that image and insert it again,
then save the
page? Is the link still broken?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"mont54321" <[email protected]> wrote in
message
news:fneflb$5jh$[email protected]..
> Hi Group,
> I'm having a problem placing Jpeg images in DW CS3. Some
come in and
> display
> themselves just fine. Others come in as what appears to
be the file name
> displayed as a link, blue text and underlined. Previewed
in a browser,
> when
> I click the link the message is:
> The image
>
"file:///C:/Users/Bob/Documents/CUT/CSL%20Web/My%20Assets/Sandy-Kirk_Web.jpg"
> cannot be displayed, because it contains errors.
> I've looked at the properties of these different images
and dont have a
> clue
> what the problem is.
> Any ideas would be appreciated.
> Bob
>
> -
Unwanted lightening effect around placed graphic
I originally posted this in the InDesign forum but that may have been the wrong way to approach it.
I have an Illustrator vector graphic placed in InDesign, it's over a dark background.
Placed by itself the graphic looks fine, exports to PDF fine and prints fine.
However, there is a drop shadow effect added to the frame in InDesign (using the regular select tool), after which the placed graphic still looks fine.
There is, unfortunately, an invisible lightening effect added to the graphic which only manifests in the printed PDF.
This lightening effect is not visible in the InDesign file and is not visible in the PDF on screen (even when I check the separations), it is only visible on the printout of the PDF.
Since it is not visible in the PDF, here is a simulation of the lightening effect:
http://img27.imageshack.us/img27/8025/windoweffect.jpg
Anyone experienced anything like this?It could be anything, but probably due to flattening issues on PDF export.
This is your screen shot, background removed, the two colored rectangles added in ID, added text for "The Gathering," the PS file added and the drop shadow effect applied to the PSD file from within ID. Screen shot is from the PDF.
Take care, Mike -
I have a tiny problem that is driving me mad. When I am playing an album in iTunes using cover flow view (with the playlist beneath the artwork picture) the picture is exactly above the album title. All is symmetrical. When I switch to full screen display, the artwork moves a couple of inches to the left and the display is therefore asymmetrical. Why and how do I correct it? It would drive you mad to.
Thanks for any help,
GrahamI was having the same problem, but tried the "Top Button + Home Button" reset and that did work for me. My unofficial guess is that perhaps RAM caches get filled through daily use of various apps leaving no memory for cover flow. Resetting the phone on the phone itself seems to reset that RAM. I can't say it's a cure-all, but it solved my issue. Hope this helps.
-
I am sending a single-page poster in Illustrator to a commercial printer. There are several placed graphics and I want to choose the correct file-type to keep my Illustrator file nice and small.
Printers like PDFs, but you should consult with the print vendor before you save the file in any particular format. Each vendor is different and have an established workflow. They may not accept JPGs. If the poster prints offset, you will need to supply the appropriate resolution per their request or what they require. If the poster is large format or grand format, then they will or should know what resolution is appropriate. However, large format inkjet only requires 144-150ppi at 100% final size. Try to get in the habit of consulting with the print vendor early on so you end up supplying what is needed.
-
I am facing problem regarding graphical user interface. I am using text box for editing files. I want to show the line numbers and graphical breakpoints along with text box. Can anybody help me in this? Thanks.
Thanks for you reply.
But actually I don't want to show the \ (backslashes) to the user in my text box.
Ok let me elaborate this problem little more.
I want to show my text box as it is in normal editors e.g. In Matlab editor. There is a text box and on left side the gray bar shows the line numbers corresponding to the text. Further more i want that the user should be able to click on any line number to mark specific line as breakpoint (red circle or any graphical indication for mark).
Regards,
Waqas Ahmad -
Problems placing compiled jsp in the right directory
I have problems placing compiled jsp in the right directory.
- My document root is weblogic/myserver/public_html
- My jsp's are placed in weblogic/myserver/public_html/ram/jsp.
- My folder for placing compiled jsp is in weblogic/myserver/compiled_jsp.
- When weblogic compiles my jsp it places them in
weblogic/myserver/compiled_jsp/jsp_servlet/_ram/_jsp
Now I want to compile ram1.jsp and place it in above directory. I tried the
following but it does not place class correct.
1: java weblogic.jspc -d C:\weblogic\myserver\compiled_jsp ram1.jsp
**** Places the class in weblogic/myserver/compiled_jsp/jsp_servlet
2: java weblogic.jspc -d
C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp ram1.jsp
C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp\jsp_servlet\_ram1.cl
ass
What am I doing wrong ?
cheers Per
I would try this...
cd public_html
java weblogic.jspc -prefix compiled_jsp ram/jsp/ram1.jsp
I'm not sure if -prefix is the exact option - something like that - maybe package_prefix.
As always, things work better/easier when you leave things at the default value
(jsp_servlet).
Mike
"Per Lovdinger" <[email protected]> wrote:
>I have problems placing compiled jsp in the right directory.
>
>- My document root is weblogic/myserver/public_html
>- My jsp's are placed in weblogic/myserver/public_html/ram/jsp.
>- My folder for placing compiled jsp is in weblogic/myserver/compiled_jsp.
>
>- When weblogic compiles my jsp it places them in
>weblogic/myserver/compiled_jsp/jsp_servlet/_ram/_jsp
>
>Now I want to compile ram1.jsp and place it in above directory. I tried
>the
>following but it does not place class correct.
>
>1: java weblogic.jspc -d C:\weblogic\myserver\compiled_jsp ram1.jsp
>**** Places the class in weblogic/myserver/compiled_jsp/jsp_servlet
>
>2: java weblogic.jspc -d
>C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp ram1.jsp
>****
>C:\weblogic\myserver\compiled_jsp\jsp_servlet\_ram\_jsp\jsp_servlet\_ram1.cl
>ass
>
>What am I doing wrong ?
>
>cheers Per
>
>
-
Revision: 3216
Author: [email protected]
Date: 2008-09-15 18:13:11 -0700 (Mon, 15 Sep 2008)
Log Message:
Fix for MXMLG-228, a visibility problem with graphic elements. This is a quick fix that may force extra display objects when toggling visibility. We should investigate alternate solutions if performance is a problem.
Bugs: MXMLG-228
Reviewer: Deepa
QA: Please check for performance problems when toggling visibility of a large number of graphic elements.
Ticket Links:
http://bugs.adobe.com/jira/browse/MXMLG-228
http://bugs.adobe.com/jira/browse/MXMLG-228
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement .asHello Antonio;
After many, many test I discovered that the problem, at least in my case it is caused by the new ACR 4.5. Please read the Thread that I post under Camera Raw. I include the link below.
I also open two Bug Reports about this, but as usual Adobe (and other Software Companies) will never take responsability for this, until one day they release a new version with "enhancements".
PSE6 Organizer Crash with ACR 4.5 (Vista Only?)
http://www.adobeforums.com/webx/.3bb6a869.59b60d3e -
After updating to 10.7.3 are having problems with graphics (screenshot attached).
Installing the Combo update did not solve the problem!
Updating to 10.7.4 did not solve the problem.
What should be done that would solve the problem?
/Russian
После обновления на 10.7.3 возникли проблемы с графикой (скриншот прилагается).
Установка Combo обновления проблему не решила.
Обновление до 10.7.4 проблему не решило.
Что необходимо сделать что бы решить проблему?Overheating happens when I use heavy graphics applications. At the moment, MBP cold, but the problem occurred. But if the application is rolled up and open again, the artifacts disappear. The problem occurs 3 ... 5 times a day, which is very annoying. In 10.7.2 before updating to 10.7.3 had no problems.
MBP 13" (mid 2010)
/russian
Перегрев бывает, когда я использую тяжелые графические приложения. В данный момент MBP холодный, но проблема произошла. Но если приложение свернуть и открыть снова, артефакты исчезают. Проблема возникает 3...5 раз в день, что сильно раздражает. В 10.7.2 до обновления до 10.7.3 проблем не было. -
Problems with graphics [link removed]
Hi everyone.
I have problems with graphics [link removed] - Ogłoszenia Hrubieszów. Darmowe ogłoszenia Hrubieszów i okolice. If you want to help, please [link removed] help me in diagnosis. THX !Explain what exactly the problem is rather than spamming the forum with links. The page looks just fine in Firefox and Chrome.
Mylenium -
I created a simple circle with outlined text in Illustrator. I save it as svg 1.1. When I place the svg file into Muse, however, I get the dreaded transparent object with an exclamation point and "unable to generate thumbnail." I place it anyway, but there is no image. What am I doing wrong? THX
Did you follow this?: Adobe Muse Help | Using SVG graphics
Maybe you are looking for
-
How do i add and delete photos from the screensaver preference window
How do i add and delete photos from the screensaver preference window?
-
Using images with transparent backgrounds
Hello. I'm trying to design several forms using a large background graphic along with several other overlays (defined by the form user) that contain transparent backgrounds. Unfortunately, everytime I go to change the graphic, the program won't recog
-
That's it.
-
Set up a media server and backup
I hope I picked the best community for maximum exposure to this set of questions: I want to build a video distribution system. I have teh ability to send audio throughout the house and HD video via 2 CAT 6 in every room. From my research and being
-
I have both of my computers "home share" turned on and I can see both of my computer's playlists...but for some reason I am unable to move new purchases from my desktop to my laptop. All I really want to do is get a new song that I bought on my deskt