Author Topic: V6.5 Beta  (Read 20283 times)

0 Members and 1 Guest are viewing this topic.

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #30 on: July 22, 2004, 13:53:57 »
Fixed http://..............photo_height=auto;ssi=2 under IE.
And didn't break Mozilla.  :)

J.J.

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #31 on: July 26, 2004, 22:05:59 »
sending you more changes....

After reading Carolus' posts I realized that auto-sizing and the getPhotoDimensions sub wouldn't work if ImageMagick is not installed. So I changed three things:
  • don't display the auto-size link/button unless ImageMagick is found.
  • if photo_height or photo_width=auto are passed, default to small size if there's no ImageMagick
  • return small size from getPhotoDimensions if there's no ImageMagick

I imagine you could write code to extract dimensions from the jhead info, but that will only work if the image is jpeg. Not that I wouldn't do it, it's just that my string parsing and reg-exp skills are weak.  :P

J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #32 on: July 27, 2004, 21:08:58 »
Awesome. Folded into the zip file for download. :D

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #33 on: August 22, 2004, 19:06:42 »
Mike, hope you've had a great vacation!

Sending you more changes, all related to Fullscreen Slideshow:
  • Will go into slideshow mode even if popups are blocked via Mozilla, Firefox or ZoneAlarm settings -- if popups are blocked, the browser window is still the regular one, rather than the borderless one.
  • Returns you to the regular view of last photo seen in the slide show when you close the slideshow.
  • Degrades nicely if Java is disabled - same result as when popups are blocked.
  • Fits vertical photos into the screen height if you have ImageMagick installed
  • Uses the Photo_album.css settings for back-ground of the slideshow
  • Behaves the same way wether you start from album.pl?photo=... or from album.pl?slideshow=5;photo=...

I noticed that truly random slideshows only work with ssi=1, otherwise it starts from a random photo but then continues sequentially with the rest of the photos in that album. That's something I haven't changed (yet (maybe)).

J.J.

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #34 on: August 22, 2004, 19:08:25 »
P.S.: and Fullscreen Slideshow no longer throws Java errors.
J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #35 on: August 28, 2004, 16:08:11 »
Thanks once again... changes are available in the zip. :D

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #36 on: August 28, 2004, 21:11:51 »
actually, it''s not yet totally clean.  :-\  If you run with
Code: [Select]
#!/usr/bin/perl -w as the first line, it still throws a pile of warnings.
J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #37 on: August 29, 2004, 16:47:32 »
Yeah, I never run with -w on... I guess I could clean it up, but at this point it'd be a lot of work... Most of the warnings are pretty innocuous, E.G. uninitialized values being used for the first time...

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #38 on: September 11, 2004, 20:11:39 »
Found a bug related to view level when moving phots or albums.
And, added the ability to rename the (system) file or directory when moving. I needed that feature while I was rearranging stuff on my site.

Sending you the file.
J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #39 on: September 11, 2004, 20:27:41 »
Zip has been updated. :D

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: V6.5 Beta
« Reply #40 on: September 12, 2004, 22:40:56 »
Now, when you move a photo, it moves the views too.

Also improved the renaming. Instead of displaying the full path for the new name, it displays only the object's filename.

J.J.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: V6.5 Beta
« Reply #41 on: September 13, 2004, 08:23:51 »
Awezome work. Zip is updated. :D