Jump to content

Page List Image Label


Soma
 Share

Recommended Posts

  • 4 years later...

Hi,

for my personal websites with a lot of paintings, I installed your module and it is really helpful ?

Recently I'm getting this error in the backend from Tracy (check screenshot). I have a 3.0.184 multi language installation.

153:                    } elseif($v instanceof \ProcessWire\Pageimage && $v) {
154:                        $thumb_url = $v->getCrop($subfield);
155:                        $thumb_url = $v->pagefiles->url . $this->resizeThumb($v, $thumb_url, $size);
156:                    }
157:    
158:                } else { // all normal image fields
159:    
160:                    if($v instanceof \ProcessWire\Pageimages && count($v)) {
161:                        $thumb_url = $page->$field->first()->size($size[0],$size[1])->url;
162:                    } elseif($v instanceof \ProcessWire\Pageimage && $v) {
163:                        $thumb_url = $page->$field->size($size[0],$size[1])->url;
164:                    }
165:    
166:                }

Bildschirmfoto 2021-12-09 um 13.03.18.jpg

 

After skipping the error message, I'm getting an javascript error when I click on a > in the page tree (like »Liguria«).

Bildschirmfoto 2021-12-09 um 12.53.15.jpg

 

Link to comment
Share on other sites

4 hours ago, neophron said:

Hi,

for my personal websites with a lot of paintings, I installed your module and it is really helpful ?

Recently I'm getting this error in the backend from Tracy (check screenshot). I have a 3.0.184 multi language installation.

153:                    } elseif($v instanceof \ProcessWire\Pageimage && $v) {
154:                        $thumb_url = $v->getCrop($subfield);
155:                        $thumb_url = $v->pagefiles->url . $this->resizeThumb($v, $thumb_url, $size);
156:                    }
157:    
158:                } else { // all normal image fields
159:    
160:                    if($v instanceof \ProcessWire\Pageimages && count($v)) {
161:                        $thumb_url = $page->$field->first()->size($size[0],$size[1])->url;
162:                    } elseif($v instanceof \ProcessWire\Pageimage && $v) {
163:                        $thumb_url = $page->$field->size($size[0],$size[1])->url;
164:                    }
165:    
166:                }

After skipping the error message, I'm getting an javascript error when I click on a > in the page tree (like »Liguria«).

 

 

Ok, I solved this problem by deinstalling and installing it again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...