hi,

i installed the piclens and have problem loading my images. i'm sure it's related to my image name where it was originally name as ABC - 1 , in drupal after import into image gallery it's changed into ABC+1, piclens RSS feed page source code link shows "page not found".

thanks for the help!

Comments

swentel’s picture

Hi,

This is a problem which should be solved with the latest development release (committed a few hours ago to the D5 & D6 branch).
It's possible you've downloaded the previous release, try again within a few hours and this should be solved.

You can match the difference in the source code: in the piclens_image_gallery.module you'll probably find the 'url(' function (line 134, 134 and 135); in the latest release, this is changed to 'file_create_url' solving filename issues with spaces.
I see the latest built is up now, so try again and your problem should be solved. If not, please let me know of course :)

Leeteq’s picture

Related: Does this module support titles / file names with accented characters and national characters like the German umlaut the Spanish é and the Scandinavian characters?

swentel’s picture

@daniel
good question, I've had other people asking me about this and to be honest, I'll have to test this.
At this point, the mediarssapi_format_item uses the check_plain on the the title tag, so I guess we might run into trouble here, I'm going to run some tests today and following days to see how this all turns out.

swentel’s picture

@simpledrupal
have you tried the latest development release yet to confirm the + in filenames are fixed ?

swentel’s picture

Status: Active » Closed (fixed)

@simpledrupal
@daniel
Tested it with accented characters and everything runs fine.

Closing this issue as those 2 have been fixed, commited both to D5 & D6 branch. New release will be out soon after the img package for D6 has been included.

simpledrupal’s picture

thanks for the follow-up. I upgraded the module and didn't work. i'm looking into to see if i upgraded it correctly. What i did was delete the old module and copy the new dev. release. and run update.php. should i do anything different?

thanks,

simpledrupal

swentel’s picture

mm the latest official release definitely fixes the + signs (ie spaces in filenames)
I'll look into it again tonight though just to be sure.

simpledrupal’s picture

I installed the may 7 dev. release and still didn't work. is it because the file name have too many + ?

for example the image file name is:

dogs - 05

in RSS it returns: dogs+-+05_0.jpg

still page not found. i use the image gallery module.

Thanks for looking into it!

swentel’s picture

That's really weird, can you look into the piclens_image_gallery.module file and scroll down to the bottom and look if you can find

'thumbnail' => file_create_url($node->images['thumbnail']),

if it's not file_create_url, there is still something wrong with the installation because the latest dev release is ok (I just checked)