Having issues with background in dmg

Joined
Nov 18, 2011
Messages
2
Reaction score
0
Points
1
Hi all.

I haven't been able to google my way out of this one, so I hope you can help me.
I'm trying to create a .dmg for class, that includes Wine and an .app-file created with winebottler. I put both in the folder, along with a applications-shortcut. I then put a nice homemade background in the folder (and hid the file using Terminal) and this is where it goes wrong for me.
Whenever I open the .dmg on SnowLeopard or Leopard the background works just fine, but when I open it on Lion the background just displays as a tiny icon in the upper left corner.

Does anyone know why it won't display right in Lion? And is there a fix for this?
I'd rather fix it on my own SL-mac than use my mate's that run Lion, as I'd rather avoid using Terminal on his machine.
 
Joined
Nov 28, 2011
Messages
2
Reaction score
0
Points
1
I got exactly the same problem...

I was using a png image and well... after 3 hours of googling and headbraking I found the problem: Lion does not like png format as dmg background.

I changed to a jpg image and all is now working good...

Don't know why they decided to change... I find png a better format then jpg... :Angry:
 
OP
R
Joined
Nov 18, 2011
Messages
2
Reaction score
0
Points
1
But my image WAS (and is) a JPEG-file so that shouldn't really be the issue here :/ Maybe I should try with a different format, though.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,937
Reaction score
573
Points
113
Location
Queensland
Your Mac's Specs
Too many devices to list
PNGs work fine - I use it here to make backgrounds and they work without fault. How are you hiding the file? Which picture are you using (can we test it)?
 
Joined
Nov 28, 2011
Messages
2
Reaction score
0
Points
1
it's a just a normal png picture... I use tu build my dmg with a script, But I could reproduce this issue manually.

I simply tryed to build an empty dmg, I created a ".background" directory and inside it I saved a png downloaded from Internet (http://sclp.ch/images/stories/immagini/copertina-web.png)... Then I opened the view option and I set the background image dragging the image I just saved.

The result is exactly what's described in rasmusvedel 1st post...

Doing exactly the same procedure with a .jpg file, the background shows well.

I have a mac mini 2.26 Ghz Intel core 2, 2Gb 1067 Mhz and MacOSX 10.7.2 ...

Well... It's a normal PNG downloaded from Internet.

I could reproduce rasmusvedel 1st post behaviour proceeding by hand:

Created an empty dmg file with "Disk Utility". Opened it and created a directory called ".background". Inside it I saved this image: http://sclp.ch/images/stories/immagini/copertina-web.png.

Then I right click in the root of my mounted dmg and clicked "Show View options" (dunno if in english is written like that). Endly, I dragged my saved image in the option view popup.

That's all!

I have a MacMini 2.26 Ghz Intel Core 2, 2Gb, MacOS 10.7.2!!!

In attachment I provided the results using png and jpg...

dmgTest.jpg

dmgTestWithJpg.jpg
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top