Scaled image doesn't appear
Hi, can someone tell me why the scaling of the image does not work in the code below.
I making a board game application with these inherited JLabel components used to display each players piece on a background created using an inherited JPanel. The image is correctly displayed on the JPanel at the correct location.
The problem I'm encountering is that when I attempt to scale the image used the scaledInstance method it doesn't appear on the board but appears perfectly if I use the default image (comment out the scaled instance part of the line).
I've tried downscaling as well increasing size, in case the image is too large and putting absolute values in but to no avail.
Any help would be appreciated.
Thanks
package UserInterface;
import java.awt.*;
import javax.swing.*;
public class PieceIcon extends JLabel
//Create new image with the piece (symbol) chosen by the player
public PieceIcon(String symbol,int pNum)
playerNumber = pNum;
pieceImage = new ImageIcon("./Images/"+symbol+".jpg").getImage().getScaledInstance(10,10,Image.SCALE_DEFAULT);
// above line works if scaled instance part removed, even though scaled image smaller
setOpaque(false);
public void paintComponent(Graphics g)
super.paintComponent(g);
g.drawImage(pieceImage,boardPos[0][(MainFrame.getPlayer(playerNumber).getCurrentBoardPos())],
boardPos[1][(MainFrame.getPlayer(playerNumber).getCurrentBoardPos())],this);
private Image pieceImage;
private int playerNumber;
private static int[][] boardPos = (set of relative positions here, not displayed to make post easier to read)
bump
Similar Messages
-
Image as drop-down text link -- image doesn't appear
(Using Robohelp X5)
Wondering if anybody has had anything like this happen before
and can explain it for me???
First line of topic is type <h1>. At the end of the
line I have an icon that is a link to drop-down text.
Here's where it gets weird. I compiled the help and displayed
the .chm. Looked at the topic, the image doesn't appear, but is
clickable (and works properly). Used the 'print' option from the
.chm to print to .pdf. The image appears in the .pdf.
Looked at the code, can't see anything wrong with it.
Back in the wysiwyg editor, selected the last character of
normal text plus the clickable icon, copied and pasted in place (so
now have
<text2><dropdown2><text><dropdown>)
Removed <text><dropdown> (the original content),
edited the code to use the proper 'name' attribute (because it was
modified on the paste), recompiled, ran the .chm, everything
displays properly (the image is there).
Note: I was having similar problems with it earlier, think I
fixed it the same way, and everything was okay for a few compiles,
then started having the problems again.
At this point, as far as I can see, the .html is the *same*
as it was before, but now the image appears in the .chm. Colour me
totally confused :-)
Anybody have any insights as to why this could be happening?
Thanks!Change what you have now:
a:link {
color: #4E8E98;
text-decoration: none;
a:visited {
text-decoration: none;
color: #4E8E98;
a:hover {
text-decoration: none;
color: black;
a.dark:active {
text-decoration: none;
color: #FFF;
a.light:link {
color: #DCDBE1;
text-decoration: none;
a.light:visited {
text-decoration: none;
color: #DCDBE1;
a.light:hover {
text-decoration: none;
color: #776153;
a.light:active {
text-decoration: none;
color: #FFF;
a.dark:link {
color: #4E8E98;
text-decoration: none;
a.dark:visited {
text-decoration: none;
color: #4E8E98;
a.dark:hover {
text-decoration: none;
color: black;
a.dark:active {
text-decoration: none;
color: #FFF;
To this:
/**MAIN LINKS**/
a {text-decoration: none}
a:link { color: #4E8E98;}
a:visited {color: #4E8E98;}
a:hover { color: #000;}
a:active, a:focus {color: #FFF;}
/**SPECIAL LINKS**/
.light a:link {color: #DCDBE1;}
.light a:visited {color: #DCDBE1;}
.light a:hover {color: #776153;}
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
Hello! I downloaded OS X Mavericks on my Mac and my pc didn't restart properly.my desktop image doesn't appear and i can't shut down my pc. what can i do ?
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Step 1
For this step, the title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
In the top right corner of the Console window, there's a search box labeled Filter. Initially the words "String Matching" are shown in that box. Enter "BOOT_TIME" (without the quotes.)
Each message in the log begins with the date and time when it was entered. Note the timestamps of the BOOT_TIME log messages, which refer to the times when the system was started. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Select the messages logged before the boot, during the time something abnormal was happening. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
For example, if the system was unresponsive or was failing to shut down for three minutes before you forced a restart, post the messages timestamped within three minutes before the boot time, not after. Please include the BOOT_TIME message at the end of the log extract—not at the beginning.
If there are long runs of repeated messages, please post only one example of each. Don’t post many repetitions of the same message.
☞ When posting a log extract, be selective. A few dozen lines are almost always more than enough.
☞ Some private information, such as your name, may appear in the log. Anonymize before posting.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
Step 2
In the Console window, select
DIAGNOSTIC AND USAGE INFORMATION ▹ System Diagnostic Reports
(not Diagnostic and Usage Messages) from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar.
There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points down. You'll see a list of reports. A crash report has a name that begins with the name of the crashed process and ends in ".crash". A panic report has a name that begins with "Kernel" and ends in ".panic". Select the most recent of each. The contents of the report will appear on the right. Use copy and paste to post the entire contents—the text, not a screenshot.
I know the report is long, maybe several hundred lines. Please post all of it anyway.
☞ If you don't see any reports listed, but you know there was a crash or panic, you may have chosen Diagnostic and Usage Messages from the log list. Choose DIAGNOSTIC AND USAGE INFORMATION instead.
In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
☞ Please don’t post other kinds of diagnostic report—they're very long and rarely helpful. -
Bckgrnd image doesn't appear in Firefox
I am a novice with Dreamweaver, but managed to create a site.
I placed a repeat background image by using Modify>Page
Properties. The image appears successfully in Safari, but not in
Firefox. I know nothing about code, so I thought maybe someone
could walk me through it. My website is www.petit-bureau.com and
below is the code for the homepage. Thank you!
<html>
<head>
<title>PB_website_2</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++) x.src=x.oSrc;
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
d.MM_p[j++].src=a
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers
.document);
if(!x && d.getElementById) x=d.getElementById(n);
return x;
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
//-->
</script>
<style type="text/css">
<!--
.unnamed1 {
background-image: url(brownpaperbag.jpg);
-->
</style>
</head>
<background="brownpaperbag.jpg" leftmargin="0"
topmargin="20" marginwidth="0" marginheight="20"
onLoad="MM_preloadImages('images/about_rollover_03.jpg','images/work_rollover_04.jpg','im ages/contact_rollover_05.jpg')"
background-image ="brownpaperbag.jpg">
<body bgcolor="#FFFFFF" background="brownpaperbag.jpg"
topmargin="20" marginheight="20">
<table width="810" height="600" border="0" align="center"
cellpadding="0" cellspacing="0" class="unnamed1" id="Table_01">
<tr>
<td rowspan="3">
<img src="images/index_01.jpg" width="520" height="168"
alt=""></td>
<td colspan="4">
<img src="images/index_02.jpg" width="290" height="106"
alt=""></td>
</tr>
<tr>
<td> <a href="#" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image9','','images/about_rollover_03.jpg',1)"><img
src="images/about_03.jpg" name="Image9" width="80" height="28"
border="0"></a></td>
<td> <a href="BellaSolutions.html"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image10','','images/work_rollover_04.jpg',1)"><img
src="images/work_04.jpg" name="Image10" width="74" height="28"
border="0"></a></td>
<td> <a href="Contact-Page.html"
onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image11','','images/contact_rollover_05.jpg',1)"><img
src="images/contact_05.jpg" name="Image11" width="81" height="28"
border="0"></a></td>
<td>
<img src="images/index_06.jpg" width="55" height="28"
alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="images/index_07.jpg" width="290" height="34"
alt=""></td>
</tr>
<tr>
<td colspan="5">
<img src="images/index_08.jpg" width="810" height="38"
alt=""></td>
</tr>
<tr>
<td colspan="5">
<img src="images/index_09.jpg" width="810" height="394"
alt=""></td>
</tr>
</table>
</body>
</html>http://www.petit-bureau.com/brownpaperbag.jpg
The image cannot be displayed because it contains errors. It
doesn't load
in IE6 either. Try uploading the image again.
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"PBDS" <[email protected]> wrote in message
news:[email protected]...
> I am a novice with Dreamweaver, but managed to create a
site. I placed a
repeat
> background image by using Modify>Page Properties. The
image appears
> successfully in Safari, but not in Firefox. I know
nothing about code, so
I
> thought maybe someone could walk me through it. My
website is
> www.petit-bureau.com and below is the code for the
homepage. Thank you!
> <html>
> <head>
> <title>PB_website_2</title>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> <script language="JavaScript"
type="text/JavaScript">
> <!--
> function MM_swapImgRestore() { //v3.0
> var i,x,a=document.MM_sr;
for(i=0;a&&i<a.length&&(x=a
)&&x.oSrc;i++)
> x.src=x.oSrc;
> }
>
> function MM_preloadImages() { //v3.0
> var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new
Array();
> var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
for(i=0;
i<a.length;
> i++)
> if (a.indexOf("#")!=0){ d.MM_p[j]=new Image;
d.MM_p[j++].src=a
> }
>
> function MM_findObj(n, d) { //v4.01
> var p,i,x; if(!d) d=document;
>
if((p=n.indexOf("?"))>0&&parent.frames.length) {
> d=parent.frames[n.substring(p+1)].document;
n=n.substring(0,p);}
> if(!(x=d[n])&&d.all) x=d.all[n]; for
(i=0;!x&&i<d.forms.length;i++)
> x=d.forms[n];
>
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
> x=MM_findObj(n,d.layers
.document);
> if(!x && d.getElementById)
x=d.getElementById(n); return x;
> }
>
> function MM_swapImage() { //v3.0
> var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new
Array;
> for(i=0;i<(a.length-2);i+=3)
> if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x;
if(!x.oSrc)
> x.oSrc=x.src; x.src=a[i+2];}
> }
> //-->
> </script>
> <style type="text/css">
> <!--
> .unnamed1 {
> background-image: url(brownpaperbag.jpg);
> }
> -->
> </style>
> </head>
> <background="brownpaperbag.jpg" leftmargin="0"
topmargin="20"
marginwidth="0"
> marginheight="20"
>
onLoad="MM_preloadImages('images/about_rollover_03.jpg','images/work_rollove
r_04
> .jpg','images/contact_rollover_05.jpg')"
background-image
="brownpaperbag.jpg">
> <body bgcolor="#FFFFFF"
background="brownpaperbag.jpg" topmargin="20"
> marginheight="20">
> <table width="810" height="600" border="0"
align="center" cellpadding="0"
> cellspacing="0" class="unnamed1" id="Table_01">
> <tr>
> <td rowspan="3">
> <img src="images/index_01.jpg" width="520"
height="168" alt=""></td>
> <td colspan="4">
> <img src="images/index_02.jpg" width="290"
height="106" alt=""></td>
> </tr>
> <tr>
>
> <td> <a href="#"
onMouseOut="MM_swapImgRestore()"
>
onMouseOver="MM_swapImage('Image9','','images/about_rollover_03.jpg',1)"><im
g
> src="images/about_03.jpg" name="Image9" width="80"
height="28"
> border="0"></a></td>
>
> <td> <a href="BellaSolutions.html"
onMouseOut="MM_swapImgRestore()"
>
onMouseOver="MM_swapImage('Image10','','images/work_rollover_04.jpg',1)"><im
g
> src="images/work_04.jpg" name="Image10" width="74"
height="28"
> border="0"></a></td>
>
> <td> <a href="Contact-Page.html"
onMouseOut="MM_swapImgRestore()"
>
onMouseOver="MM_swapImage('Image11','','images/contact_rollover_05.jpg',1)">
<img
> src="images/contact_05.jpg" name="Image11" width="81"
height="28"
> border="0"></a></td>
> <td>
> <img src="images/index_06.jpg" width="55" height="28"
alt=""></td>
> </tr>
> <tr>
> <td colspan="4">
> <img src="images/index_07.jpg" width="290"
height="34" alt=""></td>
> </tr>
> <tr>
> <td colspan="5">
> <img src="images/index_08.jpg" width="810"
height="38" alt=""></td>
> </tr>
> <tr>
> <td colspan="5">
> <img src="images/index_09.jpg" width="810"
height="394" alt=""></td>
> </tr>
> </table>
> </body>
> </html>
> -
Logo Image doesn't appear in Folder
I'm using configurator 3. Windows 7 64
I have placed a jpg image in the folder .assets. I can see it via Windows explorer, but
when I'm in Basic Attributes and select under Location and in the same directory, I don't see it.
I can open the file from CS6 so I know its there. It simply doesn't show up in Configurator. Also is there a way to set Configurator to always open with administrator rights. I'm logged in as administrator but have to right click and select Run as administrator when using it.
ThanksHave you tried another image format, such as PNG? That might help.
As for your last question:
Right click the exe file > Properties > Compatibility > Privilege Level > Run this program as an administrator
...and then click apply. This will make "running as admin" the default for that particular application. -
Image Doesn't Appear in Lightroom Mobile
I have one image that makes it from LR to the lightroom.adobe.com website, but it never gets to my iOS devices: 2014 Book. I also note that the image on the website is blurry, as though the JPEG conversion never completed. I've tried to remove/re-add this image many times, but it never syncs. Any suggestions why this might be the case? Is there a way to report this to Adobe as a bug? It's entirely reproduceable. ...doug
Hi Doug, when I look at the image renditions at the back-end I see that there is something missing. Could you send me a private message with a downloadable dropbox link to the original photo so that I can try to reproduce?
Btw. Does it help when you add the image to a new collection?
- Guido/ Lr Mobile -
Back-up / Retrieve Files from an external hard drive that doesn't appear in Devices
Someone please help!
I am going to write the "history" from my disk utility repair here so that other's who copy and paste into search may find it:
(PLEASE SCROLL 13 ROWS DOWN)
Verify and Repair volume “Your Hard Drive Name”
Checking Journaled HFS Plus volume.
Checking extents overflow file.
Checking catalog file.
Keys out of order
Rebuilding catalog B-tree.
The volume could not be repaired.
Volume repair complete.Updating boot support partitions for the volume as required.Error: Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.
Ok. I would really love to reformat this disk, but I have stuff on here from film school that I CAN NOT lose
Question:
How would I go about backing-up the disk if the image doesn't appear under devices? I went to the "Restore" tab/button, but I can not choose the hard drive in the first field. I could have sworn my hard drive was formatted for Mac, but I may have formatted it back to FAT32. I know the disk still functions because when it is powered on, it cycles with/without being connected to my MacPro, but after that, it will only cycle if connected (confirming connection). It does run again when I connect the firewire cable. Here is my equipment:
8-Core MacPro 16GB-Mem RAID
MacOSX 10.6.8 | 2 X 1TB Internal HDD
Aug-2008 15" MacBookPro
(That I used the Maxtor-External with mostly)
DEVICE IN QUESTION
500GB Maxtor One-Touch Plus
FireWire 400 6-pin Connection Bus (2 Ports)
Purchased in Early 2008 from Staples
I can fit the back-up on my 2nd HDD in my MacPro or in my other External:
2 TB G-Technology G-RAID External
1 x eSATA | 2 x FireWire 800 9-pin | 1 x USB 2.0
Self Powered DC-IN
I have had a nightmare searching for answers, so any options you might have would be tremendously helpful. I can't lose the data because I have everything I did during film school on there. That stuff is basically what you pay for when you go to film school, you pay to show what you can do and what equipment you have used. SAVE ME FELLOW APPLE PEOPLE!!!! We COMMAND, as well as CONTROL!
-RaphSaiGet Disk Warrior that will repair the problems without requiring that you reformat the drive - $99.00 on a bootable CD. Will not work on a FAT formatted drive.
You will need to use Drag and Drop to save your files by copying them from the bad drive to a good one.
To reprep the drive:
Drive Preparation
1. Open Disk Utility in your Utilities folder.
2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
6. Click on the Erase button. The format process can take up to several hours depending upon the drive size. -
Special attribute "image" doesn't seem to work with "progressbar"...
hi all !
I'm using special attributes of the plug-in (http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/special_attributes.html) to customize its look while loading. I noticed that when I use the "image" attribute, it works fine, but if I use the "progressbar" attribute too, the image doesn't appear anymore (in fact, if I use "progressbar" without "image", the default coffee cup icon doesn't appear either)...
Is it a well-known bug ? Am I doing something wrong ? Does somebody have any info ?
TIA...Damn, I made a rookie mistake... :(
Sorry, this is indeed a well-known fact (but not considered as a bug) : http://developer.java.sun.com/developer/bugParade/bugs/4794328.html.
Sorry again... -
Image bytea doesn't appear on CR.
It doesn't appear to be possible to display images stored in a PostgreSQL database on a report in the CR report designer.
PostgreSQL databases usually store images in a column of type "bytea". The Field Explorer in CR shows this as a String[-1] type. It allows the field to be dropped on a report but it behaves just like a text field. When the report is previewed, the field is empty even if the column has an image stored in it.Image fields must be BLOB types.
-
Pop-up menu - Arrow Image for submenu doesn't appear in DW/IE
Hello all,
I created a pop-up menu with submenus in Fireworks MX 2004
=> this is displayed fine in a preview in FW.
I then exported this image and html files to a subdir within
my website. I then used the following to insert it into my template
file:
Insert => Image => Fireworks HTML => selected the
html file exported in FW.
My problem is, when I try to preview the page in IE (via DW
MX 2004), the pop-up menu and submenus are all ok....BUT...
the small arrow (image) to link between the First menu level
and the second submenu doesn't appear -> instead the generic
image appears (as in file not found). Looking at the code on the
template page, the file is "arrows.gif" and the path looks ok in
the file.
Note that MM_menu.js and the arrows.gif and all other
exported files (from FW) are in the same directory.
mm_menu_0510135640_0.childMenuIcon="../images/photogallery/arrows.gif";
It seems as though the path for the arrows.gif isn't right -
any ideas where?
Thanks & Regards,
SMIf you are going to use these menus, you need to know
something about them.
Please read this -
http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
There are MUCH better ways -
Check the uberlink and MacFly tutorials at PVII -
http://www.projectseven.com/
and the Navbar tutorial/articles at Thierry's place
http://tjkdesign.com/articles/dropdown/
Or this one (more recent article):
http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
Or to get it done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"srmistry" <[email protected]> wrote in
message
news:[email protected]...
> Hello all,
>
> I created a pop-up menu with submenus in Fireworks MX
2004 => this is
> displayed fine in a preview in FW.
>
> I then exported this image and html files to a subdir
within my website. I
> then used the following to insert it into my template
file:
> Insert => Image => Fireworks HTML => selected
the html file exported in
> FW.
>
> My problem is, when I try to preview the page in IE (via
DW MX 2004), the
> pop-up menu and submenus are all ok....BUT...
>
> the small arrow (image) to link between the First menu
level and the
> second
> submenu doesn't appear -> instead the generic image
appears (as in file
> not
> found). Looking at the code on the template page, the
file is "arrows.gif"
> and
> the path looks ok in the file.
>
> Note that MM_menu.js and the arrows.gif and all other
exported files (from
> FW)
> are in the same directory.
>
mm_menu_0510135640_0.childMenuIcon="../images/photogallery/arrows.gif";
>
> It seems as though the path for the arrows.gif isn't
right - any ideas
> where?
>
> Thanks & Regards,
>
> SM
> -
I have been opening up my photos from My Pictures folder and Elements 12 opens up but the photo doesn't appear in the image screen. Over the weekend it was working fine. I tried the other photo software I have and they open up in those but not in the elements 12.
Which operating system are you running on?
How are you trying to open the photos?
- from windows explorer? - double licking or right clicking and selecting Open with?
- by loading the editor and go to File -> Open?
Looking back at your other threads you seem to have had this problem before - what keeps changing?
Brian -
Image in html signature doesn't appear
I've tried this tutorial to put together an html signature including images.
http://allforces.com/2006/04/14/css-signatures/
As you can see at Step 6, the image shows when the signature is selected. When I compose an email however, I always get a 'blue question mark icon' as if the link to the image can't be found. I'm using images which are online, saved the html file as a webarchive file in safari etc. When I send the email anyway to for example my gmail address, the signature is ok and the image shows in the signature.
Why does the image doesn't show when I am writing the email and include the signature? Why do I get a blue question mark icon when writing the email? Perhaps I should point out that we're using IMAP should that matter.
The image should appear as it does in Step 6 in that tutorial. What could be wrong?Hi there,
I had a similar problem with my .mac (mobileme) mail account. Followed basically same approach: I created the html signature in TextEdit and saved as a webarchive when opened in Safari. Then renamed it to have same name as existing non-html signature file in Home > Library > Signatures
(So, for those who are new to this, it basically replaces the one your mac created when you create a signature within Mail Prefs > Signatures; but even though you replace it, it needs to have the same name so it knows which mail account it applies to; I have 4 mail accounts in my program, with 4 sigs I created via the Prefs, so there were 4 of those sig files in Library).
Then I uploaded the image to an external server. Made sure I reselected the signature in the middle pane of the Prefs > Signatures area and dragged it over to the mail account.
Composed mail using .mac account, new signature DID appear (but it doesn't when looking at Prefs > Sig pane; that shows the ? mark because it doesn't go get the image at the external server, I guess). *Problem: when I sent mail as a test, it wouldn't show up in the mail that I sent.*
I just figured that Apple was stripping out the html sig. But today I tested again and it's there.
Somewhere in this thread, one of the guys mentioned giving it some time. That seems to have worked for me.
Just wanted to share because more and more people are starting to add html sigs.
(P.S. Also created these html sigs for my other, non-mobileme mail accounts and they appeared in the sent mail as soon as I sent the mail. No delay.) -
Change of image in JLabel doesn't appear
Hi!
In my custom JPanel class, I add a JLabel with nothing in it. Then. When auser clicks a Button, I set an imageicon for this jlabel. but it doesn't appear until I force a repaint, e.g. by resizing the app.
repaint(), validate() or invalidate() didn't work!
thank you!thank you, problem found! t'was not caused bei repaint ;)
-
Pages 5.5: app doesn't appear in dock or tab bar when open
We are seeing this issue on the two macs in our office we tested (mine and a coworkers). To reproduce it:
Open pages
Click "Done" on the open/new document window (or simply close all documents you have open)
Click the desktop to send Pages to the background
If you Cmd+Tab, Pages doesn't appear for us. It also doesn't appear in the dock. Activity Monitor shows the app is still running and using spotlight to "open" it again brings it back to the foreground.
Is anyone else having this same problem?
Pages 5.5 2109
Yosemite 10.10
MBP 13", 2.66 GHz Intel Core 2 Duo
8 GB RAM
256 GB SSDNewly downloaded apps will appear in the column on the left. The images on the right show what is installed on the device. Perphaps the logic has changed slightly with older builds also including what would be synced as well. Untick the box that says Automatically sync new apps and you can choose whether or not to include a new app instead of syncing, then removing.
tt2 -
Time Capsule Disk Doesn't Appear in Finder or Disk Utility
I have a 500G Time Capsule (single band, I think) that I want to partition (just into disk images, not volumes) so that I can maintain separate-sized locations for my family's music library, photos, and Time Machine backups for the non-media files on each of a Mac Mini and 4 laptops. But I will ask more about that later.
My more immediate problem is that the Time Capsule Disk Volume generally just doesn't appear in my Finder or in Disk Utility at all. A couple weeks ago, for some reason, it did appear once and I took the opportunity to create a 215G Disk Image--leaving 250G for the rest of the Disk Volume which was indicated as having 465G rather than 500G actually available. But since then (as before) the Time Capsule volume hasn't appeared in Disk Utility at all, and only rarely in the Finder.
In the Finder the Time Capsule appears under the Shared heading in the left panel, with the Time Capsule disk volume appearing as a folder in the right panel (if it connects, which it usually requires a password for, but sometimes it doesn't...). If I open the folder then the right panel goes blank (indicating, I think, that I have opened the volume but there is nothing inside) and the volume (usually) eventually shows up under my own Mac in the Devices heading. (That is, the Time Capsule disk volume shows up along with Network, Macintosh HD, and Remote Disk in the right Finder panel when I select my Mac under Devices in the left Finder panel.) At that point the TC volume shows up in the Finder as a 220G Volume and the disk image shows up indented under it as a 215G Disk Image; indented under the Disk Volume there is also a 5G Sparsebundle file from a Time Machine backup. If I open the 220G Disk Volume in the right Finder panel then it shows only the 215G Disk Image and the 5G Sparsebundles in the right Finder panel. This seems to suggest that the 215G Disk Image and the 5G Sparsebundles are both treated as 'used' and the 220G size given for the Disk Volume represents what is left (although 215+5+220=440, so where the extra 25G went I don't know).
If I open the 215G Disk Image in the right Finder panel then, after a while, it shows up as a Disk Image in the right Finder panel when my Mac is selected under Devices in the left panel. I can create folders in the Disk Image and copy documents to those folders, at least.
But in any case, regardless of whether I open the 220G Disk Volume or the 215 Disk Image in the Finder, the Disk Volume never appears in Disk Utility so there is no possibility of reformatting it. The 215 Disk Image has sometimes shown up in Disk Utility (and once it apparently allowed me the option of partitioning the Disk Image into further Disk Images), but sometimes it doesn't show up and I haven't been able to figure out why it does or doesn't.
I find this all very confusing and the Finder and Disk Utility behavior seems downright erratic. I'm not sure whether something is broken or if I just don't understand how it works (starting with the difference between the Devices and Shared headings in the left Finder Pane). I would appreciate any advice on how I can reliably access the Time Capsule disk volume in the Finder and Disk Utility. Thanks.Same problem after 10.8.2 update yesterday,
Time Machine functions but disk does not mount in finder.
The disk also shows up in disk utility when TM is running
as mounted (beneath a sparse image file) but not visible.
Is this a bug, or a feature?
LW
MBPro. OSX Mountain Lion, backing up to Time Capsule
Maybe you are looking for
-
I have both Mac OS Mountain Lion and Windows 8.1 32-bit installed....The machine is Macbook Mid 2009...Whatever i do i can't install and use bootcamp on the Windows side.........Apple Support says it only supports Windows 64-bit which my machine
-
Backing up Air SSD and external drive to Time Machine
Hi Sincere apologies if this has been asked and answered but I cannot find an answer or phrase a search properly to do so. I have a 500gb MacBook and am planning to get a MacBook Air. I would like to move much of the content from my MacBook to an e
-
Variable one to one mapping question
I'm trying to create a variable one to one mapping using an interface with two implementing classes. The problem that I have is that I have two different values in the class indicator column that I wish to map to the same class. Mapping workbench doe
-
ADF input label rendered but input value not
I based my search page on SRDemo template. In the first panel where I enter search criteria I have the following: <af:panelBox> <af:panelForm> <af:inputText value="#{bindings.partialName.inputValue}" label="#{bindings.partialName.label}" required="#{
-
I cannot open Import-2 which is all of my old mail....aol is my preferred mail on my MAC. Help please. Thanks.