Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am sorry if it appears that I am spamming, I am just trying to learn as much about Ubuntu development as possible. I have this basic Quickly app set up and working fine. I have one image on the first form/view or what ever it is called. I have put the image file in the projectname/data/media/ folder as a png with Gimp. It shows up fine in Glade. I save then I type: quickly run then it just shows up the icon for file N/A. It says this in the console:

Could not load image 'step1.png': Failed to open file '/home/jtp/projectnamme/data/ui/step1.png':

share|improve this question
    
Can you manually open the file, in "Image viewer" or something? Hopefully, you have "saved as" in gimp and not changed its extension, as gimp does not automatically save in .png format. –  i08in Dec 29 '12 at 4:17

1 Answer 1

Instead of specifying your image as step1.png, use this (relative) path in place of it:

../media/step1.png

This should cause it to be accessed in the right place, since .. represents the parent directory of wherever the application is currently looking (in this case, apparently /home/jtp/projectnamme/data), and the actual file is located in /home/jtp/projectname/media.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.