Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler error: Unable to determine the page link!

Image Handler error: Unable to determine the page link!

Views: 15,449

Results 1 to 20 of 32
6 Jun 2007, 7:55 PM
#1
kernel26 avatar

kernel26

New Zenner

Join Date:
May 2007
Posts:
10
Plugin Contributions:
0

Image Handler error: Unable to determine the page link!

problem in IMAGE HANDLER 2 problem

Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')

6 Jun 2007, 8:35 PM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Image Handler error: Unable to determine the page link!

Set your images folder to 777. That folder MUST be writable for IH to work.

7 Jun 2007, 7:55 AM
#3
kernel26 avatar

kernel26

New Zenner

Join Date:
May 2007
Posts:
10
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

Get Em Fast:

Set your images folder to 777. That folder MUST be writable for IH to work.

yes Folder images is set in 777, but not working ??

7 Jun 2007, 12:37 PM
#4
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Image Handler error: Unable to determine the page link!

O.k. There's a folder called "bmz_cache". It MUST also be set to 777. Is it?

7 Jun 2007, 12:40 PM
#5
kernel26 avatar

kernel26

New Zenner

Join Date:
May 2007
Posts:
10
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

kernel26:

yes Folder images is set in 777, but not working ??

or this problem

File exists! Please alter the base name or suffix.

7 Jun 2007, 1:06 PM
#6
kernel26 avatar

kernel26

New Zenner

Join Date:
May 2007
Posts:
10
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

kernel26:

yes Folder images is set in 777, but not working ??

kernel26:

or this problem

File exists! Please alter the base name or suffix.

i changeg name in suffix but not working

any time working and update more pictures ,any time not working

7 Jun 2007, 1:16 PM
#7
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Image Handler error: Unable to determine the page link!

In the Image Handler Manager, are you putting a suffix in the field that says "**Image suffix (optional)" ?
**If so, don't. Just upload your image in the "default image file" field, making sure that the "bmz_cache" folder permissions are set to 777.

7 Jun 2007, 2:23 PM
#8
kernel26 avatar

kernel26

New Zenner

Join Date:
May 2007
Posts:
10
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

Get Em Fast:

In the Image Handler Manager, are you putting a suffix in the field that says "Image suffix (optional)" ?
If so, don't. Just upload your image in the "default image file" field, making sure that the "bmz_cache" folder permissions are set to 777.

File exists! Please alter the base name or suffix.

not working and bmz_cashe is in 777 ,not working auuuuuuuu ############

7 Jun 2007, 2:43 PM
#9
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Image Handler error: Unable to determine the page link!

O.k. Kernel, don't get too excited, there......Go to Image Handlers' Admin section, and click on the "clear image cache", and then go back and try again.
What, may I ask, is the FULL name of the image that you're trying to upload?

7 Jun 2007, 8:33 PM
#10
kernel26 avatar

kernel26

New Zenner

Join Date:
May 2007
Posts:
10
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

Get Em Fast:

O.k. Kernel, don't get too excited, there......Go to Image Handlers' Admin section, and click on the "clear image cache", and then go back and try again.
What, may I ask, is the FULL name of the image that you're trying to upload?

a chose this clear image cash ,and in top menu cashed is cleared but not working ??

any time to upload picture ,any time i rename name from image ,and nto working

8 Jun 2007, 2:06 AM
#11
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Image Handler error: Unable to determine the page link!

O.k. Sorry to be gone so long, but I had to go to work, and it took me longer than I thought it would, today.

Now, I see you have 3 images in your snapshot, already......It would have been nice to see them, though.
Is this just 1 image, uploaded as instructed & resized by IH, or is this 3 different images?
We're all here to help, and by blurring out some of the information, it just makes it harder for you to get the correct answer that you're needing.

15 Aug 2007, 9:43 PM
#12
mdotse avatar

mdotse

New Zenner

Join Date:
Mar 2007
Posts:
15
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

to fix this problem make sure that the original file name does not have any spaces within the name or any "("")" then it will work. replace the spaces with underscores or something.

Some things have to be seen to be believed

3 Feb 2009, 11:46 PM
#13
earplugs avatar

earplugs

New Zenner

Join Date:
Jun 2007
Posts:
10
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

If any onlookers -
I've just had this problem and noticed that if my file character length is too long it produces this error.

Try reducing the file name length and also no spaces or invalid characters (as above) - seems to work ok for me now.

:bigups:

4 Feb 2009, 9:34 PM
#14
movefearlessly avatar

movefearlessly

New Zenner

Join Date:
Nov 2008
Posts:
4
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

we're having the same issue with our store - i've checked permissions, cleared the cache, advised re file naming. owner still gets this message when she tries to upload additional images. we're running v1.3.8, haven't had any issues until today. scratching my head - it doesn't happen when i upload, i already tried it. http:// digital designers den . com (help?)

28 May 2009, 7:28 PM
#15
ushanka avatar

ushanka

New Zenner

Join Date:
May 2008
Location:
New Zealand
Posts:
4
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

I had the same error message plus I ccould not see large images.
I did everything what was suggested above, nothing happend.
Finally, I made a new folder for regular images inside of the image forder and uploaded regular size images there (example: I have a category Hats. I have now 3 folders for this category - hats, medium and large).
It solved the problem.
Good luck.

21 Jul 2009, 11:13 AM
#16
diego_vieira avatar

diego_vieira

New Zenner

Join Date:
Nov 2008
Posts:
21
Plugin Contributions:
1

Re: Image Handler error: Unable to determine the page link!

My problem was the same so I try all that stuff, nada..
The issue was that the image was called "Calm & Collected" so the URL was "products_filter=3630&imgName=Calm&Collected_01&action=layout_info" guess what?
the problem was that the "&" was stripping the URL, so I just change a piece of code:
from

if ( $_GET['imgName'] == $tmp_image_name ) {
      // an image is selected, highlight it
      echo '<tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\''
        . zen_href_link(FILENAME_IMAGE_HANDLER, 'products_filter=' . $_GET['products_filter']
        . '&imgName=' .$tmp_image_name . '&action=layout_edit') . '\'">' . "\n";
        // set some details for later usage
      $selected_image_file = DIR_WS_CATALOG . $tmp_image_file_medium;
      $selected_image_file_large = DIR_WS_CATALOG . $tmp_image_file_large;
        $selected_image_link = $tmp_image_link;
        $selected_image_name = $tmp_image_name;
        $selected_image_suffix = preg_replace("/^".$products_image_base."/", '', $tmp_image_name);
        $selected_image_extension = $products_image_extension;
    } else {
      echo '<tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\''
         . zen_href_link(FILENAME_IMAGE_HANDLER, 'products_filter=' . $_GET['products_filter']
         . '&imgName=' . $tmp_image_name . '&action=layout_info') . '\'">' . "\n";
    }

to

if ( $_GET['imgName'] == $tmp_image_name ) {
      // an image is selected, highlight it
      echo '<tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\''
        . zen_href_link(FILENAME_IMAGE_HANDLER, 'products_filter=' . $_GET['products_filter']
        . '&imgName=' .urlencode($tmp_image_name) . '&action=layout_edit') . '\'">' . "\n";
        // set some details for later usage
      $selected_image_file = DIR_WS_CATALOG . $tmp_image_file_medium;
      $selected_image_file_large = DIR_WS_CATALOG . $tmp_image_file_large;
        $selected_image_link = $tmp_image_link;
        $selected_image_name = $tmp_image_name;
        $selected_image_suffix = preg_replace("/^".$products_image_base."/", '', $tmp_image_name);
        $selected_image_extension = $products_image_extension;
    } else {
      echo '<tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\''
         . zen_href_link(FILENAME_IMAGE_HANDLER, 'products_filter=' . $_GET['products_filter']
         . '&imgName=' . urlencode($tmp_image_name) . '&action=layout_info') . '\'">' . "\n";
    }

