File Manager - Picture upload problem

Permalink
Hey All,

I'm fairly new to Concrete5, I am pretty tech savy so I tend to figure things out, but I can't figure this one.

My concrete5 has never given me any issues, everything has worked flawlessly, which is auwsome, but this one is wierd.

I can not get any pictures to work at all. After I upload them, I get what you see in attached screenshot. Also when I upload them I dont see any thumbnails.

I even tried still doing a slideshow, but it doesn't show anything.

Anyone run in the issue shown in the screenshots??

Many Thx

2 Attachments

 
frz replied on at Permalink Reply
frz
is GD lib installed as part of your php setup?

are other files working correctly? If so its not a permission issue on the files directory, if not, it might be.
ham1 replied on at Permalink Reply
Hi,

First, apprciate the quick response.

Couple things that I just tried based on your response:

1. I went to a page in my site and added Block "FILE" to a page. in creating the file I selected a picture from the file manager, then went to that page and when I clicked the link, the picture actually came up. So that is wierd it shows up there, but File Manager doesn't show and slide show doesn't work.

2. I also uploaded some excel files and those were ok. So I think your question about permissions, looks like permissions are fine.

So I guess that leaves the question of GD Library being installed, which I will investiate now.
ham1 replied on at Permalink Reply
Hi,

I been investigating everything on the server, and everything I look at shows me that GD is fine, I even found this when I look at php -i:

gd

GD Support => enabled
GD Version => bundled (2.0.28 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.1.9
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled

Any other thoughts? I been racking my brain here for hours and hours and hours :-)
notcholas replied on at Permalink Reply
Hi.

I may have the same issue, I've kinda tracked it down to the server permissions.

It seems that when I upload images, C5 saves the images in new folders with the permissions set as 764 for the folders and 664 for the images. These permissions don't allow the images to be shown on the site or C5.

If I manually change the permissions using FTP to 755 then I can view them. I've not had this issue before when installing C5 so I'm hoping it's the server.

I'm hoping the host will be able to configure the server so any files and folders created in the 'files' folder will have the permissions of 755.
ham1 replied on at Permalink Reply
Hi,

Thanks for the reply. I am actually still battling this problem, I work on it a little each night and to no resolve. I been posting pics a different way but would love to use the built in functionality.

I know I chceked the permissions, but now I am wondering if I set them to apply to new/subfolders, sometimes its something easy like that and we over look it. I will check that right away, make sure I didn't miss anything.

Thx
notcholas replied on at Permalink Reply
Hi

This is still bugging me!!

I've just come across something interesting re the file permissions issue.
In 'File Manager > Access' I've set the 'Alternate Storage Directory' to a different directory then once I've uploaded a file, I went to 'Access & Permissions' for the image then changed the storage location to the new alternative one.

This allowed the image to be viewed in the front end.

The odd thing is if you use the same location as the 'Standard File Location' for the Alternative then do as I mentioned above it works fine.

The only thing now is that the Thumbnail folders within 'files' also have the same permission problem!

I wouldn't know how to fix but it seems something is wrong somewhere.

Does anyone know how to fix?
Mnkras replied on at Permalink Reply
Mnkras
in firefox use firebug right click on where the image should be and see if the path to the image is correct
notcholas replied on at Permalink Reply
Have a read of this post, the code at the bottom of the post seems to have fixed the problem for me.http://www.concrete5.org/community/forums/usage/canand039t_see_imag...