Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

18653 Posts in 5530 Topics- by 9332 Members - Latest Member: iyiadam

May 23, 2013, 06:34:35 AM
JOOM::GALLERY::FORUMJoomGallery 1.5 MVCUploadsmissing filename - only numbers
Pages: [1]
Print
Author Topic: missing filename - only numbers  (Read 1949 times)
0 Members and 1 Guest are viewing this topic.
donlussi
Newbie
*
Offline Offline

Posts: 5


View Profile
« on: May 22, 2011, 02:58:48 AM »

Hi,
Certain pictures no longer or shorter than other pictures produce a number for a filename when downloaded.
Such as "Chartier_Plantation_1" is "_20110521_1322916842.jpg"

In the German forum there was a solution to remove the extra letter 's' in a section "$newfilename = JoomFile::fixFilename($sorigfilename);" on line 897 in the upload.php.  I did that and it didn't help.

Can you help?  You can see this in action if you go to: http://punch-alternatives.com/punch/
Select the menu Photo Gallery, then select Punch! Houses, then the Antebellums and Plantations.  Look at the Chartier Plantation and what the download says.

By the way, nice gallery!!

Thanks,
Donna
« Last Edit: June 01, 2011, 05:30:53 AM by donlussi » Logged
mab
Administrator
Sr. Member
*****
Offline Offline

Posts: 377



View Profile
« Reply #1 on: June 03, 2011, 04:26:15 PM »

Hi Donna,

what was the exact original filename of the image when you uploaded it?
Logged

with best regards...
mab
donlussi
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #2 on: June 18, 2011, 05:25:58 AM »

Hi mab, the filename was Chartier_Plantation_1, and Chartier_Plantation_2, etc.,  I've tried several and no matter what the filename is, it produces numbers.  Here is a link to the backend showing the uploads from the frontend.

Thanks for any help you can give, I'm about ready to take down this program and go with Remository.

Donna
Logged
mab
Administrator
Sr. Member
*****
Offline Offline

Posts: 377



View Profile
« Reply #3 on: June 18, 2011, 11:56:39 AM »

Hi Donna,

could you please send one of those files to mab[at]joomgallery[dot]net. Please send me an original as you've used for uploading. Did you use the batch upload?


Logged

with best regards...
mab
Chraneco
Developer-Team
Hero Member
*****
Offline Offline

Posts: 3137


View Profile
« Reply #4 on: June 18, 2011, 01:27:20 PM »

Hi,

could you please check additionally the content of the fields 'Special characters' and 'New characters' in tab 'General Settings' -> 'Replacements' of the configuration manager and reset them if there '?' in it, for example.

Regards
Chraneco
Logged
donlussi
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #5 on: June 18, 2011, 05:15:21 PM »

MAB and Chraneco,
MAB, as I said, it doesn't matter what the filename is, it uploads as numbers when uploading thru the frontend but I will send you the images. 

Chraneco, the special characters do not have a '?' in them.  They are set at the default of: ä|ö|ü|ß and the replacemnts are:  ae|oe|ue|ss

Thanks,
Donna
Logged
mab
Administrator
Sr. Member
*****
Offline Offline

Posts: 377



View Profile
« Reply #6 on: June 20, 2011, 06:36:49 PM »

Hi Donna,

you're right; this is a bug!
Please unzip the attached zip and copy the file upload.php into
path_to_joomla/administrator/components/com_joomgallery/helpers/
Please backup the original file.
Sorry, but you have to upload your images with the missing filename again.

Thanks to erftralle who fixed this bug!
Logged

with best regards...
mab
manuxx
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #7 on: December 02, 2011, 09:54:22 AM »

Hi mab

I see this is an old thread but can you tell me if the component normal behaviour is to rename files?

I can't find a single solution to this in the entire forum, a few users posted the same but not one answer.

I mean my problem is that Joomgallery is adding a lot of numbers after the filename,

like here: http://www.comenaranjas.com/fotos/naranjas/navelinas/naranjas-navelinas-14.html

file renamed by component as: naranjas_navelinas_20111202_1536865539.jpg

original name uploaded:  naranjas_navelinas_2.jpg   

Regards
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic

Bad Behavior has blocked 912 access attempts in the last 7 days.