• → Feedback and Support Forums
Current User: Guest
Please consider registering

 
Search Forums:


 




ngg no feed with blank in filename

Post

marco - Guest

5:03 am - Apr 13, 2008

1

no mrss generted with latest version if there is a blank in the filename - check http://luke.brainhack.de/lukegallery/?album=14&gallery=15

Shack Dougall - Admin

12:01 pm - Apr 13, 2008

posts 125

2

marco said:

no mrss generted with latest version if there is a blank in the filename - check http://luke.brainhack.de/lukegallery/?album=14&gallery=15


hmmm, I agree that spaces aren't working, but it isn't because there is no mrss. The mrss feed exists and is valid, but PicLens isn't matching the image in the post with the image in the mrss feed.

Hover button on images on the same page without spaces are still working. Also, the “starte Piclens Slideshow” link is still working and shows all the images including the ones with spaces. The only thing that isn't working is the hover button on the images with spaces.

At the moment, I don't understand what is happening, but I'll look at it in detail later today.

marco - Guest

3:26 pm - Apr 13, 2008

3

wow - this is amusing because i swear the feed for the images with blanks in the filename was not there the first time i checked - also piclens did not showed the pictures then of cos. now there is a feed but not hover icon for the blankimages … i will also try to find out what is causing this …

Shack Dougall - Admin

5:29 pm - Apr 13, 2008

posts 125

4

Interesting…Everything works in IE7 (even the hover buttons on images with spaces).

But the hover buttons don't work on images w/ spaces in Firefox 2.0.0.13 (I tried piclens+ 1.0.5.10 and 1.0.5.8).

Either:

  • this never worked in Firefox, or
  • an upgrade to Firefox broke it, or
  • maybe it was broken by WP2.5 or one of 2.5's plugin upgrades.

Still investigating…

Shack Dougall - Admin

12:48 am - Apr 14, 2008

posts 125

5

I think maybe spaces never worked in 1.0.5.7 and above with Firefox.

Paul Tulp's website is running WP2.2 and 1.0.5.8. He has a large number of image urls with spaces and they all work in IE7 and all don't work in Firefox.

Anyway, in my experiments tonight, I can make it work in IE7 and I can make it work in Firefox, but I can't find an easy way to make it work in both.

It is easy to play around with. If you look in plplus-mrss.php, you will find the following lines:

        $imgSrc = wp_specialchars($imgArray['thumb'], true);
        $imgSrc = str_replace( " ", "%20", $imgSrc );
        $imgSrcFull = wp_specialchars($imgArray['full'], true);
        $imgSrcFull = str_replace( " ", "%20", $imgSrcFull );

As written, it works in IE7, but not in Firefox. Comment out the 2nd and 4th lines and it works in Firefox, but not in IE7.

I don't know what to do about it. I could probably put in some code to detect the browser and change the behavior based on the browser, but that wouldn't work with caching plugins such as wp-super-cache.

Visitors to my website are about 75% Firefox and 25% IE, so I'm inclined to just fix it for Firefox and post a notice that you should avoid spaces in your image urls.



Reply to Topic: ngg no feed with blank in filename

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 11 + 6        (Required)

Topic Reply:


 
 
© Simple:Press Forum - Version 3.0.3 (Build 320)  




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