On Fri, Jul 10, 2009 at 4:59 AM, Mariano Martinez
Peck<
[hidden email]> wrote:
>
>
> On Thu, Jul 9, 2009 at 9:29 PM, Nicolas Roard <
[hidden email]>
> wrote:
>>
>> On Thu, Jul 9, 2009 at 10:34 PM, Mariano Martinez
>> Peck<
[hidden email]> wrote:
>> >
>> >>
>> >>
>> >>>
>> >>>
>> >>> >
>> >>> > In addition, I don't see "Import Local Pictures" command, only
>> >>> > "Import
>> >>> > Zip
>> >>> > with pictures". Any idea?
>> >>>
>> >>> er... that's weird ! import local pictures should be here, look at the
>> >>> PGImportLocalFilesCommand class.
>> >>
>> >> Yes, this was weird. I will took a clean image and try again.
>> >
>> > Nicolas: I really want and need to use your Gallery.
>> >
>> > I did everything again and have the same problem. There is the class
>> > "Import
>> > Local Pictures" but it is not showed.
>> > I attach and screenshot.
>>
>> This is very odd. If you start a Transcript in your image, do you see
>> any error messages ?
>
> No. Just "generator thread started".
>
>>
>> Also, check that PRStructure do contain a "isGallery" method (if
>> somehow it doesn't, it would at least explain the "import local
>> pictures" missing.
>
> Yes. isGallery is implemented in PRStructure with ^ false and ^ true in
> PRGallery.
>
>>
>> One thing you can try is to execute the following in a workspace:
>> PGImageRequest generator: nil
>> Then edit your gallery (you did create a gallery and not a gallery
>> list, right?),
>
> Yes. I am creating a Gallery, not Gallery List.
>
>>
>> maybe change the size of the thumbnails, this will
>> force a refresh (same as what "import local pictures" would do). Check
>> on your server the directory that normally should have contained the
>> pictures -- what there anything created ?
>
> Yes. That trick would generate all again.
>
>>
>> e.g. you would have something like:
>> Root Pictures Path:
http://www.yoursite.com/photos/>> Root Local Pictures Path: /var/www/photos/
>> Gallery Directory Name: MyGallery
>>
>> if you go look into /var/www/photos you should have something. Maybe
>> do ls -al and see if anything was created.
>
> My website is here:
http://localhost:8888/seaside/destinoMochila/>
> I craeted a Gallery with this:
>
> Root Pictures Path:
http://localhost:8888/seaside/destinoMochila/> Root local pictures path: /home/mariano/galeria/
> Gallery Directory Name: galeria
>
> mariano@mariano-ubuntu:~/galeria$ ls -la
> total 28
> drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 .
> drwxr-xr-x 149 mariano mariano 12288 2009-07-09 23:55 ..
> drwxr-xr-x 2 mariano mariano 4096 2009-07-10 00:06 galeria
> drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 images
> drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 thumbnails
>
> mariano@mariano-ubuntu:~/galeria/galeria$ ls -la
> total 100
> drwxr-xr-x 2 mariano mariano 4096 2009-07-10 00:06 .
> drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 ..
> -rwxrwxrwx 1 mariano mariano 88641 2009-03-23 01:29 S5002755_v3.JPG
>
> mariano@mariano-ubuntu:~/galeria/images$ ls -la
> total 12
> drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 .
> drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 ..
> drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 600px-0
>
> mariano@mariano-ubuntu:~/galeria/thumbnails$ ls -la
> total 12
> drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 .
> drwxr-xr-x 5 mariano mariano 4096 2009-07-10 00:07 ..
> drwxr-xr-x 3 mariano mariano 4096 2009-07-10 00:07 80px-0
>
> So, as you can see, all is being generated.
ok, so that's good ...
yes, good catch, I'll update this.
>
> However....it doesn't show the pictures :(
independantly of seaside, if you type this full url in your browser do
you have it displayed ?.. because it seems that everything works
correctly in seaside/pier, it's just that you don't server the files.
Note that you _need_ a web server to serve this in addition to seaside
-- you need either something like apache or lighttpd for example, that
would serve your /home/mariano/galeria/ files.
> I don't know what else to test or debug...
well, everything do seem to work correctly -- all the images are
generated, which is all we should need. So it's either the reported
final url that is wrong (as for example the port wasn't included) or
that you don't have a webserver set up to serve the images from those
final url.
--
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki