Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2009-01-20 09:48:47

Pioden
Xinha Community Member
From: Bangor, Wales
Registered: 2008-06-06
Posts: 39
Website

Image Manager issue

Hi folks,

I'm having a problem with the editing functionality in Image Manager. The first part (Insert Image) works great - thumbnails are created and displayed so I'm guessing all my settings are fine. However, when I click on the edit icon underneath the thumbnail I get the error 'No Image Available'. I'm pretty certain this used to work so I'm a little baffled.

A little detective work comes up with a potential issue. If I look at the URL in the address bar of the it says

http://www.mysite.com/admin/xinha/plugi … awasoe.jpg

but the filename should read 1225984176kawasoe.jpg - the %2F has been added along the way!

Does %2F mean anything to anyone?

Offline

#2 2009-01-20 10:11:51

wymsy
Xinha Community Member
From: Massachusetts, USA
Registered: 2005-04-01
Posts: 44
Website

Re: Image Manager issue

%2F is the url encoding for "/".

Offline

#3 2009-01-21 07:36:10

Pioden
Xinha Community Member
From: Bangor, Wales
Registered: 2008-06-06
Posts: 39
Website

Re: Image Manager issue

Thanks wymsy. I'm trying to track down the errant / but without success so far :-(

The link is created in image.php

function editImage(image)
    {
        var url = "<?php print $IMConfig['backend_url']; ?>__function=editor&img="+image;
        Dialog(url, function(param)
        {
            if (!param) // user must have pressed Cancel
                return false;
            else
            {
                return true;
            }
        }, null);

This looks fine to me. I'm presently searching through the 476 counts of 'image' in the ImageManager plug-in code but can't see anything odd. Any ideas anyone?

BTW I'm using 0.95 in this instance.

Offline

Board footer

Powered by FluxBB