class-textobject and image thumbs

Hi gang

I Decided to give the class-textobject a little try tonight, after reading the news about the youtube video. I wanted to see if I could implement my flash panorama tiles into the system, I currently use ZenPage for that. This is working like a charm so far, apart from one thing.

Thumbs do not get displayed in top folders, they are only displayed in the sub-most folder.

See here example of this

http://www.olihar.com/gallery/Panorama/

There are few other things I am wondering as well, is it possible to disable the slideshow only for these pages, as of course the slideshow does now play these SWF files very well. I guess Image info and tags could go away as well if possible just for these folders.

And as a final thing, I have asked about this before with the videos, if it would be possible to read description and GPS info from the Sidecar JPG with the same name in the same manner it does the thumbs.

I was a bit amazed how well this was working in general with flash application, great job you guys once again.

Comments

  • Top level thumbs: Try purging your cache. It looks like it has selected the thumb from "Australia" perhaps before the thumb image existed. Anyway, the code should be getting the thumbnail from the subalbum.

    Slideshow is, of course, just a function call, so if you can decide when you don't want it, you can place the appropriate if statement around the function call.

    Presumably you can setup a plugin with filters for `new_album` that would fetch the data from the sidecar image. You can probably create a decendent class on image that would create an image object but not place it into the database. Then you could get the metadata from that object. I suppose we could also look into making this a standard feature.
  • Regards the sidecar bit. The nightly build now supports this.
  • acrylian Administrator, Developer
    To disable/enable the slideshow for certain albums: If you don't use the custom field you could use this to do this directle (lfor example `if(getAlbumCustomData() == "slideshow") { }`
  • Thanks guys.

    but purging the cache is a no go ether. for the thumbs. Still only the ZP ?-mark.

    I might try and install the nighly soon to try out the new Sidecar feature. Great work on that one.
  • I tried this on the newest nightly and the Thumbs seem to work.

    however the reading of info from the file seems to be a problem, I get this error.

    Fatal error: Call to undefined function getimageexifdata() in
    (my path)/gallery/themes/zenpage-default/image.php on line 87
  • EDIT: I was wrong, the Thumb problem is still there. I forgot to turn on the class-textobject plugin and it just took the placemaker as a normal image, did not read the txt.

    And I saw on the track that getImageMetaData was the new way of getting data from the files.

    So In the Nightly the extracting data from the placemaker works like a charm.
  • Not sure about the thumbs. I created an album with no images and a subalbum. There I put an video with a sidecar image. That image shows as the thumb. I'll do some more experiments and see what I can see.

    Maybe you could do the same using a video. Perhaps this is unique to textobjects?
  • yes I can say that right now, as I have video on my site, and the thumbs work like a charm. You can see here.

    http://www.olihar.com/gallery/

    Video works, Text files does not. I should have stated that earlier that I do indeed have the sidecar working as thumbs with video. And this was class-textobject specific problem.

    EDIT: Well while I am at it, the thumbs for video do not get displayed at random like photographs do. You should try that as well by using 2 videos with thumbs and see for yourself that it will only display 1 of them for the master folder.

    That can bee seen inside the video folder.

    http://www.olihar.com/gallery/Videos/

    Even though it is set to random thumb and it has more then one video.
  • I have been trying to look into this my self, I am not spotting a problem anywhere as far as I can see, why thumbs are only displayed for the image but not the folders... It's like there is a typo somewhere in the code.

    Same with the video, I still find it strange that it will only display 1 thumb even if it is set to random for multiple videos in a folder.
  • Would it be any better if I supply you with the txt and jpg thumb files I have problems with for you guys to try out? I can zip the folder with the sub folders.
  • That would be good. Create a ticket and attach the files.
Sign In or Register to comment.