Can't See the Image

Mike Bonner bonnmike at gmail.com
Thu Feb 26 12:18:14 EST 2015


Oh, and you might check "the result" right after you set the filename and
see if it says "could not open image" which probably indicates a problem
with the path in your code.

On Thu, Feb 26, 2015 at 10:17 AM, Mike Bonner <bonnmike at gmail.com> wrote:

> Oh true, it just returns the same filepath that it was given on osx and
> linux. However, now i'm wondering, linux and osx are case sensitive, if
> you're on one of those, are you sure you're not having a case issue?
>
> On Thu, Feb 26, 2015 at 10:14 AM, Klaus major-k <klaus at major-k.de> wrote:
>
>>
>> > Am 26.02.2015 um 18:11 schrieb Mike Bonner <bonnmike at gmail.com>:
>> >
>> > Not sure it has anything to do with it, but you might try to-- set the
>> > filename of image "myimage" to the shortfilepath of "path/to
>> the/file.png"
>> > which will turn it into a non spaced, 8.3 style path.  But I see klaus
>> has
>> > added a response, so i'm sure correct answer is forthcoming as soon as I
>> > update my screen. :D  (either way, the shortfilepath conversion is
>> helpful
>> > in so many places, especially when using shell() )
>>
>> Hint: shortfilepath() is WIndows only!
>>
>> --
>> Klaus Major
>> http://www.major-k.de
>> klaus at major-k.de
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>



More information about the use-livecode mailing list