Could you provide a screenshot of where you’re seeing the Gallery 1 setting, curious if it’s user editable or something directly from our plugin’s code.
Hi, here you are.
http://oi40.tinypic.com/xksuhf.jpg
http://oi43.tinypic.com/1736us.jpg
http://oi40.tinypic.com/28cq3pd.jpg
[Moderator Note: Please ensure that you are embedding links correctly in your posts.]
Trying to recreate on my localhost but haven’t succeeded yet. Uploads occur and thumbnails don’t get broken. Curious if the /1/ in your url is the gallery name at all. I’m not seeing that in my results, just /gallery/MY_GALLERY_NAME/
Hi, yes, /1/ is sub-folder under /gallery/ folder, since I may have /2/,/3/ for other purposes, I added short code “[ngg_uploader id=1]” in page already but why thumb link can’t get it? thx
How are you setting it up to have the subdirectories? My thoughts are that if you’re somehow moving the images to this numbered subdirectory, part of the stored image paths are getting updated, but the thumbnail fields aren’t.
Hi, I created sub-folder in Manage Galleries.
Here is screen capture: http://oi44.tinypic.com/2088ncz.jpg
thx
Nope, I was wrong about the subdirectory part. That’s the same structure I get.
Is it just the thumbnails from our plugin that are being troublesome? or is it from any upload method?
The 2nd screenshot you pasted me earlier looks like the url is out of order/ It’s /1/wp-content/galleryfilename.jpg. Do you have any NGG-based plugins that would possibly alter gallery urls by way of filter or so?
That’s a really strange case that I have yet to reproduce locally.
Hi,
Actually full picture is that I wanna allow member to upload photos and display them as gallery in front-end. I installed two plugins: NextGEN Public Uploader & NextGEN Gallery in WordPress.
Gallery menu: http://oi44.tinypic.com/a48txx.jpg
Setup steps:
1. Create /1/ in Manage Galleries
http://oi44.tinypic.com/2088ncz.jpg
2. Config Plugin Settings, set /1/ as default gallery
http://oi40.tinypic.com/28cq3pd.jpg
3. Add NextGEN Public Uploader widget, [ngg_uploader id=1], in all PAGES
4. Login as member and upload photos for testing
5. Check photos uploaded successfully in Manage Galleries (records are there), but all thumbs were broken links, e.g. http://www.domain.com/1/wp-content/gallerythumbs/thumbs_candy-shop-necklace.png
6. Connect FTP server, check all photos are there but under sub-folder /1/
7. The correct photo link should be: http://www.domain.com/1/wp-content/gallery/1/thumbs/thumbs_candy-shop-necklace.png
I think it’s normal steps but I’m not sure why thumbs link were incorrect.
thanks!
From the looks of it, the only issue is the missing / in the thumb url. I’m not sure whether that part is being generated at all by us or by NextGen Gallery itself.
The closest we have is the following in a couple places:
@unlink( WINABSPATH . $gallerypath . '/thumbs/thumbs_' . $filename );
228
@unlink( WINABSPATH . $gallerypath . '/' . $filename );
Hi, thanks for your reply but I’m not technical guy, may I know where to find above codes? I need to edit it to “@unlink( WINABSPATH . $gallerypath . ‘/’ . $filename );”? thanks
No, as far as I can tell you shouldn’t need to be editing either of those because they’re already getting a / in the right places
Hi, tried to repeat above 7 steps in this few days but results were the same, the thumbs are still broken link, I think it was because the Uploader cannot read gallery config? I just guessed when uploader uploads photo, it just set the default path up to gallery.
I really don’t know at this point, to be honest, especially since I can’t manage to replicate either.