note the

urlencode($tmp_image_name)

that's it..

7 Oct 2009, 2:55 PM
#17
fredsjo avatar

fredsjo

New Zenner

Join Date:
Jun 2009
Posts:
29
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

foxfirediego:

My problem was the same so I try all that stuff, nada..
The issue was that the image was called "Calm & Collected" so the URL was "products_filter=3630&imgName=Calm&Collected_01&action=layout_info" guess what?
the problem was that the "&" was stripping the URL, so I just change a piece of code:
from

if ( $_GET['imgName'] == $tmp_image_name ) {
// an image is selected, highlight it
echo '<tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . zen_href_link(FILENAME_IMAGE_HANDLER, 'products_filter=' . $_GET['products_filter'] . '&imgName=' .$tmp_image_name . '&action=layout_edit') . '\'">' . "\n";
// set some details for later usage
$selected_image_file = DIR_WS_CATALOG . $tmp_image_file_medium;
$selected_image_file_large = DIR_WS_CATALOG . $tmp_image_file_large;
$selected_image_link = $tmp_image_link;
$selected_image_name = $tmp_image_name;
$selected_image_suffix = preg_replace("/^".$products_image_base."/", '', $tmp_image_name);
$selected_image_extension = $products_image_extension;
} else {
echo '<tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\'' . zen_href_link(FILENAME_IMAGE_HANDLER, 'products_filter=' . $_GET['products_filter'] . '&imgName=' . $tmp_image_name . '&action=layout_info') . '\'">' . "\n";
}

> 
> to
> ```php
if ( $_GET['imgName'] == $tmp_image_name ) {
      // an image is selected, highlight it
      echo '<tr id="defaultSelected" class="dataTableRowSelected" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\''
        . zen_href_link(FILENAME_IMAGE_HANDLER, 'products_filter=' . $_GET['products_filter']
        . '&imgName=' .urlencode($tmp_image_name) . '&action=layout_edit') . '\'">' . "\n";
        // set some details for later usage
      $selected_image_file = DIR_WS_CATALOG . $tmp_image_file_medium;
      $selected_image_file_large = DIR_WS_CATALOG . $tmp_image_file_large;
        $selected_image_link = $tmp_image_link;
        $selected_image_name = $tmp_image_name;
        $selected_image_suffix = preg_replace("/^".$products_image_base."/", '', $tmp_image_name);
        $selected_image_extension = $products_image_extension;
    } else {
      echo '<tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href=\''
         . zen_href_link(FILENAME_IMAGE_HANDLER, 'products_filter=' . $_GET['products_filter']
         . '&imgName=' . urlencode($tmp_image_name) . '&action=layout_info') . '\'">' . "\n";
    }

note the

urlencode($tmp_image_name)

> that's it..

I have tried everythign in this thread and nothing seems to help.

Image handler worked perfectly some days ago, and now its all messed up. Same happend a month ago, and it just suddenly repaired it self.. :shocking:

But now its back at this again:

Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')
8 Oct 2009, 9:16 PM
#18
ssltech avatar

ssltech

New Zenner

Join Date:
Oct 2009
Location:
Helena, MT
Posts:
6
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

I am having the same problem. I am brand new to using Image Handler, I got it installed no problem, got one additional image to load and now this is what I get when I try to add any additional images:
Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')
I have tried shortning my file names, and creating a new directory inside of images. Please Help!!:frusty:

27 Oct 2009, 5:47 PM
#19
mteipe avatar

mteipe

New Zenner

Join Date:
Apr 2009
Location:
Portland, Oregon
Posts:
29
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

:oops: We just had the same issue. It turns out there was an ampersand in the file names. Check for any special characters or spaces that might be in your image file names and remove them. :yes:

27 Oct 2009, 9:52 PM
#20
tyankee avatar

tyankee

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: Image Handler error: Unable to determine the page link!

i am having the same issue today and never had it before.. i've done everything posted here and change the file name 6 times to something very short and still doesn't work.. what gives??