Author Topic: Pictures dont show  (Read 3639 times)

0 Members and 1 Guest are viewing this topic.

Offline Tytan

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
  • Try not, do or do not...  There is no try.
    • Lazycrane.com
Pictures dont show
« on: September 15, 2002, 14:57:03 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Pictures dont show
« Reply #1 on: September 15, 2002, 18:38:32 »
Wow, that's weird. The URLs for your thumbnails work if you put them into a browser by themselves. (I.E. http://www.lazycrane.com/Photo_Album/Hamburg/thmb_DSC02001.JPG works, but not when linked to by album.pl). Just like you said. Even the photos themselves do it.

How odd.

I can't really imagine why that is, to be honest... It's possible that it's something with your web server config that's making it do funny things, but I can't imagine what...

Offline Tytan

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
  • Try not, do or do not...  There is no try.
    • Lazycrane.com
Re: Pictures dont show
« Reply #2 on: September 16, 2002, 12:08:32 »
Thank you for your reply.

Yes I am not sure what is causing the problem.  I thought it might be a permission problem, but then it is strange that I can access the pictures with plain URL...

One thing that might be a clue is that I can see pictures without problem through album.pl if I am on the same network with my WWW server.  It could be my firewall preventing the access...  Maybe its some kind of DNS problem.  I will look into the problem and will post here the result.

Thanks again.
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Pictures dont show
« Reply #3 on: September 16, 2002, 13:49:53 »
Yeah, I'd be interested to hear what the problem is... Since it works from the same network, I'm guessing it's something to do with the server or firewall config, but can't imagine what...
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Tytan

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
  • Try not, do or do not...  There is no try.
    • Lazycrane.com
Re: Pictures dont show
« Reply #4 on: September 16, 2002, 15:35:46 »
I figured it out.

The problem was with my DNS.  I use DYNDNS (dynamic DNS) because I host my site over my cable connection.  On top of that, I use "Mydomain.com" so that I can use my own domain name "lazycrane.com" instead of long DYNDNS domain name (lazycrane.dyndns.org).  The problem is that my local network doesn't understand what "lazycrane.com" is (due to my messed up firewall configuration).  So it was the problem with my network configuration.  I'm sorry for wasting your time Mike.  And thanks for a great script!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline MTRazeR

  • album.pl Tester
  • **
  • Posts: 43
  • Karma: +0/-0
Re: Pictures dont show
« Reply #5 on: September 16, 2002, 16:39:43 »
Hello Tytan,

I just took a look at your site to see if I could help, and was I surrpised to see some old familar places.  Thanks for giving me a chance to relive some old memories....

I did notice that your Style_Sheets are not working.  I see this a lot on lots of peoples sites.  It is often over-looked because it still all works and generally you are happy with it.  The fact is the Style_Sheets give the album a very nice look.  So I figure I would try to help you with the style sheets....

In the configures manager find the settings for the Style_Sheet and check to make sure you have the propper link in there.  In most cases I see people use /home/user/myname/Photo_Album.css or something like that.  That seems to work for some people, but not for everyone (like me).  If it looks correct and it is still not working then you may want to try changing it to http://www.lazycrane.com/Photo_Album.css this is assuming the style sheet is in the root directory (which my guess is that it is not)....

Well I hope you read this and it helps you out.  Thanks again....
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Pictures dont show
« Reply #6 on: September 16, 2002, 16:47:25 »
Ahhh, that was a tricky one. Glad you nailed it though... ;)

And thanks for the added tips MTRazeR. I just put in a "FAQ" about style sheets in the documentation forum, which may also help out.

Cheers
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Tytan

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
  • Try not, do or do not...  There is no try.
    • Lazycrane.com
Re: Pictures dont show
« Reply #7 on: September 17, 2002, 10:11:06 »
Hi thanks MTRazeR.

I don't know where you are from, but I really enjoyed my trip to Europe.  I'm glad my pictures reminded you of your old memories.

As for the style sheet, I am still struggling to make it work.  Tried your suggestion and followed Mike's FAQ tips, but no luck as of yet.  Will try more later.

Thanks folks!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Rocky

  • album.pl User
  • *
  • Posts: 1
  • Karma: +0/-0
  • I forgot to change the default text.
    • RockyStone.com
Re: Pictures dont show
« Reply #8 on: November 20, 2002, 04:53:06 »
I had the same problem as you described. Now first Im running Windows 2000 Adv Server with Apache 2.0. What I discoved is everything was working perfect except my pictures showed up with an X and a Square where the pic should have displayed.  I tried everything with permissions and this is what finally solved it. I keep my photos on a different harddrive F.   In the Apache Config file I added the Following:

Alias /album/ "F:/album/"

<Directory "F:/album">
         Options Includes Indexes MultiViews
     AllowOverride None
         Order allow,deny
         Allow from all

</Directory>

This allowed the pictures to be read in.. Hope I helped you because I worked on this one myself for many hours.....

Everything is working ! Thanks For the great script ...U DA MAN!
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Pictures dont show
« Reply #9 on: November 20, 2002, 07:12:40 »
Hey thanks Rocky, that's great info to have. I'm sure that it *will* save someone hours of work, so thanks for taking the time to write it up.

Cheers
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »