[aida] photos experiment

Janko Mivšek janko.mivsek at eranova.si
Wed Feb 16 12:40:44 CET 2011


Hi Ching,

I'm trying to find some time to chase your problem, but in the meantime,
can you try to open this jpg directly from browser.

If you put testimage.jpg on a directory where your image started, can
you open it from browser directly:

	http://localhost:8888/testimage.jpg ?

If not, can you open it through File->Open file ?

Also, how did you start your image, double clicking from OneClick?

It could be that default .\ path doesn't point to the right directory,
can you change it to absolute path to your images directory:

	AIDASite>>homeDirectory: 'c:\absolute path'

Also which version of Windows do you use?

Hope this would help a bit
JAnko

On 16. 02. 2011 12:27, Ching de la Serna wrote:
> Hi All,
> 
> I am inclined to believe that Nicholas is right about permissions.
> Windows might be blocking the jpeg file from being displayed. I changed
> the jpeg properties to "unblock" and restarted my computer. I also
> downloaded Google Chrome thinking it might be a Firefox problem. Nothing
> worked. I am ready to give up unless someone can point me in the right
> direction.It seems kind of strange though, a jpeg from another website
> displays with no problem while a local file is blocked. Strange behavior
> if indeed it is an OS issue.
> 
> Thanks,
> 
> Ching de la Serna
> 
> On Wed, Feb 16, 2011 at 7:00 PM, <aida-request na aidaweb.si
> <mailto:aida-request na aidaweb.si>> wrote:
> 
>     Send Aida mailing list submissions to
>            aida na aidaweb.si <mailto:aida na aidaweb.si>
> 
>     To subscribe or unsubscribe via the World Wide Web, visit
>            http://lists.aidaweb.si/mailman/listinfo/aida
>     or, via email, send a message with subject or body 'help' to
>            aida-request na aidaweb.si <mailto:aida-request na aidaweb.si>
> 
>     You can reach the person managing the list at
>            aida-owner na aidaweb.si <mailto:aida-owner na aidaweb.si>
> 
>     When replying, please edit your Subject line so it is more specific
>     than "Re: Contents of Aida digest..."
> 
> 
>     Today's Topics:
> 
>       1. photos experiment (Ching de la Serna)
>       2. Re: photos experiment (Nicholas Moore)
>       3. Re: photos experiment (ching)
> 
> 
>     ----------------------------------------------------------------------
> 
>     Message: 1
>     Date: Wed, 16 Feb 2011 09:40:56 +0800
>     From: Ching de la Serna <ching.dls na gmail.com
>     <mailto:ching.dls na gmail.com>>
>     Subject: [aida] photos experiment
>     To: aida na aidaweb.si <mailto:aida na aidaweb.si>
>     Message-ID:
>            <AANLkTimSqkN1JK9OHU-Pvb8Lmp8n1Phwoa8jP0_PA_Hu na mail.gmail.com
>     <mailto:AANLkTimSqkN1JK9OHU-Pvb8Lmp8n1Phwoa8jP0_PA_Hu na mail.gmail.com>>
>     Content-Type: text/plain; charset="iso-8859-1"
> 
>     Hi,
> 
>     Aida is such an amazing web framework but I am finding it difficult to
>     display photos. After failing to display images from my local disk, I
>     started anew with a clean ver6.2 with the hope that it might lead me
>     somewhere. Placing a jpeg file in my root directory, I had
> 
>     e addImage: 'testimage.jpg' size: 100 na 200.
> 
>     as it happened many times before, nothing was displayed but the browser
>     reports "waiting or localhost....". I then changed the code to:
> 
>     e addImage: '*testimages.jpg*' size: 100 na 200.
> 
>     making it *testimages*.jpg which cannot be found in my directory.
>     Reloading
>     the page allowed the browser to finish *without *the "waiting for
>     localhost.." There is something going on and I don't know what it is.
>     Perhaps someone has an idea?
> 
>     Thanks in advance.
> 
>     ching de la serna
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/35e4d3ba/attachment.html
> 
>     ------------------------------
> 
>     Message: 2
>     Date: Wed, 16 Feb 2011 09:40:11 +0100
>     From: Nicholas Moore <nicholas.moore na tsr-i.com
>     <mailto:nicholas.moore na tsr-i.com>>
>     Subject: Re: [aida] photos experiment
>     To: "AIDA/Web general discussion list" <aida na aidaweb.si
>     <mailto:aida na aidaweb.si>>
>     Message-ID: <201102160940.14642.nicholas.moore na tsr-i.com
>     <mailto:201102160940.14642.nicholas.moore na tsr-i.com>>
>     Content-Type: text/plain; charset="iso-8859-15"
> 
>     Hi Ching,
> 
>     Are you using Linux - maybe it is an issue with permissions - does
>     the httpd user have access to the jpg file?
> 
>     On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     > Hi,
>     >
>     > Aida is such an amazing web framework but I am finding it difficult to
>     > display photos. After failing to display images from my local disk, I
>     > started anew with a clean ver6.2 with the hope that it might lead me
>     > somewhere. Placing a jpeg file in my root directory, I had
>     >
>     > e addImage: 'testimage.jpg' size: 100 na 200.
>     >
>     > as it happened many times before, nothing was displayed but the
>     browser
>     > reports "waiting or localhost....". I then changed the code to:
>     >
>     > e addImage: '*testimages.jpg*' size: 100 na 200.
>     >
>     > making it *testimages*.jpg which cannot be found in my directory.
>     Reloading
>     > the page allowed the browser to finish *without *the "waiting for
>     > localhost.." There is something going on and I don't know what it is.
>     > Perhaps someone has an idea?
>     >
>     > Thanks in advance.
>     >
>     > ching de la serna
>     >
> 
>     --
>     Nicholas Moore
>     Skype: tsr_nicholas
> 
>     Check out my Blog
> 
>     "Still Running - that I may die in good health"
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     http://lists.aidaweb.si/pipermail/aida/attachments/20110216/ce4b05bf/attachment-0001.htm
> 
>     ------------------------------
> 
>     Message: 3
>     Date: Wed, 16 Feb 2011 01:33:04 -0800 (PST)
>     From: ching <ching.dls na gmail.com <mailto:ching.dls na gmail.com>>
>     Subject: Re: [aida] photos experiment
>     To: aida na aidaweb.si <mailto:aida na aidaweb.si>
>     Message-ID: <1297848784165-3308440.post na n4.nabble.com
>     <mailto:1297848784165-3308440.post na n4.nabble.com>>
>     Content-Type: text/plain; charset=us-ascii
> 
> 
>     Hi Nicholas,
> 
> 
> 
>     Nicholas Moore wrote:
>     >
>     > Hi Ching,
>     >
>     > Are you using Linux - maybe it is an issue with permissions - does the
>     > httpd user have access to the jpg file?
>     >
>     > I am just using Windows and I'm not sure if I need permissions to
>     use the
>     > jpg files in my directory. I remember displaying images using
>     Seaside and
>     > I did not really have any problem doing it whether on my local
>     machine or
>     > behind Apache. I am thinking of keeping everything in Smalltalk
>     > (Swazoo/Aida).
>     >
>     > Thanks for the response,
>     >
>     > ching
>     >
>     > On Wednesday 16 Feb 2011 02:40:56 Ching de la Serna wrote:
>     >> Hi,
>     >>
>     >> Aida is such an amazing web framework but I am finding it
>     difficult to
>     >> display photos. After failing to display images from my local disk, I
>     >> started anew with a clean ver6.2 with the hope that it might lead me
>     >> somewhere. Placing a jpeg file in my root directory, I had
>     >>
>     >> e addImage: 'testimage.jpg' size: 100 na 200.
>     >>
>     >> as it happened many times before, nothing was displayed but the
>     browser
>     >> reports "waiting or localhost....". I then changed the code to:
>     >>
>     >> e addImage: '*testimages.jpg*' size: 100 na 200.
>     >>
>     >> making it *testimages*.jpg which cannot be found in my directory.
>     >> Reloading
>     >> the page allowed the browser to finish *without *the "waiting for
>     >> localhost.." There is something going on and I don't know what it is.
>     >> Perhaps someone has an idea?
>     >>
>     >> Thanks in advance.
>     >>
>     >> ching de la serna
>     >>
>     >
>     > --
>     > Nicholas Moore
>     > Skype: tsr_nicholas
>     >
>     > Check out my Blog
>     >
>     > "Still Running - that I may die in good health"
>     >
>     > _______________________________________________
>     > Aida mailing list
>     > Aida na aidaweb.si <mailto:Aida na aidaweb.si>
>     > http://lists.aidaweb.si/mailman/listinfo/aida
>     >
>     >
> 
>     --
>     View this message in context:
>     http://forum.world.st/photos-experiment-tp3308053p3308440.html
>     Sent from the AIDA/Web mailing list archive at Nabble.com.
> 
> 
>     ------------------------------
> 
>     _______________________________________________
>     Aida mailing list
>     Aida na aidaweb.si <mailto:Aida na aidaweb.si>
>     http://lists.aidaweb.si/mailman/listinfo/aida
> 
> 
>     End of Aida Digest, Vol 45, Issue 10
>     ************************************
> 
> 
> 
> 
> _______________________________________________
> Aida mailing list
> Aida na aidaweb.si
> http://lists.aidaweb.si/mailman/listinfo/aida

-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list