SMFHacks.com

SMFHacks.com => Site Discussion => Topic started by: AlecDurbervilles on February 14, 2015, 04:10:52 pm

Title: Problem with image naming
Post by: AlecDurbervilles on February 14, 2015, 04:10:52 pm
I used the basic free version for over a year and liked it. Today, I bought and installed SMF Gallery Pro and I love the new features. However, something is wrong. When I upload a photo into the gallery it shows up like this: (http://64shadesofgrey.net//gallery/2140215134527.jpeg) as if it can't understand the name.

Before, all my image names looked like this (without the spaces): http: // 64shadesofgrey.net//gallery/2_03_02_15_9_37_03.jpeg

Now they look like this: http: // 64shadesofgrey.net//gallery/2140215134527.jpeg

Does anyone know what I've done wrong or if there's some tweak in the settings that will fix it?
Title: Re: Problem with image naming
Post by: SMFHacks on February 14, 2015, 04:14:31 pm
Is it breaking anything?  How were the new images added?
Title: Re: Problem with image naming
Post by: AlecDurbervilles on February 14, 2015, 04:18:00 pm
It hasn't affected old images. They're still fine. But anything new that I upload from my computer using the standard "Add Picture" method names them without the underscores. Neither the thumbnails nor the enlarged images show up.
Title: Re: Problem with image naming
Post by: SMFHacks on February 14, 2015, 04:22:54 pm
That is the standard new format the filenames. Check folder level permissions in gallery folder you might have folders called 0 1 etc
If you enabled multifolder support uncheck that as well
Last  check your forum's error log.
Title: Re: Problem with image naming
Post by: AlecDurbervilles on February 14, 2015, 04:26:54 pm
Thanks. I'll give those a try and let you know how it worked.
Title: Re: Problem with image naming
Post by: AlecDurbervilles on February 14, 2015, 05:09:29 pm
I checked my error log and didn't see anything out of the ordinary. I checked permissions. They are all set for each membergroup. However, I haven't found where multifolder support is enabled/disabled.
Title: Re: Problem with image naming
Post by: SMFHacks on February 14, 2015, 05:11:48 pm
On gallery configuration -> settings  "Enable multiple folders for picture storage"
Title: Re: Problem with image naming
Post by: AlecDurbervilles on February 14, 2015, 05:21:36 pm
Yes, I see it. But it wasn't checked.

The only thing I did outside of installing the Gallery Pro is that this morning I did a version check of FrontPage extensions. It told me that an .htaccess file might be reverted back to an original version. Does Gallery Pro have anything to do with FrontPage? I didn't think much of it at the time but that's the only thing I can thing of that is different.
Title: Re: Problem with image naming
Post by: SMFHacks on February 14, 2015, 05:34:01 pm
Gallery Pro does not touch anything with frontpage. If you are still having an issue link me to example image in your gallery not the picture but the page where you can view the image.
Title: Re: Problem with image naming
Post by: AlecDurbervilles on February 14, 2015, 05:41:00 pm
I have permissions set so that guests can see everything here. http://64shadesofgrey.net//index.php?action=gallery;cat=19

The most recent image is one that I just tried to upload. Everything else was uploaded with the free version.
Title: Re: Problem with image naming
Post by: SMFHacks on February 14, 2015, 11:28:34 pm
Can you upload an image to that category? Last one I can see in there is feb 3 and seems to work ok
Title: Re: Problem with image naming
Post by: AlecDurbervilles on February 14, 2015, 11:44:47 pm
Yes, sorry. I was trying different things - uninstalling and reinstalling - and I deleted it the newest one. But look again. I've tried it again and it's still giving me problems.
Title: Re: Problem with image naming
Post by: SMFHacks on February 15, 2015, 04:27:45 pm
Whats your gallery path and url settings set to?
The url looks odd I see two // in http://64shadesofgrey.net//gallery/2-140215214237.jpeg
Title: Re: Problem with image naming
Post by: AlecDurbervilles on February 15, 2015, 07:27:38 pm
Argh. This is exasperating. Yes, somehow an extra forward slash got put into the path but even after fixing it, the problem remains. I went into my server to look at the files in the path and that newest image is there with all the rest and I can even highlight it and hit "view" and see the image. But somehow, SMF is not letting it display on the site.

If I "copy image url" and paste it into an address bar, I get an "Error 404 page not found."
Title: Re: Problem with image naming
Post by: SMFHacks on February 15, 2015, 07:45:52 pm
Check your gallery folder area any files getting added to it at all when you are uploading an image?

Did you change servers? Since the gallery url was wrong the gallery path could be wrong as well.
Title: Re: Problem with image naming
Post by: AlecDurbervilles on February 16, 2015, 01:37:35 am
Yes, I just added a gif and it shows up in the same directory as all the others.

(http://www.smfhacks.com/index.php?action=dlattach;topic=8653.0;attach=4654;image)

And when I highlight it and click "view" the gif shows up in a new window. It seems like maybe the problem is with how the site displays files (or doesn't) under the new naming scheme. There's nothing wrong with the names or the files but somehow SMF isn't letting them show.
Title: Re: Problem with image naming
Post by: SMFHacks on February 16, 2015, 08:34:06 am
Is it possible to pm me an admin login along with ftp would wan to do some testing to figure this out. There is no code changes from lite to pro that shouldn't work with image uploading.
Title: Re: Problem with image naming
Post by: SMFHacks on February 16, 2015, 11:27:45 pm
Fixed the who's online text issue on the site looking at image uploads now.
Title: Re: Problem with image naming
Post by: SMFHacks on February 16, 2015, 11:58:56 pm
Fixed figured out the issue. Sending you a pm on what I found out.
Title: Re: Problem with image naming
Post by: AlecDurbervilles on February 17, 2015, 06:50:13 am
Thanks. I saw your message and responded back.