Previous Thread
Next Thread
Print Thread
Hop To
#244892 08/12/2011 2:55 PM
Joined: Apr 2010
Posts: 6
B
stranger
stranger
B Offline
Joined: Apr 2010
Posts: 6
I have my gallery set up, and now when I upload an image in the gallery, it appears as the dreaded red X. Is there a setting on the forum or server I'm missing here?

Joined: Dec 2003
Posts: 6,566
Likes: 78
Joined: Dec 2003
Posts: 6,566
Likes: 78
Could be one of the paths are incorrect in the ubb control panel.
You can check a couple of things.
Check the properties of the red x to see what url it is looking at.
Check the actual directory and see if the file is actually there.
Browse to the actual file and see if it appears.
Check the folder file permissions,they should be 777 for gallery and I believe the default directory under gallery.

Also the url to your site may be helpful.

FYI, It is not finished as of yet. But I started a wiki on this subject at:
http://www.ubbwiki.com/wiki/view/81/gallery.html
Maybe your issue will help me improve the article.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Apr 2010
Posts: 6
B
stranger
stranger
B Offline
Joined: Apr 2010
Posts: 6
URL is http://66-67charger.com/forum/ubbthreads.php?ubb=postlist&Board=45&page=1

The directory the forum is pointing to is /forum/gallery/45, but in my file manager, 45 does not exist. The file manager shows me /forum/gallery/default

I have already CHMODed the folders to 777, but there is no /45 under the gallery folder. The forum sees the gallery as forum #45 if that makes a difference.

Joined: Dec 2003
Posts: 6,566
Likes: 78
Joined: Dec 2003
Posts: 6,566
Likes: 78
That looks correct. It should make a folder called 45 under the gallery folder.
So if you have the permissions set to 777 for
Gallery
Gallery/default/full
Gallery/default/medium
Gallery/default/thumbs
Then it should have created a folder called 45 with the file.
And permission check in the UBB control panel should show a ok for each one of them. Might want to check to see if a error for gallery/45 is in there.

Only other item I can think of is the graphics library.
It may not exist.

Which one did you select in the gallery settings?


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Apr 2010
Posts: 6
B
stranger
stranger
B Offline
Joined: Apr 2010
Posts: 6
Permission check comes back ok.

gallery/default/full (OK)
index.html OK
Directory Check OK

gallery/default/medium (OK)
index.html OK
Directory Check OK

gallery/default/thumbs (OK)
index.html OK
Directory Check OK

gallery/index.html/full (OK)

gallery/index.html/medium (OK)

gallery/index.html/thumbs (OK)

So where in the file structure should the forum have created the /45 folder? would it be

/forum/gallery/45/thumbs

or

/forum/gallery/default/thumbs/45

Here is the URL the gallery is pointing to for the uploaded image

http://66-67charger.com/forum/gallery/45/medium/34337.jpg


The only option it's giving me is GD2. I am not positive if GD2 is even installed. This is my first Server (semi-private) as opposed to the shared hosting I used before. Rick helped me get the server set up.

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
1. create /forum/gallery/45 dir
2. create /forum/gallery/45/thumbs dir
3. create /forum/gallery/45/medium dir
4. create /forum/gallery/45/full dir

CHMOD the thumbs, medium and full dirs to 777 ( as needed ). you may be able to leave it at 755 if your php isn't running as 'nobody'

smile

Joined: Apr 2010
Posts: 6
B
stranger
stranger
B Offline
Joined: Apr 2010
Posts: 6
Although I tried this once before and it didn't work, it's working now!! Not sure what's different, but I'm not going to complain either. Thank you very much!!

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
no problem

btw, i have seen a gallery forum get created before ( 7.5.6 ) and a directory _NOT_ get created for it

warnings / errors should be issued, instead of the forum owner thinking the new gallery forum is good to go, but not..

this is a buglet that i will be addressing in 7.6

and fixing wink


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
0 members (), 498 guests, and 188 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)