Item view

nickthegreek
nickthegreek's picture

Joined: 2002-10-23
Posts: 11
Posted: Thu, 2003-01-02 12:53

First off all happy New Year.
I just downloaded the new code and It seams to me that when you upload a photo it generates a thumbnail and does not resize the initial photo neither does link the initial photo with the thumbnail.
Is any other noticed the same behaviour or I am the only one! Or It might be that I consumed too much red wine during the holidays.???!!!

 
uncle

Joined: 2002-08-15
Posts: 18
Posted: Thu, 2003-01-02 20:17

same here. Something got broken after the last commit. Even the pics I had already uploaded only display the thumbnails and none of the other sizes. The land of the pre-alpha is a frontier :wink:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2003-01-04 06:51

Yep, there was a problem handling image/pjpeg's that should be fixed in CVS now.

 
uncle

Joined: 2002-08-15
Posts: 18
Posted: Sat, 2003-01-04 13:53

strange, I just updated via CVS and it didn't indicate any files were updated. Also The problem still exists after updating the files. Did this fix it for anyone else?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2003-01-04 22:46

Oops, I see your problem comes after my "fix", so perhaps my fix was the actual problem :smile:

I did just introduce the permissions interface. Can you verify that the user you're using to view the images has all the various "can view resizes/originals" permissions granted?

 
uncle

Joined: 2002-08-15
Posts: 18
Posted: Sat, 2003-01-04 23:10

after the last post installed the cvs fresh and logged in as admin which according to the group permissions has [core] All Access, I just added [core] View all versions to see if that did anything (it didn't). I created a general user and got the same behavior.

I am running rhat 7.3 apache 1.3.23, php 4.3 , and mysql 3.23.54a. I tried it with IE 6.0 and opera 6.x . This started right after the last commit to CVS.

 
uncle

Joined: 2002-08-15
Posts: 18
Posted: Sat, 2003-01-04 23:36

hmmm. I take back what I just said. Once I added [core] View all versions and [core] view original version all new uploads worked as they should. the existing pics didn't pick up the permissions but once deleted and readded I can now view all intermediate sizes. I was assuming that these two permission sets would be subordinate to [core] all access but I done be wrong :oops: . Is that the way you wanted this to work?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2003-01-05 07:35

Oops, you're right. There were several small bugs there, but I believe I fixed them all.
Here's the way it works now:

    <LI> You can see a thumbnail if you have: core.all, core.viewAll, or core.view
    <LI> You can see a resize if you have: core.all, core.viewAll, or [core.view + core.viewResizes]
    <LI> You can see the original if you have: core.all, core.viewAll, or [core.view + core.viewSource]
    <LI> You can see everything if yuo have: core.all, core.viewAll or [core.view + core.viewResizes + core.viewSource]

[/]