Uploaded photos not displaying when photo access module is activated

Gregor - August 11, 2009 - 07:01
Project:album photos
Version:6.x-2.6-beta3
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Pictures are suddenly not showing

I installed this module to my website. I tested it before by creating an album and uploading some pictures. After all was well i decided to keep it so mods can add a couple more pictures when we get them. After this module i installed the translation module and phpBB integrattion module. The old pictures are still showing. However, when i recently created a new album it all seemed to work well. Pictures are uploaded, however when uploading is done no pictures is there to see.

I tried adding a new picture to the old album. Still nothing. The album shows the size of the file, and it's description, but no picture is showing.

When i uploaded the picture i saw something - pictures were uploaded to /tmp/filename.jpg. i tried to find the tmp folder, but i can't seem to locate it. I checked the admin settings for the picture upload and according to those the pictures are supposed to be uploaded to folder photos/uid% (or something like that - default setting i believe). i checked the HTML code and i believe this is where the fault it. pictures seem to be uploaded elsewhere than they should be. The path to pictures is www.example.com//tmp/filename.jpg

Anyone knows what is going on? Or how to solve this? Because the module seemed simple to use and was working well before.

#1

davidjm777 - August 13, 2009 - 20:51

I'm having the same problem! All of a sudden. Not sure if album photos depends on a particular version of something else. I did some upgrades. What have you upgraded in the past that might affect it?

I looked in my site/files/default/photos file and my pictures are there! They are just not displaying.

I was hoping someone had already figured it out!

#2

davidjm777 - August 14, 2009 - 18:01

I figured out my problem! Album Photo's requires upload in the core module. For some reason, when I went to Modules, Upload was not there. And Album Photos was telling me that Upload was missing. I re-downloaded drupal 6-13, and deleted upload from my folder using FTP. Then I re-uploaded just the Upload module. Bingo! upload was among the modules. Then I unchecked Album photos. Saved config. Went back to upload, and I checked it to enable it. saved. Then went and re-checked (enabled) Album Photos. Now we're back to work! Something must have happened when I upgraded drupal last month to the 6-13. I suspect I'm not the only one.

#3

Gregor - August 19, 2009 - 07:03

I added 2 modules one was PHP+drupal (to integrate the forums) and the other one was translatiuon module to allow multiple language site. I could try disabling it and enabling it again and see if it helps. However i do not think it would be a good idea to mess arround with other settings, especially since i worked quite a bit to make the other modules work together.

If it doesn't work then i will just turn it off and use external photo albums. I won't like it, but at least they work...

#4

davidjm777 - August 19, 2009 - 15:31

That is out of my league. Sorry. Maybe track back to see if yours stopped working at the same time as you did the upgrade.

#5

StS - August 25, 2009 - 00:17

Did you check the configuration at 'admin/settings/file-system'? Remember the comments at this page!

My 'file system path' is set to 'sites/default/files' (I think, this is default) and I use the private download method. The photos upload path is set to 'photos/image_%uid'. This results in the file path 'sites/default/files/photos/image_%uid' and it's working!

#6

dailypress - August 26, 2009 - 03:23

my images dont show up either.
the example.com/photos/album section works but the thumbnails dont show and the flash view doesnt work either. I just updated my drupal core files and moved the album module to sites/all/modules

#7

davidjm777 - August 30, 2009 - 00:24

@dailypress - Did the album stop working AFTER updating drupal? Or did you update to try to get it working again? As you see from the thread, the update messed some things up with me. Pls clarify and then we can try troubleshooting more.

#8

dailypress - September 8, 2009 - 21:54

It got messed up after updating. but I finally got it, and mine works after spending hours playing around with my site:

So here it is:

I think the new version (the newer module which I installed) does not have the page

http://www.example.com/photos

but instead:

http://www.example.com/photos/album

So I changed my Primary Link pointing to http://www.example.com/photos/album instead cause the /photos is screwed up.

Then I went to the global settings and made changes such as the view for teaser and full view and ...then I had to click on each album and change the settings again manually and individually. Once I changed the settings for EACH album and clicked saved it would say: Image_1 created, Image_2 created...etc and Thumbnail_1 created, Thumbnail_2 created and ...etc and so on.

After doing this manually for each album, my album looked fine.

Good luck guys...let me know if you were able to fix it as well.

#9

genfoch01 - November 19, 2009 - 15:01

Hi, I am having what I think is the same problem. the "view album " shows a blank page, but the images are being stored in site/default/files/photos/image_%uid.

I am unclear what you mean when you say you changed your primary link. I'm am very new to drupal and could use a blow by blow description if you have the time.

Thanks!

#10

balik kampung - November 23, 2009 - 02:50
Title:Uploaded photos not displaying » Uploaded photos not displaying when photo access module is activated

Hi Folks,
My album is working perfectly until activated photo_access module and the images are not displayed in the albums. Only image name is displayed but not the image. But if i disable the photo access for Album, the images are displayed normally.
Did any one else faced the same problem? If so how did u manage to overcome this?

Really appreciate your help.

#12

StS - November 23, 2009 - 22:50

For album photos, I use 'content access' instead of 'photos access'. This combination is working properly. I have had trouble with photos access also, so I disabled 'album' at admin/settings/privacy.

#13

dailypress - November 29, 2009 - 04:29

I basically meant I changed the link to a new URL as described above.

#14

genfoch01 - November 29, 2009 - 14:47

ok, well I guess I have a different issue then. I can get to mysite.com/photos/album but clicking on the "view album" link for any album which takes me to mysite.com/photos/album/23 for example brings up a blank page.

when I click on the slide show link everything works. I don't understand whats going on.

#15

StS - December 2, 2009 - 00:21

I think you should give Firebug a try (or any other kind of web debugger if not using firefox).
This might help to find out if it's not possible to load these pages at all or only an element of this page.

 
 

Drupal is a registered trademark of Dries Buytaert.