Author Topic: cannot get anything but your sample_pic.jpg to display non-broken  (Read 3333 times)

0 Members and 1 Guest are viewing this topic.

Offline bundonis

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
  • I forgot to change the default text
I have tried everything and the problem seems to be that your code only displays things that are named sample_pic.jpg - I even renamed my own images to this and it worked - its not perms or directories or config

its just the name-----> sample_pic.jpg - thats all that works -

your code will pick up all other files I put up there, it will even make thumbnails but all a shown broken

is this the design of your script? what am I missing?

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Hi bundonis,

Are you sure you're putting your new images in the right directory? From what you're saying, your album_dir should already have sample_pic.jpg in it... if you find that image and drop your new ones in the same place, they should show up.


Cheers
Mike

Offline bundonis

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
  • I forgot to change the default text
Hi Mike,

They certainly show up.

But the links were showing as broken and the images would not render unless named exactly sample_pig.jpg

but go figure - I just tested this now and at least the new image uploads are rendering, I followed same process, same directory, not sure what changed

will let you know if I get the full system working

Thanks,

John

Offline bundonis

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
  • I forgot to change the default text
just checked again - same behavior - broken links and full res will not render in the main pane

however  - full res images render if I step through them with the "next" / "previous" links on the bottom half of the app

Offline bundonis

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
  • I forgot to change the default text

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
I see you replaced sample_pic with one of your own, and that's loading. The images aren't there, at least not where the script is looking to display them:

http://www.bundonis.com/album/IMG_3112.JPG

I also noticed that the thumb for sample_image is not the same as the actual image. Maybe there's a permissions problem with the files or folders?

Another possibility: does album_web point to the same directory as album_dir? One should be the filesystem directory path and the other should be a URL to that same path.